chkconfig vncserver on
service vncserver start
* Edit /etc/sysconfig/vncservers and change the following lines: # VNCSERVERS="2:username" # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"to reflect as follows (username is your linux user) below: VNCSERVERS="2:amahiusername"
VNCSERVERARGS[2]="-geometry 1024x768 -nolisten tcp -localhost"
* Edit /home/username/.vnc/xstartup and make the end of the file to look as follows:
# twm &
startx &