Re: dogtail Accessing a ui running as root?
- From: Bryan Kearney <bkearney redhat com>
- To: Swapna <skrishna redhat com>
- Cc: dogtail-list gnome org
- Subject: Re: dogtail Accessing a ui running as root?
- Date: Tue, 12 Jul 2011 12:13:48 -0400
Thanks.. but no dice. If I run the app as root I can not see it in sniff.
-- bk
On 07/12/2011 12:11 PM, Swapna wrote:
Try without sudo. dogtail run as root doesn't work so well.
- Swapna
On 07/12/2011 12:00 PM, Bryan Kearney wrote:
I am on Fedora 14. I have a python GTK app which I need to run as
root. I do so from the command line after a sudo from the terminal.
Running sniff as my personal user does not see this app. Running sniff
as root throws an error (see below) I am assuming because I am not
running my desktop as root. Is there a way to configure things so I do
not need to log in as root?
Thanks!
-- bk
[bkearney@bkearney Desktop]$ sudo sniff
** (sniff:6723): WARNING **: AT-SPI: Accessibility bus not found -
Using session bus.
Error: AT-SPI's desktop is not visible. Do you have accessibility
enabled?
Traceback (most recent call last):
File "/usr/bin/sniff", line 19, in <module>
from dogtail import tree
File "/usr/lib/python2.7/site-packages/dogtail/tree.py", line 1132, in
<module>
children = root.children
NameError: name 'root' is not defined
[bkearney@bkearney Desktop]$
_______________________________________________
dogtail-list mailing list
dogtail-list gnome org
http://mail.gnome.org/mailman/listinfo/dogtail-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]