Leave the following two ways to access the Ubuntu 18.04 desktop from Win10. Especially in Windows, I can't explain to the company in the worst case due to a virus, so I don't use a third-party VNC Viewer. Therefore, xRDP is an option.
xRDP + Windows remote desktop function advantage: Can be connected with standard functions of Windows 10 Pro safety
Chrome Remote Desktop advantage: It can be realized only by extending the function of Chrome regardless of OS Remote connection is possible anywhere if you connect to the Internet!
--Implementation time: January 2021
There are some Japanese sites about xRDP installation, but none of them are good Even if I connect remotely, the screen remains green (https://askubuntu.com/questions/1166568/remote-desktop-blue-screen-after-login), or the mouse / keyboard is not recognized ... I found the following god site by looking at my painful eyes
xRDP – Easy install xRDP on Ubuntu 16.04,18.04,20.04,20.10
The reason I'm god is that I constantly update the script with user feedback. Japanese sites, including my blog, are almost left as they are written, so I have to be sensitive at least when they were written.
If you're already browsing various sites and it doesn't work and pollutes your Ubuntu environment, it's a good idea to start by reinstalling Ubuntu. It's a god script, but it may not work if Ubuntu is dirty. Also, start ssh just in case.
sudo apt install openssh-server
sudo systemctl start ssh
First, read the above God site carefully and do it at your own risk.
Then download the script below to Downloads Of course, the version numbers are not necessarily the following, so read them individually. xrdp-installer-1.2.2.zip
Unzip and run. The installation applies to all logged-in users registered on Ubuntu.
cd Downloads
unzip xrdp-installer-1.2.2.zip
chmod +x ~/Downloads/xrdp-installer-1.2.2.sh
./xrdp-installer-1.2.2.sh
The shell offers the following options:
--'-h': Help --'-s': Transfer sound remotely --'-l': Login screen customization --'-r': Uninstall (remove the package installed using this script) --'-c': Compile and install the original source on GitHub
If there is no option, the installation will be completed in 10 to 20 seconds. What's great is that the scripts automatically correspond to the major Ubuntu versions. The completeness of the script is very high.
Win10 Home has no remote desktop function, so it must be Pro. Before connecting to the remote desktop, the user must not be logged in on the Ubuntu PC. You can log in as another user Launch Remote Desktop and enter the Ubuntu IP address. Then, Ubuntu will ask you to enter login authentication, so enter the user name and password.
To disconnect the remote connection, log off the user from the power icon in the upper right corner of Ubuntu.
that's all
Below, it is assumed that the latest version of Chrome is installed on both Ubuntu and Win10, and you are logged in with your Google account. In addition, when connecting to the Internet from wherever you are, you need to be careful about communication charges.
Access the following and press "Install". https://remotedesktop.google.com/access Press "Install". Another window opens. Press the down arrow to save the following in Downloads. chrome-remote-desktop_current_amd64.deb Press "Agree and install". Press "Yes". It is finally installed by pressing "Install" for the fourth time. When the installation is completed and the screen returns to the original screen, nothing progresses in the state shown below.
This window is closed once.
If you access the following again, the following figure will appear and you will not be able to go to the computer name and PIN setting screen. https://remotedesktop.google.com/access Investigate and find a solution below https://gist.github.com/organizm/ae09f72bd5badc64d4727a0d38fc590b Need the following command to add the path
mkdir ~/.config/chrome-remote-desktop
After entering the above magic command, if you access https: //.../ access again, you will be able to set the name and PIN of your computer, and you will be able to access it remotely from Chrome on another computer.
Note: Google has left this bug for over a year, but there is a possibility that it will be addressed, so there is no guarantee that this magic command will work in the future.
This is a browser-based remote connection, so the Edition can be Home or Pro. Just launch Chrome and install Chrome Remote Desktop for your extensions. After installation, of course, set the name and PIN of the PC for remote access to this Win10 PC. Details omitted
that's all
Recommended Posts