The following steps assume that you have installed Kali Linux from the latest ISO and did the update procedure:

  • Apt-get update && apt-get upgrade
  • Apt-get dist-upgrade

In order to install the RDP server you run the following command from a terminal window:

  • Apt-get install xrdp

After xrdp is installed you can start the server with the following command:

  • Service xrdp start
  • Service xrdp-sesman start  (Thanks to Greg for pointing that out)  — UPDATE!!
  • If want it to auto start after reboot you need to run this command also:
    update-rc.d xrdp enable     (It will not start xrdp-sesman automatic)