use xrdp Remotedesktop to Linux

0
(0)

How To use xrdp on Ubuntu

XRDP on Linux for Windows Remote Desktop Clients

xrdp allows windows users graphically access to Linux systems just as easily as other Windows machines, and ideally with one and the same application, like mstsc.exe, the Windows Remote Desktop Client.

xrdp is an open source implementation of the remote desktop protocol that Windows Terminal Services (RDS) use to connect to Windows desktops. The xrdp package brings the RDP protocol to the Linux computer by providing an X server that accepts connections from the Windows terminal server clients (mstsc).

After the user has connected and authenticated, he receives a virtual X11 desktop on the Windows computer. The advantage of the xRDP solution is that it does not require an X server on the Windows computer and that no additional client is required, such as the VNC viewer.

The xrdp server can be set up with the packet manager apt-get and yum or dnf for corresponding Linux distribution. On Ubuntu lets run sudo apt-get install xrdp

These are steps to build and install xrdp from neutrinolabs Git repository. The build process described here on Ubuntu 17.10 (Artful Aardvark).

How to Install xrdp

First the Linux system is prepared, here it is Ubuntu Mate 17.10, the dependencies are installed: (all on one line)

Get the source packages from Github sources:

Create and install the xrdp server binaries:

Create and install from xorgxrdp:

Start the xrdp server daemon:

Xrdp can also be installed from Github Source. Build with Git clone:

The configuration can be adjusted if necessary:

The remote desktop connection to the Linux xrdp server can now be established:

remote_desktop_connection
xrdp_remotedesktop

APPENDIX

Since Xorg X11 is no longer started as root, change the X11/Xwrapper from console to anybody.

This can also be done with the use of dpkg utility.

If you prefer a different desktop environment, the session manager can be changed. Here I join X11 configuration for the Mate desktop environment.

The alternative desktop environment must first be installed, here at fedora.

TROUBLESHOOTING

Log protocols can be opened during troubleshooting:

If RDP session is aborted or frozen, allow_channels = true can be set to false.

SELinux can be deactivated for test purposes.

If the firewall rejects the RDP port, the port must be allowed for RDP.

Firewall should permit RDP ports.

A black screen appears after logging in, followed by an error message:

It helps to create a new user, then log in with him via RDP.

Generating a new certificate can also be useful.

Hint. Use the currently valid host name as (CN) common name.

Activate the certificate in the xrdp configuration /etc/xrdp/xrdp.ini.

Source URL: github.com/neutrinolabs/xrdp/

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published. Required fields are marked *