Install VNC in Linux

Source: Internet
Author: User

Step 1 install vncserver on Linux
# Gzip-D vnc_linux.tar.gz

# Tar-xvf vnc_linux.tar

Enter the Directory

# Cd vnc-3.3.7-x86_linux/
Cp * VNC */usr/local/bin/
Create a VNC directory without the VNC directory
Mkdir/usr/local/VNC
CP-r classes // usr/local/VNC/
2. Set the VNC server access password
# Vncpasswd
3. Improve VNC Server in Linux. First, run vncserver
Change TWM $ in/root/. VNC/xstartup to gnome-session &
4. Start vncserver
# Vncserver
Note that new 'X' desktop is kill: 1. Remember that 1 is the port used by the client.

You can run the Command Service vncserver status to view the status of VNC. If it is running, the configuration is successful.

Enter the IP Address: 1 in vncviewer, for example, 192.168.12.14: 1.

If the configuration fails. View the log file under/root/. VNC.

If the error is:

Couldn't open rgb_db '/usr/x11r6/lib/X11/RGB'

Run:

Mkdir/usr/x11r6/lib
CD/usr/x11r6/lib
Ln-S/usr/share/X11 X11

 

If:

Xvnc: Error while loading shared libraries: libstdc ++-libc6.1-1. so.2: cannot open shared object file: no such file or directory

Run:

CD/usr/lib

Ln-s libstdc ++-3-libc6.2-2.10.0.so libstdc ++-libc6.1-1. so.2

 

After an error occurs, restart the service with service vncserver restart.

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.