VNC Desktop is ugly, not good-looking, ugly, strange desktop, how to do.
is actually
Detailed reference:
http://stevejenkins.com/blog/2010/03/set-up-vnc-from-windows-to-fedora-12-over-the-internet/
http://stevejenkins.com/blog/2010/08/set-up-vnc-on-rhel-5-5-centos-5-5/
1. Installing Vncserver
Yum Install Vnc-server
2. Configuring the VNC Desktop
/home/username/.vnc/xstartup file, need to uncomment, and lines near the top of the file so it reads:
# Uncomment the following-lines for normal desktop:
Unset Session_manager
Exec/etc/x11/xinit/xinitrc
After uncommenting those-lines, go to the bottom of the file and comment out the TWM & line, then add a line that Tells VNC to start GNOME desktop. The last of the lines should read:
# TWM &
StartX &
Or
Gnome-session &
Of course, the penultimate line can also be changed to the Startkde & mentioned in the first paragraph of the article, which means to start the KDE desktop system.
3. Restart VNC
Vncserver-kill:1
Vncserver:1
4. Note that if GNOME is not installed, use: Yum install Gnome-desktop
5.
Existing configuration file: Xstartup; Note You need to start vncserver with the appropriate user
[-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 &
#startx &
Gnome-session &