When it comes to remote desktop connection to Linux, people may first think of using VNC. When it comes to remote desktop to Windows, people may first think of using the remote desktop that comes with Windows. So is there any way to remotely access Windows from Linux, and remotely access Linux from Windows? Today, let’s discuss the remote communication between Linux and Windows. Taking CentOS6.6 as an example, the steps are as follows: Connect to Linux using Windows Remote Desktop 1. Check whether GNome is installed on the server If gnome-desktop does not appear in the query results, you need to configure the installation source and install the GNOME graphical interface. Command: yum -y groupinstall "X Window System" "Chinese Support" "Desktop" 2. Install VNCServer, configure VNCServer and set password
3. Allow 5900~5905 and 3389 in the firewall The released VNC port needs to be configured according to the actual situation 4. Install the epel library [root@admin /]# yum -y install epel-release 5. Install xrdp [root@admin /]# yum -y install xrdp 6. Modify xrdp configuration
7. Start the xrdp service and set it to start at boot
The above are all online installations. If you need offline installation, you can go to the website: http://www.rpmfind.net/ Search for xrdp and select the version that suits your system to download [root@admin /] rpm -ivh xrdp-0.6.1-5.el6.x86_64.rpm 8. Test Remote Desktop Connect to Windows using Linux Remote Desktop 1. Confirm that Linux has installed the GNome graphical desktop 2. Configure the Windows that needs to be remoted to allow remote desktop connection 3. Open the Remote Desktop port in Windows Firewall (the default Windows port is 3389) 4. Install the remote connection package in Linux
5. In Applications->Internet->Open Terminal Server Client 6. Click Add Connection, select Windows Terminal Service, and fill in Name, Host, Username, and Password in turn. If the Windows Remote Desktop port is not 3389, use the format IP:Port when filling in the field. 7. After saving the configuration, double-click the session configuration just saved in the main interface Connect to Linux using Linux Remote Desktop 1. Confirm that Linux has installed the GNome graphical desktop 2. Open the remote desktop port in the Linux firewall (the default port initial value is 5900 + connection ID) and install and configure VNCServer in the remote server 3. Install the remote connection package in Linux
4. In Applications->Internet->Open Terminal Server Client 5. Click Add Connection, select VNC, and fill in Name, Host, and Password in turn. The Host entry format is: IP: connection ID 6. After saving the configuration, double-click the session configuration just saved in the main interface Exit full screen In Linux, whether it is remote Windows or Linux, if the full screen appears and you don’t know how to exit the full screen, you can use the following method 1. Linux Remote Linux Press F8, the VNC menu will pop up, click "Exit Viewer" or uncheck "Full Screen" 2. Linux remote Windows Use the key combination Crtl+Alt+Enter to exit full screen Common Mistakes 1. The username and password entered are correct, but the login prompt is "xrdp_mm_process_login_response: login failed". Check the xrdp log and the error message is as follows:
This error is caused by exceeding the maximum connection data. The solution is as follows:
or
The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Implementing carousel effects with JavaScript
>>: MySQL 8.0.19 installation and configuration method graphic tutorial
ERROR 1290 (HY000) : The MySQL server is running ...
HTML consists of two parts: head and body ** The ...
1. Unzip MySQL 5.7 2. Create a new configuration ...
I usually use nginx as a reverse proxy for tomcat...
1. Disconnection reason There are many reasons wh...
General mobile phone style: @media all and (orien...
Rendering principle In the form element, there is...
Preface I recently encountered some problems at w...
0. Introduction August 18, 2016 Today, I noticed ...
Table of contents MySQL Constraint Operations 1. ...
If you think the system is slow and want to chang...
Navigation and other things are often used in dai...
Table of contents Structural inheritance (impleme...
Mixins provide a very flexible way to distribute ...
Prerequisites: Docker is already installed 1. Fin...