On Fri, 14 Sep 2007 16:04:53 +0800 "Michael Yang" <[EMAIL PROTECTED]> wrote:
> I meant not to add the gnome-session at the end of the xstartup > script. In Fedora, the script I used was a little different: > > #!/bin/sh > # Uncomment the following two lines for normal desktop: > unset SESSION_MANAGER > exec /etc/X11/xinit/xinitrc > [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup > [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources > xsetroot -solid grey > vncconfig -iconic & > xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & > twm & > > The first two lines are uncommented and the last line was replaced by > twm instead of gnome-session. > If I didn't put the gnome-session at the end of the script, only the X > Server is started, but no desktop available in VNC. > > What should I do in Debian to have the desktop in VNC session? > Do I have to install the other window managers? > > Thanks. Is the file /etc/X11/xinit/xinitrc executable? If not, change the line exec /etc/X11/xinit/xinitrc to exec sh /etc/X11/xinit/xinitrc -- Liam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]