Re: dogtail Accessing a ui running as root?



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

--

Thanks,
- Swapna
(978)392-3958



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]