I have TigerVNC installed on Fedora 14 and when I boot up I get the following message in the log file in the ~/.vnc directory :
Tue Nov 30 21:29:00 2010
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: Listening for HTTP connections on all interface(s), port 5801
vncext: created VNC server for screen 0
sh: /home/gary/.vnc/xstartup: /bash/sh: bad interpreter: No such file or directory
my xstartup permissions look like this :
-rwx------. 1 gary gary 367 Dec 1 10:28 .vnc/xstartup
my xstatup file looks like this :
# Run any global xstartup file for the system
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
# Run any .Xresources file for the user account
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
# Start the vncconfig helper
# This allows clipboard transfers and control of the desktop
vncconfig -iconic &
# Start a GNOME desktop
exec gnome-session &
The interesting thing is that if I run TigerVNC Viewer I actually get accesses to the TigerVNC server.
Does anyone know what is wrong with this setup?