Remote Desktop

Server

Installation

dnf -y install xrdp xorgxrdp;

# Backup config files
cp -f /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.backup
cp -f /etc/xrdp/sesman.ini /etc/xrdp/sesman.ini.backup

# enable Xorg session
vim /etc/xrdp/xrdp.ini

[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20

# Firewall
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload

# SELinux
chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman

# Start Service
systemctl enable --now xrdp

Client

Installation

dnf -y install freerdp remmina

Connection

xfreerdp /rfx /gfx:RFX /u:USER /v:SERVER /multimon