Redhat RHEL 5.5 VNC installation configuration

Source: Internet
Author: User

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 &



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.