How to prepare your CentOS for XRDP Remote Desktop

  1. Check if your CentOS is running 32 or 64 bit.
  2. Install EPEL.
    1. Download the package
      • for 32bit OS:
        [root@server ~]$ wget
      • for 64bit OS:
        [root@server ~]$ wget
    2. Install
      [root@server ~]$ rpm -ivh epel-release-6-8.noarch.rpm
  3. Install XRDP
    [root@server ~]$ yum install xrdp
  4. Install TigerVNC Server
    [root@server ~]$ yum install tigervnc-server
  5. Set-up user for VNC server
    1. Edit /etc/sysconfig/vncservers
      [root@server ~]$ vi /etc/sysconfig/vncservers
    2. Add and save the following configurations:
      VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
  6. Start XRDP and VNC Server
    [root@server ~]$ service vncserver start
    [root@server ~]$ chkconfig vncserver on
    [root@server ~]$ service xrdp start
    [root@server ~]$ chckconfig xrdp on


You may now access your CentOS server via XRDP Remote Desktop.

Leave a Reply

Your email address will not be published. Required fields are marked *