#--service vncserver Start
When you open the Vncserver connection, you will find a gray screen with three check boxes above: Accept clipboard from viewers; Send clipboard to viewers; Sendprimary selection to viewers. Gnome's desktop is not shown.
In fact, this requires tweaking the Xstartup script,
VI [/root/].vnc/xstartup
What you see is
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset Session_manager
# EXEC/ETC/X11/XINIT/XINITRC
[-x/etc/vnc/xstartup] && Exec/etc/vnc/xstartup
[-R $HOME/. Xresources] && Xrdb $HOME/. Xresources
Xsetroot-solid Grey
Vncconfig-iconic &
Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
TWM &
Modify the following 3 lines:
# unset Session_manager
# EXEC/ETC/X11/XINIT/XINITRC
Remove the previous annotation character ' # ' and change to
Unset Session_manager
Exec/etc/x11/xinit/xinitrc
Comment out the last line and add the following:
TWM &
Amended to
#twm &
Gnome-session &
The Final Document content is:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
Unset Session_manager
Exec/etc/x11/xinit/xinitrc
[-x/etc/vnc/xstartup] && Exec/etc/vnc/xstartup
[-R $HOME/. Xresources] && Xrdb $HOME/. Xresources
Xsetroot-solid Grey
Vncconfig-iconic &
Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
#twm &
Gnome-session &
Then reboot the VNC server.
Service Vncserver Restart
#---Finally don't forget to set up boot up VNC Server
#--chkconfig Vncserver on
Original from zero technology: http://www.ldisp.com/a/server-manage/2013/1495.shtml
Vnc:virtual Network Computing is an abbreviation for virtual network computers. VNC is an excellent remote control tool software developed by the renowned at&t European Research Laboratory. VNC is a free open source software based on UNIX and Linux operating systems that is powerful and efficient in remote control.