CentOS 6.8 Installation Tigervnc implement Linux Remote Desktop

Source: Internet
Author: User

CentOS 6.8 has the default installation of VNC located on port 5900:

System, preferences, Remote Desktop

Tick the [share] option, uncheck the [Security] option, and then add port 5900 to the firewall.

Basic can be used, using the VNC viewer directly enter the service IP address can be connected to the

But always appear click to double click, copy and paste files that cannot share the clipboard,

It's also full of troubles!!!!

And then he TigerVNC the installation.

1. Installing Tigervnc-server

Yum Install Tigervnc-server

2. Configure the display resolution, products and users, edit the configuration:

Vim/etc/sysconfig/vncservers

vncservers= "2:root"vncserverargs[2]= "-geometry 1024x768-nolisten TCP"

Here directly refer to the last two lines of the configuration file is written, the first line of the user name I directly write the root (System account, if there is no need to add an account to Linux), the second line to remove the -localhost .

3. Configure the VNC desktop environment and password

Configure the user name to log on to Linux, and then start Vncserver, then vncserver load the corresponding user's local path and environment information, so that the user's VNC authentication, log and other storage to the appropriate path.
Command line execution:
$ vncserver
The first time you will be prompted to set a password, follow the prompts to enter a good password.

The. VNC directory and several files are automatically generated in the current user directory.

4. Start/stop VNC Server Service

Log on as an administrator and stop the service first

Service Vncserver Stop    #停止服务service vncserver start    #启动服务

5. Configure Firewall ports

The default port is: 5902 Add to Firewall

Then use the Vncviewer connection, fill in the Address bar:

ip:5902

Can connect

PS: However, the problem of clicking on the double-click is resolved, but the Clipboard is still only Windows to Linux and Linux is not available to Windows,fuck. What are you doing?

CentOS 6.8 Installation Tigervnc implement Linux Remote Desktop

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.