Remote Desktop configuration for Linux

Source: Internet
Author: User

I. Remote Desktop for Ubuntu

Ubuntu has the VNC server component Vino-server installed by default, just set it up in desktop sharing, preferences, system settings.

1. Set Desktop Sharing preferences

2. After setting up, you can view the VNC service process initiated.

[email protected]:~$ sudo netstat-altunp | grep 590
TCP 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 4652/vino-server
TCP6 0 0::: 5900:::* LISTEN 4652/vino-server

Ii. Remote Desktop for CentOS

The Remote Desktop configuration for CentOS is slightly more complex than Ubuntu and requires the VNC server software to be installed on the default task, such as: Tigervnc-server. The installation and configuration steps are as follows:

1. Mount the installation CD as a software source

#vim/etc/yum.repos.d/centos-media.repo #yum--disablerepo=\*--enablerepo=c6-media Update

2. Installing the VNC server

#yum--disablerepo=\*--enablerepo=c6-media Install Tigervnc-server Tigervnc

3. Edit the VNC server configuration file

#vim/etc/sysconfig/vncservers//configured as follows

vncservers= "1:CB"//Service Listening port: 5900+1, User: CB
vncserverargs[2]= "-geometry 1024x768-nolisten tcp-localhost"//Resolution 1024x768, do not use a TCP connection

4. Set the VNC client login password

[Email protected]:~$ vncpasswd
Password: * * * *
Verify: * * * *

5. VNC service Start/restart/shutdown/view status

#/etc/init.d/vncserver Start/restart/stop/status

6. Configure Startup VNC Service

# chkconfig Vncserver--level 345 on

7. VNC Client Connection Remote Desktop 1) Ubuntu Linux

For Ubuntu, just use the Internet->remmina Remote Desktop client to connect to the CentOS desktop, set up as follows:

2) Windows

With Vncviewer and other VNC client software can be (slightly).

Note: The above tests were passed under CentOS 6.7 and Ubuntu 14.04.

=-=-=-=-=
Powered by Blogilo

Remote Desktop configuration for Linux

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.