How To Install xrdp on Rocky Linux 8

In this tutorial we learn how to install xrdp on Rocky Linux 8. xrdp is Open source remote desktop protocol (RDP) server

Introduction

In this tutorial we learn how to install xrdp on Rocky Linux 8.

What is xrdp

xrdp provides a fully functional RDP server compatible with a wide range of RDP clients, including FreeRDP and Microsoft RDP client.

We can use yum or dnf to install xrdp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xrdp.

Install xrdp on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xrdp using dnf by running the following command:

sudo dnf -y install xrdp

Install xrdp on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xrdp using yum by running the following command:

sudo yum -y install xrdp

How To Uninstall xrdp on Rocky Linux 8

To uninstall only the xrdp package we can use the following command:

sudo dnf remove xrdp

xrdp Package Contents on Rocky Linux 8

/etc/logrotate.d/xrdp
/etc/pam.d/xrdp-sesman
/etc/sysconfig/xrdp
/etc/xrdp
/etc/xrdp/km-00000406.ini
/etc/xrdp/km-00000407.ini
/etc/xrdp/km-00000409.ini
/etc/xrdp/km-0000040a.ini
/etc/xrdp/km-0000040b.ini
/etc/xrdp/km-0000040c.ini
/etc/xrdp/km-00000410.ini
/etc/xrdp/km-00000411.ini
/etc/xrdp/km-00000412.ini
/etc/xrdp/km-00000414.ini
/etc/xrdp/km-00000415.ini
/etc/xrdp/km-00000416.ini
/etc/xrdp/km-00000419.ini
/etc/xrdp/km-0000041d.ini
/etc/xrdp/km-00000807.ini
/etc/xrdp/km-00000809.ini
/etc/xrdp/km-0000080a.ini
/etc/xrdp/km-0000080c.ini
/etc/xrdp/km-00000813.ini
/etc/xrdp/km-00000816.ini
/etc/xrdp/km-0000100c.ini
/etc/xrdp/km-00010409.ini
/etc/xrdp/km-19360409.ini
/etc/xrdp/openssl.conf
/etc/xrdp/pulse
/etc/xrdp/pulse/default.pa
/etc/xrdp/sesman.ini
/etc/xrdp/xrdp.ini
/etc/xrdp/xrdp_keyboard.ini
/usr/bin/xrdp-dis
/usr/bin/xrdp-genkeymap
/usr/bin/xrdp-keygen
/usr/bin/xrdp-sesadmin
/usr/bin/xrdp-sesrun
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/687e1339033ab68a8083dd572848bc1c5a4e5a
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/fb451710ae20672a701f0ea77bb5e940d72200
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/3af11667987fa1e5c68260a59331b278d917fd
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/ffa32d8b2030399d7c17274e0de1a2e53954bf
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/b479d9f06a9683f85e41c6001bb66c4f202ac0
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/b887c4258f2140f82d9ba6aecf8639ba849a8a
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/af5006b53e4dc13e980d62760e341678575c6b
/usr/lib/.build-id/56
/usr/lib/.build-id/56/c02e261f7911ebd7d44303e9b7fa4e73fae63b
/usr/lib/.build-id/57
/usr/lib/.build-id/57/f51687adc024fbb28eab5f3479d11044545a0b
/usr/lib/.build-id/69
/usr/lib/.build-id/69/bcdc42081d2233f6487f4c0e92bafd7f0cb692
/usr/lib/.build-id/92
/usr/lib/.build-id/92/c83eb95713a42fc6c44afef7e071291a077110
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/a9162efcf215d7319a6260726ad6a9b26806dc
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/ec5cf739bdbe0c21676020f3fea8fe8c717163
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/a81ca31ac76ab035f9bdab4febc9c0bc223a0b
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/babad271b4221af6862408646d40245f1cf73b
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/300db8b44c82cc446a33ee01d8fd85b5cc1e8a
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/e056d9fa6ae248329b463756d3c323ac8ee905
/usr/lib/systemd/system/xrdp-sesman.service
/usr/lib/systemd/system/xrdp.service
/usr/lib64/librfxencode.so.0
/usr/lib64/librfxencode.so.0.0.0
/usr/lib64/xrdp
/usr/lib64/xrdp/libcommon.so.0
/usr/lib64/xrdp/libcommon.so.0.0.0
/usr/lib64/xrdp/libmc.so
/usr/lib64/xrdp/libscp.so.0
/usr/lib64/xrdp/libscp.so.0.0.0
/usr/lib64/xrdp/libvnc.so
/usr/lib64/xrdp/libxrdp.so.0
/usr/lib64/xrdp/libxrdp.so.0.0.0
/usr/lib64/xrdp/libxrdpapi.so.0
/usr/lib64/xrdp/libxrdpapi.so.0.0.0
/usr/lib64/xrdp/libxup.so
/usr/libexec/xrdp
/usr/libexec/xrdp/reconnectwm.sh
/usr/libexec/xrdp/startwm-bash.sh
/usr/libexec/xrdp/startwm.sh
/usr/sbin/xrdp
/usr/sbin/xrdp-chansrv
/usr/sbin/xrdp-sesman
/usr/share/doc/xrdp
/usr/share/doc/xrdp/COPYING
/usr/share/doc/xrdp/README.Fedora
/usr/share/doc/xrdp/design.txt
/usr/share/doc/xrdp/faq-compile.txt
/usr/share/doc/xrdp/faq-general.txt
/usr/share/doc/xrdp/file-loc.txt
/usr/share/doc/xrdp/install.txt
/usr/share/man/man1/xrdp-dis.1.gz
/usr/share/man/man5/sesman.ini.5.gz
/usr/share/man/man5/xrdp.ini.5.gz
/usr/share/man/man8/xrdp-chansrv.8.gz
/usr/share/man/man8/xrdp-genkeymap.8.gz
/usr/share/man/man8/xrdp-keygen.8.gz
/usr/share/man/man8/xrdp-sesadmin.8.gz
/usr/share/man/man8/xrdp-sesman.8.gz
/usr/share/man/man8/xrdp-sesrun.8.gz
/usr/share/man/man8/xrdp.8.gz
/usr/share/polkit-1/rules.d/xrdp.rules
/usr/share/xrdp
/usr/share/xrdp/ad24b.bmp
/usr/share/xrdp/ad256.bmp
/usr/share/xrdp/cursor0.cur
/usr/share/xrdp/cursor1.cur
/usr/share/xrdp/sans-10.fv1
/usr/share/xrdp/xrdp24b.bmp
/usr/share/xrdp/xrdp256.bmp
/usr/share/xrdp/xrdp_logo.bmp
/var/log/xrdp-sesman.log
/var/log/xrdp.log

References

Summary

In this tutorial we learn how to install xrdp on Rocky Linux 8 using yum and dnf.