How to use sudo and a graphical program?

Space Cake spacecakex at gmail.com
Wed May 2 14:02:54 UTC 2012


try gksudo a kdesudo depending of your desktop environment

L:


On 2012. máj.  2., szerda, 16.00.19 CEST, Kevin O'Gorman wrote:
> I guess I don't understand access permissions to my display.
>
> If I become root via "sudo su -", I cannot use gedit or gvim because
> they are unable to open the display.
>
> If I start them as "sudo gedit somefile" it works, but when I'm doing
> serious admin work, I consider this tedious.
>
> I'm not complaining so much as wanting to understand.  Any clues?
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4918 bytes
Desc: S/MIME kriptográfiai aláírás
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120502/51670eed/attachment.bin>


More information about the ubuntu-users mailing list