Today, we will give you a tutorial on how to perform Remote Desktop Management on ubuntu in windows, hoping to help you manage ubuntu in windows. I. Overview:
First, let's take a look at the software currently used for remote desktop and the protocols used.
The Remote Desktop Connection component communicates with each other based on the Remote Desktop Protocol (RDP. Remote Desktop Protocol (RDP) is a multi-channel Protocol that allows users (clients or local computers ") connect the computer that provides the Microsoft Terminal Service (the server or remote computer "). Most Windows systems have the software required by the client. Other operating systems also have these client software, such as Linux, FreeBSD, and Mac OS X. For the server computer, listen to the data sent to the TCP3389 port. [1]
VNC (Virtual Network Computing) is a super thin customer System Based on the RFB (Remote Frame Buffer) protocol, designed and developed by Cambridge's AT&T lab. The default vnc ports are main: 5900 (C/S) and http: 5800 (B/S. VNC (Virtual Network Computer) is short for Virtual Network Computer. VNC is an excellent remote control tool software developed by the famous AT&T European research laboratory. Many well-known remote desktop software cities are modified and packaged Based on the vnc software, such as Teamviewer, XT800, and KDT. [2]
Through the above description, we already know that we are using the RDP-based viewer on the window. To use the remote desktop of the window, we need to run an rdp-based server on Ubuntu. The problem is to install an rdp-based server on Ubuntu. The XRDP server can provide such services. So you only need to install an xrdp.
Ii. Installation Process
1. Install xrdp and vnc4server
Sudo apt-get install xrdp
Sudo apt-get install vnc4server
Tightvncserver is not installed in ubuntu14.04, if it is connected to ubuntu12.04. Yes
Sudo apt-get install tightvncserver
2. Install xfce4 Desktop
Sudo apt-get install xubuntu-desktop
Echo xfce4-session <~ /. Xsession
Sudo service xrdp restart
3. Connection Configuration
After all the above are installed, go to "preference-Remote Desktop" (or go to the/usr/share/applications/directory and click "Remote Desktop") and set it to Allow Remote Desktop, allow control, and so on.
4. window connection operations
Open "Remote Desktop Connection" and fill in the Ubuntu IP address you want to connect to in the "computer" column. In Ubuntu, you can use "ifconfig" to obtain the overview of the local network connection, including the IP address.
Enter the correct IP address and press Enter. A login box is displayed. Select "sesman-Xvnc" and enter your Ubuntu user name and password. This step is not OK yet!
5. keyboard chaos
This remote connection to Ubuntu found that the tab key on the keyboard was faulty, and many key combinations were also faulty. The source of this problem is a combination of shortcut keys in xface. Open the administrative keyboard shortcut (Setting Editor-> xface4-keyboard-shortcuts) on Ubuntu and find a combination shortcut for super + tab to cancel the corresponding functionality.
Note:
1. If the remote connection fails, run sudo reboot on the terminal to restart the system.
2. As for why xface is used, because in Ubuntu 14.04, xface can only be connected. If it is another window manager, it will fail. According to Google's results, the encryption method does not match. Use Dconf-editor to adjust the solution and access the following configuration path: org> gnome> desktop> remote-access, deselect the requlre-encryption attribute. [3]
References:
[1] Remote Desktop Protocol http://baike.baidu.com/view/9046358.htm? Fr = aladdin
[2] vnc Baidu encyclopedia http://baike.baidu.com/view/160932.htm? Fr = aladdin
[3] Graphic setting tutorial for Windows Remote Desktop Connection to ubuntu 14.04
[4] Windows 7 Remote Desktop Connection to ubuntu 14.04 Desktop