Operation method of connecting local Windows remote desktop to Alibaba Cloud Ubuntu 16.04 server

  • 2021-07-26 09:07:44
  • OfStack

Local Windows Remote Desktop Connection Alibaba Cloud Ubuntu 16.04 Server:

1. Purpose: I hope to connect to the Ubuntu server of Alibaba Cloud through the local Windows remote desktop, and operate the server through the remote desktop graphical interface.

2. Conditions: One Alibaba Cloud Ubuntu server and one local Windows operating system computer are applied for.

3. How to connect remotely to the desktop:

(1) First, connect the Ubuntu server through the command line tools connected to the Linux system under the Windows system (tools: xshell, securecrt, putty, etc.).

(2) Connect to linux operating system through Windows tools, and then open a command window to switch to root authority.

(3) Install the update first: apt-get upate .

(4) Installing xrdp: Enter apt-get install xrdp In fact, in fact, the > Carriage return > Enter "y" > Enter, installation complete.

(xrdp: An open source remote desktop protocol(rdp) server)

(5) Install vnc4server: Enter apt-get install vnc4server " > Carriage return > Enter "y" > Enter, installation complete.

(VNC (Virtual Network Console) is the abbreviation of Virtual Network Console)

(6) Installing xfce4: Enter apt-get install xubuntu-desktop" In fact, in fact, the > Carriage return > Enter "y" > Enter.

-- > Input echo "xfce4-session" >~/.xsession -- > Enter-- > Input service xrdp restart -- > Enter, installation complete.

(Xfce) is free software that runs on Unix-like operating systems such as Linux, FreeBSD, and Solaris to provide a lightweight desktop environment. )

(7) On the local Windows computer, use "Window Key + R" to open the "Run Dialog Box" > Enter "mstsc" > Carriage return > Enter the IP address of the Ubuntu host > "Connect".

(8) Select "sesman-Xvnc" > Enter User Name and Password > Enter, successfully log in to Ubuntu desktop, and now you can operate remotely.

Summarize


Related articles: