Comment 18 for bug 30291

Revision history for this message
rl27 (rl27) wrote :

My Firestarter was automatically started. My problem started when i edited my /etc/sudoers to stay more secure.
I added this line: user_name ALL=(ALL) NOPASSWD: /usr/sbin/firestarter --start-hidden
:( In the next boot, the surprise! Where's firestarter?!? Heeelp!!! :)
Searching in the web i was "discovered" that the problem is that i can't run graphic apps as root, 'cause X don't give me the permissions.
So, i found this: "Type in console: xhost local:root"
Oh! It's resolved!!! :) But on the next boot... :(
The solution doesn't persist. My Firestarter is inited by "firestarter.desktop" placed in /home/user_name/.kde/.Autostart. Ok, I know. This isn't gnome! I explain. This file just is the icon that init firestarter automatically. It have an Exec option that contains the command used. The command is: "sudo /usr/sbin/firestarter --start-hidden"
So, the idea is turn the "xhost solution" persistent!
In my case, on the Exec option of the firestarter.desktop I've typed: "xhost local:root; sudo /usr/sbin/firestarter --start-hidden"
It's worked fine!!! The two commands are executed and i'm happy again! :)
Try to apply this solution in "gnome's style". I hope have helped.