Win10 comes with a remote connection using ubuntu server

1. Open the remote connection

Explain: if the professional version of the job, Home Edition is unable to use a remote connection, can go to the computer on the computer to see what version, not the Pro * Po can go buy Pro key, probably as long as ten dollars.
Also confirmed is the professional version of Remote Desktop Connection to open the relevant settings. This is not to say.
Here Insert Picture Description
Fill in your own ip and user name and then click the link, this time will find that
Here Insert Picture Description
this error occurs on the right.

2, the installation of various soft server linux

1, # installation xrdp
sudo install APT-GET xrdp

2、#安装vnc4server
sudo apt-get install vnc4server tightvncserver

3、#安装xubuntu-desktop
sudo apt-get install xubuntu-desktop

4, # xfce4-session write to the xsession
echo "xfce4-session"> ~ / .xsession

5, # Enable xrdp service
sudo service xrdp restart

Note: The implementation of the second or third step, when an error may occur: Failed to fetch http://mirrors.baidubce.com/ubuntu/pool/main/libj/libjpeg-tu
This is because there is no added Ali cloud mirror source
to solve Measures: adding Ali cloud DNS server.

Enter the command sudo vi /etc/resolv.conf

Add Ali DNS in resolv.conf inside nameserver 223.5.5.5 nameserver 223.6.6.6

After saving, networking updates about sudo apt-get update

Time and then go to the second step or the third step command on it.

Here Insert Picture Description

3, connect to the server

After connecting to fill in the user name and password, this time you will find that flash back situation occurs when the connection is successful.
Solution:
** (1) ** need to create a directory in the user .xsession: Touch .xsession
** (2) ** which is written "xfce4-session" word on the line: echo xfce4-session> ~ / .xsession .
* (3) * and then proceeds to the user directory, sudo chown username: username .xsession

Here Insert Picture Description
You can now directly connect the remote server.
Here Insert Picture Description

Published 69 original articles · won praise 25 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_40985788/article/details/104208898