Installation and configuration of Fedora_14 VNC-SERVER

Source: Internet
Author: User
Tags server installation and configuration


Fedora_14 VNC-SERVER installation and configuration 1. Check whether vnc and vnc-server rpm-qa | grep vnc are installed as follows:

Because no vnc-server is found, vnc-server is not installed. Perform Step 1. Otherwise, perform step 2. 2. install the software package of vnc-server. The reason why sudo yum install vnc-server/sudo yum install tigervnc-server installation package does not affect much, as long as one of them can be installed. After the installation is complete, go to step 2. 3. modify the configuration file vim/etc/sysconfig/vncservers to remove the comments from the last two lines and add the root user www.2cto.com

In the VNCSERVERS line, if there are multiple users, add "serial number: User Name" in sequence, and separate them with spaces. The following VNCSERVERARGS [*] sets each user. 4. Start and close the startup command: vncserver: 1/: 2 ......, The number indicates the vncserver of the users to be started. Disable the command: vncserver-kill: 1/: 2 ......, The number indicates the number of users whose vncserver is to be disabled. If this is the first time you start the instance, you will be prompted to enter the password. And some prompts will be printed. Root User:

Other users: (using xm as an example)
5. Prepare for the first connection of the Client: Disable the server firewall or configure iptables to allow port access before the connection. If iptables is configured, run the following command: sudo/sbin/iptables-I INPUT 1-p TCP -- dport 5901: 5910-j ACCEPT to open ports 5901 to 5910 connected to vnc, otherwise, you cannot connect to the vncserver. Www.2cto.com uses vncviewer in windows to access our remote desktop.

The ip address is the ip address of the host running on the vncserver. ":" The following port number is "5900 + desktop number", and the desktop number is the serial number of the user corresponding to the connection. For example, for the "1: root" User configured here, the desktop number is 1, so the port number is 5901. Other users and so on. Click OK. A prompt is displayed, indicating that the password is set by the user corresponding to the desktop number.
6. Restart the service. Generally, You need to restart the service to make the configuration file take effect after modifying the configuration file. Sudo service vncserver restart/sudo/etc/init. d/vncserver restart Done ~! Author: DBMZ

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.