How to install VNC under SUSELinux

Source: Internet
Author: User
Article Title: how to install VNC under SUSELinux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source and some other basic classification I. Download The vnc-4_1_2-x86_linux.tar.gz and windows Client
 
Http://www.realvnc.com/products/free/4.1/download.html
 
Ii. Installation
 
1. cd/root/
 
2. tar-zxvf vnc-4_1_2-x86_linux.tar.gz
 
3. cd vnc-4_1_2-x86_linux
 
4../vncinstall/usr/local/vnc
 
5../vncinstall/usr/local/bin/usr/local/man
 
6. mkdir-p/usr/local/vnc/classes
 
7. cp java/*/usr/local/vnc/classes
 
8. After the program is run on the./vncserver, you will be prompted to enter the password. Then, a password will be automatically created in the root directory (if it is not root, it will be in the home directory of the current user name. The Hidden directory of vnc.
 
9. cd/root/. vnc
 
10. vi xstartup
 
The original content is as follows:
 
#! /Bin/sh
 
[-R $ HOME/. Xresources] & xrdb $ HOME/. Xresources
 
Xsetroot-solid gray
 
Vncconfig-iconic &
 
Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
 
Twm &
 
The modified content is as follows:
 
#! /Bin/sh
 
[-R $ HOME/. Xresources] & xrdb $ HOME/. Xresources
 
Xsetroot-solid gray
 
Vncconfig-iconic &
 
Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
 
# Twm &
 
Gnome-session &
 
11. Set the access password
 
/Usr/local/vnc/vncpasswd
 
12. Start vncserver
 
Cd/usr/local/vnc #./vncserver
 
#./Vncserver
 
New 'machinename: 2 (root) 'desktop is machineName: 2
 
Starting applications specified in/root/. vnc/xstartup
 
Log file is/root/. vnc/machineName: 2.log
 
13. Use a windows client to connect
 
192.168.1.92: 2
 
Enter the password to view the page.
 
14. There are correct log and pid files under the/root/. vnc/directory, such as machineName: 1. pid and machineName: 1.log
 
The pid with files is an active service, and the service number is the number before the pid. Services that do not have a pid file are stopped.
 
You can use vncserver: number to start the stopped service.
 
You can use vncserver-kill to stop the service.
 
Related Article

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.