How to Remotely Access Windows from Ubuntu or Linux

Published on Author Code Father
Connect Remotely Ubuntu via Windows 10: Remotely Access Windows  from Ubuntu or Linux

Try to enable remote desktop on Windows 10, allow it from Windows firewall for public network.

Remotely Access Windows from Ubuntu

Allow Remote Desktop from Windows 10 Firewall

Allow Remote Desktop from Windows 10 Firewall

The Remote desktop on my Windows 10 is enabled and ready to use. The firewall is also allow it to access the RDP from outside.

1. From Linux Ubuntu press Windows key and search “Remote Desktop” to find and open the Remmina Remote Desktop Client.

Remmina Remote Desktop Client on Ubuntu Linux

Remmina Remote Desktop Client on Ubuntu Linux

2. Enter the IP address of Windows 10 and click Connect. When prompt you about accepting certificate, click OK. 

Remote Access Windows 10 via Ubuntu Linux

Remote Access Windows 10 via Ubuntu Linux

3. Type the Windows 10 user name and password then click OK to connect to Windows 10 remotely. Type the user name and password currently, otherwise it will not connect you remotely to Windows 10.

Remote Desktop User name and Password

Remote Desktop User name and Password

Finally you have connected to Windows 10 via Linux Ubuntu successfully. Now you can do anything remote on Windows. From installing, deleting software to make changes and configuring Windows 10 remotely.

Remote Access Windows 10 via Ubuntu Linux - Technig

Remote Access Windows 10 via Ubuntu Linux – Technig

OK. We have done the remote access Windows 10 via Ubuntu Linux. Let’s connect remotely from Windows 10 to Ubuntu Linux.

Connect Remotely Ubuntu via Windows 10

First of all try to install xRDP on Linux Ubuntu. Before installing xRDP packages try to update the Ubuntu with “apt-get update” command.

1. While you are logon on Ubuntu Linux, press Ctrl+Alt+t to open the Linux Terminal and type “sudo apt-get install xrdp” then press enter. Do it like the below screenshot.

Install xRDP on Linux Ubuntu - Remote Access Windows 10 via Ubuntu

Install xRDP on Linux Ubuntu – Remote Access Windows 10 via Ubuntu

2. Let the xRDP installation process will be finish successfully. When it complete, try to install xfce4 with the “sudo apt-get install xfce4” command.

Install xfce4 on Ubuntu Linux

Install xfce4 on Ubuntu Linux

3. We need to modify the xRDP startup file to make it start automatically. Before editing xRDP startup file, try to create .xsession file in home directory with below command.

echo xfce4-session >~/.xsession

4. Now the second file we need to edit is the startup file for xRDP, so it will start xfce4 service on startup.

sudo nano /etc/xrdp/startwm.sh

Edite xRDP Startup File

Edite xRDP Startup File

5. On the editor add the startxfce4 at the end of the code and press Ctrl+O to save it. When it’s done, once restart the xRDP service with “sudo service xrdp restart” command.

6. From Windows 10, type “mstsc” on run and press enter to open remote desktop protocol. Then type the IP address of Ubuntu Linux and click Connect.

Connecte Remotely to Ubuntu Linux

Connect Remotely to Ubuntu Linux

Finally type user name and password of Ubuntu Linux to connect it remotely from Windows 10

This is just a simple way to connect remotely from Windows 10 to Linux and Linux to Windows 10. There more option that help you do the remote desktop easily. But I have test this on xRDP and Windows 10 remote desktop.

Comments

comments

One Response to How to Remotely Access Windows from Ubuntu or Linux