Fedora 28: Connect to KDE desktop environment via XRDP

Table of Contents

1 Install KDE desktop environment

Install KDE desktop environment with this.

2 Install XRDP

Install XRDP.

$ sudo dnf install -y xrdp$ sudo systemctl enable xrdp$ sudo systemctl start xrdp

3 Create ~/.Xclients

Create .Xclients in home directory of user to be connected.

$ echo “startkde” > ~/.Xclients$ chmod a+x ~/.Xclients

4 Avoid Authentication Required dialog

After you connect to XRDP, the following dialog will be displayed.


This article makes all authentication to be failed and avoid Authentication Required dialog.

$ cat <<EOF | sudo tee /etc/polkit-1/localauthority/50-local.d/xrdp-color-manager.pkla[Netowrkmanager]Identity=unix-user:*Action=org.freedesktop.color-manager.create-deviceResultAny=noResultInactive=noResultActive=yesEOF$ cat <<EOF | sudo tee /etc/polkit-1/localauthority/50-local.d/xrdp-NetworkManager.pkla[Netowrkmanager]Identity=unix-user:*Action=org.freedesktop.NetworkManager.network-controlResultAny=noResultInactive=yesResultActive=yesEOF$ cat <<EOF | sudo tee /etc/polkit-1/localauthority/50-local.d/xrdp-packagekit.pkla[Netowrkmanager]Identity=unix-user:*Action=org.freedesktop.packagekit.system-sources-refreshResultAny=noResultInactive=auth_adminResultActive=yesEOF$ sudo systemctl restart polkit

5 Connect to KDE desktop environment via XRDP

Use Xvnc as a session type. Windows Remote Desktop Connection is as the following.


5.1 rdesktop client with clipboard makes nautilus hang

There is no problem when using Windows Remote Desktop Connection or Remmina.

But rdesktop has a problem. If using rdesktop with enabling clipboard, XRDP server will be hang (CPU usage will be high).

So if using rdesktop, please disable clipboard with “-r clipboard:off”.

$ rdesktop -r clipboard:off XRDPSERVER

Android | Linux | SDL - Narrow Escape