You need to put a command into ~/.vnc/xstartup to start your window
manager. Since you're not actually running X, you have to tell Xvnc
what to do when it starts. X has a default file that it executes
when starting (/usr/X11R6/lib/X11/xinit/xinitrc on my system), but
Xvnc does not. Then again, typically users have their own
~/.xinitrc.
In this case, you probably want something that looks like this:
#!/bin/sh
xrdb $HOME/.Xresources
gnome-session &
Does anyone know what would happen if ~/.vnc/xstartup is just a soft
link to ~/.xinitrc?
--- Lisa Beasley <[EMAIL PROTECTED]> wrote:
> I have some experience with a Linux server at home, but very little
> with
> Xwindows. I have Redhat 6.1 with Gnome and KDE window mgrs
> installed. I
> start vncserver on the Linux box then try to connect using a
> windows 98
> machine. Viewer connects fine and shows "Root's desktop",
> sometimes there
> is an xterm window, sometimes not, the mouse is working and left
> clicking
> brings up a quick menu. The FAQs indicate Xserver is using FVM or
> FWM
> (spelling??) by default but I don't think my server is using that.
> What
> command(s) do I put in the VNC startup script to load the Gnome or
> KDE
> desktop? When I have an xterm window, and I type "startx", the
> Xdesktop
> loads on the server and not my win98 connection. What do I need to
> do to
> fix this? Why does ROOT's desktop load and not my personal one.
>
> Thanks, Lisa Beasley
>
---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
>
---------------------------------------------------------------------
=====
Mark S. P. Humphrey [EMAIL PROTECTED]
http://profiles.yahoo.com/mshumphr
JID: [EMAIL PROTECTED]
GPG Public Key A54BC06F, available on www.keyserver.net
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------