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