sudo with problems
Wed Apr 23 23:38:01 2003
Uwe Dippel said:
> --- William Hooper <firstname.lastname@example.org> wrote:
>> > GnomeUI-WARNING **: While connecting to session manager:
>> > Authentication Rejected, reason : None of the authentication
>> > specified are supported and host-based authentication failed.
>> So this one works correctly (in that you get the gnome desktop you
> Yes. To my surprise. No delay, no message. The screen identical to what
> I have locally.
>> > While the su (# su - myuser -c "vncserver :1") has:
>> Is this log still ending up in /root/.vnc?
> No, it ends in /home/myuser/.vnc
Ok, that is getting better.
>> Not sure what part of the startup would be causing this. Have you
>> your ~/.vnc/xstartup ?
> exec /etc/X11/xinit/xinitrc
That is all? Gnome is known to have issues running more than one session
as a user (see below). After trying what I suggest below, try making your
>> Well, root is special in more than one way. Have you actually tried
>> logging in as myuser and starting VNC? Does that work?
> Of course. Works great !
>> Are you by chance
>> logged into X on the console as root?
> Sorry, no understand. How would I start it if I wasn't ? Ah, you mean
> X. No, my Gnome-session is run as myuser and has an xterm open with su
> to root.
Ok, try this. Close your VNC servers, log out of your local X (going back
to the login screen), then go to another console (ctrl-alt-F1), log in,
then try to start the vncserver. This will make sure there are no
multi-session GNOME issues.