Setup Vncserver on Fedora6


1. configure firewall, add tcp ports 5900:5905

2. vi /etc/sysconfig/vncservers, uncomment the following 2 lines

VNCSERVERS=
VNCSERVERARGS[2]=

3. under the user mode (not root), run "vncserver", this will generate ".nvc" in the home directory. Revise the file "xstartup", and uncomment the following 2 lines

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

4. kill the vncserver by "vncserver -kill :1" and restart it. It would be OK now. Maybe you need to kill the vnc service during the configuration by "killall Xvnc".

http://fedorasolved.org/network-solutions/vncserver-setup/

Leave a comment