SOLVED! - Re: sudo a graphical app? still not working - SOLVED!

kellyremo kellyremo at zoho.com
Tue Feb 8 14:48:29 UTC 2011


Question:

THE SOLUTION:
$ xhost local:transmission-user
$ sudo -u transmission-user -- /usr/bin/transmission-gtk


YUPIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!! :)


---- On Tue, 08 Feb 2011 06:25:39 -0800 kellyremo <kellyremo at zoho.com> wrote ---- 

Fedora 14:

i cleared all the firewall rules, then:

visudo:
Defaults    env_keep += "DISPLAY XAUTHORITY"
MYTRUEUSER  ALL=(transmission-user) NOPASSWD: /usr/bin/transmission-gtk


$ sudo -u transmission-user -- /usr/bin/transmission-gtk
No protocol specified
Cannot open display: 
$ 

if i ps | grep transmission, i can see it's running.
how could i see the transmission's GUI? 

i tried:
xhost +127.0.0.1

but it doesn't work, error message is the same.

-- 
users mailing list 
users at lists.fedoraproject.org 
To unsubscribe or change subscription options: 
https://admin.fedoraproject.org/mailman/listinfo/users 
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110208/b47aa805/attachment.html 


More information about the users mailing list