Linux - Fedora 11 - Set up VNC Server + Default Window Manager (Gnome)
Server side - Installing
shell> yum install vnc vnc-server -y
Server side - Setting
shell> vi /etc/sysconfig/vncservers
Add the following lines:
VNCSERVERS="1:USERNAME_TO_CONNECT"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"
shell> su USERNAME_TO_CONNECT
shell> vncpasswd
Setting gnome as Window Manager
shell> vi .vnc/xstartup
Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
Restarting services
shell> su -
shell> service vncserver restart
shell> chkconfig --level 345 vncserver on
Client side - Connecting to VNC Server
shell> vncviewer SERVER_IP:1
p.s: Set up your firewall (iptables) between server and client before any connection.
FullScreen
Press F8 -> FullScreen
