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.