Let me star off by saying I do not have a clue what I might have done following so many different explanations on how to get this working.
My goal is to allow me to login using "TightVNC" on windows to my Fedora 11 machine. I actually had this working just fine the first time I installed Fedora 11 but after the third yum update I was no longer able to boot the system, so started over.
My problem now is that I must start the VNC server on the machine to get it to work rather than letting it activate during boot.
In the GUI services panel I am not able to "Enable" the service. It just stays red "disabled"
I am not sure what I have done to the system because I followed several different install guides which use different ways I guess to start this service. It fairly well matches what I did the original time I had this working.
The set up works just fine on Fedora 9.
I have edited or added the following files:
/etc/gdm/custom.conf
# GDM configuration storage
[xdmcp]
Enable=true
[chooser]
[security]
DisallowTCP=false
[debug]
/etc/xinetd.d/vnc-server
service vnc-server
{
disable = no
socket_type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none
}
/etc/sysconfig/vncservers
VNCSERVERS="1:root 2:tringate"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 16"
/root/.vnc/xstartup (No modifications made to this file)
#!/bin/sh
vncconfig -iconic &
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
If I log in as root and issue the following command, I am able to use VNC just like I want to.
service vncserver start
The odd thing is on my original Fedora 11 system this server did start at boot which is apparently my only problem.
How do I find my bug on why I can't "enable" this service?
Oh yes, in the process of trying to fix this I have erased vino as one guide says to do, and installed a couple of other modules for tigerVNC as the guide directed. That guide is here on this forum. It made no difference at all at getting the service to automatically start at boot.
Once I start the server, I am able to login from windows perfectly just like I do on my Fedora 9 system.
Tom