windows manager problem
"Beerse, Corné"
c.beerse@torex-hiscom.nl
Thu Jan 9 09:13:00 2003
> -----Original Message-----
> From: Technology Listserves [mailto:techlists@execinc.com]
>
> I appreciate your assistance. With regards to the last log
> file, I was trying to use KDE. I would rather have Gnome.
> So, for this xstartup file:
>
> #!/bin/sh
> xrdb $HOME/.Xresources
> xsetroot -solid grey
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> gnome-session &
The lines that start with an x can be removed (they just start other stuff
you don't need if you start gnome).
>
> I get this log:
>
> 08/01/03 13:27:09 Xvnc version 3.3.6 - built Dec 2 2002 10:54:00
> 08/01/03 13:27:09 Copyright (C) 2002 RealVNC Ltd.
> 08/01/03 13:27:09 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
> 08/01/03 13:27:09 All Rights Reserved.
> 08/01/03 13:27:09 See http://www.realvnc.com for information on VNC
> 08/01/03 13:27:09 Desktop name 'X' (EDILXPS01:2)
> 08/01/03 13:27:09 Protocol version supported 3.3
> 08/01/03 13:27:09 Listening for VNC connections on TCP port 5902
> 08/01/03 13:27:09 Listening for HTTP connections on TCP port 5802
> 08/01/03 13:27:09 URL http://EDILXPS01:5802
> gnome-session: you're already running a session manager
You are inside a gnome sesision and start vncserver which tries to start an
other gnome session. Gnome cannot run inside gnome. You can avoid that with
one fo the next ways:
setup as on http://www.sourcecodecorner.com/articles/vnc/linux.asp (my
favorite)
login without gnome. Looks funny but try one of the next: `rsh localhost
vncserver` or `rlogin localhost` `telnet localhost` and start vncserver at
that prompt.
REmove all gnome settings before starting gnome: In the xstartup script,
unset all gnome environment variables.