Windows remote desktop access linux

Ubuntu 22.04 Remote Desktop Access from Windows 11 or 10

Windows comes with a very handy feature called Remote Desktop Connection, which uses RDP protocol to connect a PC remotely. Although it is very easy to use when it comes to establishing a remote desktop connection from Windows to Windows systems, not the same goes for the Linux system. It is because the RDP protocol has not been installed in Linux by default. In such a situation we have to use manually perform some configuration on the Linux system to enable RDP, here in this guide we know how to do that.

What is XRDP?

XRDP is a free and open-source program and an implementation of Microsoft RDP (Remote Desktop Protocol) to easily access Linux systems remotely with GUI. With XRDP, it is possible to log on to the remote Linux computer and create a real desktop session as if you had logged on to a local computer.

Steps to access Ubuntu 22.04 remotely from Windows 10 or 11

The steps given here can be used on other versions of Ubuntu such as 20.0/18.04 including Linux Mint, MX Linux, and more…

1. Perform a System update

Here in this tutorial, we are going to use the system’s default repository and APT package manager. Hence, to rebuild the APT cache run the system update command once.

2. Install XRDP on Ubuntu 22.04

As we know Ubuntu doesn’t have RDP installed like Windows OS, hence, we need to install XRDP, the open-source implementation of RDP on our Linux system. The good thing, we don’t need to add any third-party repository because it can be installed using the system’s default one.

Читайте также:  Создать общую папку kali linux

3. Start & Enable XRDP Service

To start and also make the service of XRDP enable automatically with system boot use the given commands:

To start it:

sudo systemctl start xrdp
sudo systemctl enable xrdp

Check the status:

Start Enable XRDP Service

4. Open port 3389 in the firewall

To let the other systems in the network access Ubuntu 22.04 Jammy remotely over RDP, open the port number 3389 on your system’s firewall.

sudo ufw allow from any to any port 3389 proto tcp

Next, find the Ip-address of your Ubuntu system and note it down, somewhere. For that on your terminal run:

5. Log out Ubuntu 22.04

Once the installation is completed, simply log out your Ubuntu 22.04 system otherwise you will get a black screen issue on Windows while connecting Ubuntu remotely using XRDP.

To log out, click on the Power-off icon and select the logout option.

Log out Ubuntu 22.04 LTS

6. Connect Ubuntu 22.o4 remotely using Windows 10 or 11

Finally, go to the Windows 10 or 11 system you are using and click on the Search icon. There type “Remote Desktop Connection” as its icon appears, and click to open the same.

Remote Desktop connection on Ubuntu 22.04

Enter the Ip-address of your Ubuntu system noted down by you, in the “Remote Desktop Connection” app of Windows and click on the “Connect” button.

For example, our Ubuntu 22.04 IP address was 192.168.17.133

Remote Desktop Connection Ip address

When the message appearsThe identity of the remote computer cannot be verified. Do you want to connect anyway?

Click the Yes button.

The identity of this computer cannot be verified. Do you wish to continue

The XORG window will open, enter the username and password of your remote Ubuntu 22.04 that you want to connect over RDP to control it graphically.

XRDP Connect on Windows 11 or 10

The system will again ask for your system’s password.

Enter the remote system password

Finally, the remote Ubuntu 22.04 LTS graphical screen will be on your Windows system using the Remote desktop protocol.

Ubuntu 22.04 Jammy remtoe desktop from windows 11 or 10

Ubuntu remote desktop black screen- issue

The issue of getting a black screen or automatically shutting down the Remote desktop connection application on Windows appears if you have not logged out of your remote Ubuntu 22.04 system that you want to connect to. Because using RDP, here we can only open a single session.

Читайте также:  Kali linux rdp to windows

Other Articles:

Источник

How to Access Remote Windows Desktop from Ubuntu Linux

You must have heard about the Windows app “ Remote Desktop Connection “. This application comes with default windows installation and allows you to access another PC or server remotely. It uses remote desktop protocol to establish remote desktop connection sessions.

Some of the Linux distributions may provide you RDP clients to connect to the Windows system. However, for some linux distributions you may need to install RDP clients to establish remote desktop connection.

As a Linux user there are some rdp tools available which you can install and use for windows remote connection. In this article we are going to explain how to install RDP clients on Ubuntu linux and use them to access (or connect) remote windows desktop.

Reminna

Reminna is a free,open source and powerful remote desktop client for remote desktop sharing. As it provides useful features most of the Linux and UNIX users adopt reminna client to connect remote desktop.

You can install reminna on your linux system by using the following command.

$ sudo apt update $ sudo apt install -y remmina remmina-plugin-vnc

Once remmina is installed on your system, you can access gui for remote desktop connection.

Reminna_RDP_client

Enter your windows system IP address and press enter. You will be prompted for username and password details. Submit all the details and control your remote desktop.

Vinagre

Vinagre is an ssh, vnc and rdp client for the Gnome desktop environment. It has advanced features like connecting multiple servers simultaneously and switching between them using tab. Vinagre also supports copy/paste between client and server.

To install Vinagre on Ubuntu, use the following command.

$ sudo apt update $ sudo apt install -y vinagre

After completing installation go to your application list and search for a remote desktop.

Читайте также:  Linux passwd authentication token manipulation error

Click on the application as shown in the below image.

Vinagre

Click on Connect , select RDP from the drop down menu. Enter your remote desktop credentials and click connect.

Vinagre_RDP_access

KRDC

KRDC is a remote desktop tool designed for the KDE desktop environment. Installation of KRDC comes with two protocols VNC and RDP which gives you hassle free access to your remote desktop.

To install and configure KRDC in your system follow the commands:

$ sudo apt update $ sudo apt install -y krdc

Once the installation is completed you are now good to use the KRDC client. You can type krdc in the command line which opens the new gui tool. You can also search krdc in your application list and launch

KRDC_RDP_client

Click on the KRDC application and you will get the following gui on your screen.

KRDC_rdp_access

Select RDP protocol from the drop down menu, enter your remote desktop IP address and click Enter.

You can customize your configuration and once you are done with customization, click on ok. You will be asked to enter your username and password in the next prompt as :

KRDC_rdp_config

Enter your username and password as asked and you are ready to use your remote desktop.

KRDC_rdp_username

FreeRDP

FreeRDP is a free and open-source client for the remote desktop protocol. FreeRDP is a portable rdp protocol released under Apache license. To install and configure freeRDP in Ubuntu use the following command. freerdp2-x11 performs installation of freeRdp client in Ubuntu.

$ sudo apt update $ sudo apt install -y freerdp2-x11

Once the installation is complete, you can use following command to access your remote desktop

$ sudo xfreerdp /u:remote_user /p:remote_password /v:remote_host_ip

Once you run this command, you may get warning to accept certificates. Enter “yes” to the warning and now you will be able to access your remote desktop as:

KRDC_rdp_remote access

Conclusion

From this article, you have learned how to access remote windows desktop from your linux machine. Also you got to know about different tools available for RDP connection, how to configure these tools and use for remote connection.

Источник

Оцените статью
Adblock
detector