Skip to main content

Configuring xrdp on Fedora/CentOS

xrdp: An open source remote desktop protocol(rdp) server. Based on the work of FreeRDP and rdesktop, xrdp uses the remote desktop protocol to present a GUI to the user.

The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft's own terminal server / remote desktop clients. Unlike Windows NT/2000/2003/2008/2012 server, xrdp will not display a Windows desktop but an X window desktop to the user. Xrdp uses Xvnc or X11rdp to manage the X session.


Configuring Xrdp on Fedora/CentOS


# yum install xrdp

# systemctl enable xrdp.service

# systemctl start xrdp.service

# systemctl enable xrdp-sesman.service

# systemctl start  xrdp-sesman.service


Xrdp allways runs on 3389 port number, So if we have enabled firewall then we need to open the port of xrdp in our firewall:

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

# netstat -tupnl | grep xrdp


If we need to specify a specific desktop to workaround, We can specify it:

# echo PREFERRED=mate-session > /etc/sysconfig/desktop

Now we can access Fedora or CentOS machine over RDP protocol:








Comments