On Saturday 24 August 2002 11:33 pm, Art Fore wrote:
I have one computer with vncserver running on display1 and the other with vncviewer. When I connect, all I get is a blank screen, similar to the display just before the logon dialog box for KDE comes up. How can I get any further? Searched the documentation on the VNC website, but nothing there about this.
Art
Hello Art, Have you started a window manager in the VNC session? I suspect that you have not. The window manager gets started when you start the VNC server. The commands to start the window manager are contained in the ~/.vnc/xstartup file. Keep in mind that on Linux, you'll now have two window managers running, one in display :0 and another in display :1. They need not be the same window manager. Here is a a copy of my ~/.vnc/xstartup file. Note that besides starting a window manager, it starts an xterm and sets the background to a solid grey color. One may customize this file as desired. Later, Andy === start === #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # # The user might set these outside of this script. # # VNCWM is the desired window manager to run. # # DEFAULT_VNC_WM is the default to execute if the desired one is unavailable. # if [ -z "$VNCWM" ]; then VNCWM="blackbox" fi if [ -z "$DEFAULT_VNC_WM" ]; then DEFAULT_VNC_WM="/usr/X11R6/bin/blackbox" fi # # Pick a window manager to run. # if [ "$VNCWM" = "icewm" ]; then /usr/X11R6/bin/icewm & elif [ "$VNCWM" = "twm" ]; then /usr/X11R6/bin/twm & elif [ "$VNCWM" = "fvwm2" ]; then /usr/X11R6/bin/fvwm2 & elif [ "$VNCWM" = "fvwm95" ]; then /usr/X11R6/bin/fvwm95 & elif [ "$VNCWM" = "gnome" ]; then /usr/X11R6/bin/gnome & elif [ "$VNCWM" = "xfwm" ]; then /usr/X11R6/bin/xfwm & elif [ "$VNCWM" = "xfce" ]; then /usr/X11R6/bin/xfce & elif [ "$VNCWM" = "blackbox" ]; then /usr/X11R6/bin/blackbox & else $DEFAULT_VNC_WM & fi === finish === -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA USA http://www.wlug.org