Microsoft Rdp Linux



Nov 11, 2020 Copy the RDPApps.reg file from the kvm Directory and merge it into the registry on Windows to enable RDP Applications. And the moment we’ve all been waiting for; Run the installer. Rdesktop is an open source UNIX client for connecting to Windows Remote Desktop Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. Rdesktop is known to work with Windows server versions ranging from NT 4 terminal server to Windows Server 2016.

  1. Rdp To Windows From Linux
  2. Microsoft Rdp On Linux
  3. Microsoft Rdp Linux

INTRO We have already discussed on RDP topic. Where I told you about how you can connect with a Windows RDP using the Linux tool “Remmina”. You can read more on this topic from HERE. Have you ever purchased any cloud services? Such as AWS, Google Cloud, and Azure. By the way, it doesn’t matter. Go to your windows system and in search bar type “RDP.” Click on the “Remote Desktop App.” Type the IP address of your Linux system adjacent to the “Computer ” label, and click connect Enter the Username and the Password of your Linux system. Using RDP to Connect to a Windows Computer from Linux Due to the unique circumstances at the college due to COVID-19, we have opened up computer labs that are normally available in-person for remote access. The terminal server (ts.cecs.pdx.edu) is not capable of handling the increased remote access demands of this situation, so we kindly.

Step 1: Create a connection using the Remmina RDP client. For instructions on how to do this, follow our guide here:

Step 2: Check the “Share folder” box, and select the folder you would like to be accessible from the drop-down menu.

Step 3: Connect to the RDP session. From within the remote session, navigate to “This PC” within the File Explorer. The folder that you have selected will appear under the “Redirected drives and folders” section.

Step 4: Drag files to and from the drive like you would any other folder.

Installing a Linux distro as WSL is easy via the Microsoft App Store and there are plenty of tutorials out there for it.

Rdp To Windows From Linux

Most of the resources cover the access via Shell, Terminal, Hyperterminal or other console based tools to the WSL.
Running GUI software is possible and there are resources describing how to archieve this via VcXsrv (see chapter in this post of mine).

But what if you:

Want to have/access a Desktop environment on WSL?

You can use any Desktop Environment you want, I will be using Xfce in this example because it is lightweight.

Here is the quick rundown of all commands and steps, explained in the sections below. One is for Kali Linux, the other is for the Debian based distros (Debian, Ubuntu, …).

For Kali:

For other debian based distros:

And then connect via RDP localhost:3390 to your desktop.

Detailed steps

Updating the system and installing Xfce4

Microsoft Rdp Linux

The first command updates the source list and the packages. Always important, I will not explain this.
The sudo apt -y install kali-desktop-xfce installs a Kali Linux specific version of Xfce4 and sudo apt -y install xfce4 will install the Xfce4 package for debian based distros.

Installing Xrdp

Xrdp is an open source remote desktop solution and also very lightweight and easy to configure. This command will install the package and setup the default configuration with port 3389.

Configuring Xrdp

Copy the config file as backup before the changes, change the port from 3389 to 3390 and for quality reasons increase the bpp from 24 to 128. You can play with those settings but since this is a local connection, the speed should not be worse with those settings.
And finally restarting the xrdp service to apply the changes.

Now you can connect via localhost:3390 and the credentials of your WSL account via RDP! ?

Why the port change from 3389 to 3390?

Two reasons: security and sometimes port 3389 is used by a process on wsl and you get the message

Microsoft Rdp On Linux

Your computer could not connect to another console session on the remote computer because you already have a console session in progress.

Benefits of RDP here

Microsoft Rdp Linux

Even though you can run GUI software via XServer in a window, sometimes it is more convenient to have the full desktop environment accessible.
Also you can restore a previously disconnected session easily and do not have to close the console (let processes running for example).

Source : Linux on Windows: WSL with Desktop Environment via RDP – DEV Community ?‍??‍?