Running VNC on Fedora Core2
Really just a note to myself as plenty of documentation exist out there for this...
1. Install VNC, it's included in Fedora Core 2 and later (Core 1 too?)
2. See if the service is set to start up automatically:
chkconfig --list | grep vnc
Look for ON in runlevel 3 and 5.
If it's not on, do chkconfig --level 35 vncserver (must be root).
3. As the user, type vncpasswd and assign a password for your session.
4. In order to get the full blown desktop (vs the grey screen with terminal window only) edit the file in your home drive ~/.vnc/xstartup:
Uncomment the following 2 lines:
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
Personally I use Gnome, but this setup should be the same for KDE.
5. As root, edit /etc/sysconfig/vncservers and add the line:
VNCSERVERS="1:your_user_name"
6. If you're running a firewall you'll need to open ports 5900 + your session number. Don't expose VNC to the Internet, use SSH instead.
Verify current firewall settings: iptables -L
Resources:
http://www.linode.com/forums/archive/o_t/t_1174/question_about_remote_desktop.html
http://www.fedoraforum.org/forum/showthread.php?t=28261&page=1&pp=15

Linux remote access through VNC over SSH »
Search