[ubuntu-za] Superuser
Hannes Coetzee
scorpking at scorpking.za.org
Fri Mar 5 12:34:19 GMT 2010
On 05/03/2010 14:15, Darrel wrote:
> ---SNIP--
>
>>>
>>> Thanks for the advice you have given me, I did however run into a small
>>> glitch:
>>>
>>> darrel at point:~$ sudo su -
>>> [sudo] password for darrel:
>>> root at point:~# sudo nautilus --no-desktop
>>> Could not parse arguments: Cannot open display:
>>> root at point:~#
>>>
>>> Darrel
>>>
>>>
>>>
>>>
>>>
>> Always use gksudo in Gnome and kdesude in KDE and sudo for any non
>> GUI/cli programs.
>>
>>
> Hi Hannes, I must thank you for tasksel, what a surprise seeing all the
> nice goodies available!
>
> I think there could be some config. setting on my system which needs
> tweeking:
>
> root at point:~# gksudo nautilus --no-desktop
>
> (gksudo:3520): Gtk-WARNING **: cannot open display:
> root at point:~#
>
>
> Any way there is no urgency on my part to get this working.
>
> Darrel
>
>
>
>
That error is usually because you try to run GUI apps as root without
gksudo. Does this work? -->
darrel at point:~$ gksudo nautilus --no-desktop
Don't run sudo su first. It will cancel out gksudo. I'm sure there's a
technical explanation on google somewhere.
More information about the ubuntu-za
mailing list