Jacobs "Blog"

CentOS 7 Remote Desktop

Created with xRDP and XFCE.

Install what we need

yum -y install epel-release yum -y groupinstall "X Window System" yum -y groupinstall xfce4 xrdp tigervnc-server

Firewalls & Services

systemctl enable xrdp systemctl restart xrdp

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

Configure XFCE for xrdp

echo "/usr/bin/xfce4-session" >> /home//.Xclients


mstsc -v

It should log you in fine.

FWIW: I have basically copied everything from here: https://www.hiroom2.com/2017/10/01/centos-7-xrdp-xfce-en/ I found documentation on xrdp to be pretty shit... but if you follow the above it should work for you.

Also I had to tunnel my connection via ssh to circumvent our firewall, hence localhost.