Linux - xrdp

About

open source implementation of the RDP protocol

Unlike Windows NT/2000/2003 server, xrdp will not display a Windows desktop but an X window desktop to the user.

It can also be used as a VNC→RDP bridge.

https://github.com/neutrinolabs/xrdp/

Architecture

  • Sesman is the session manager.
  • Librdp, an RDP module for xrdp.
  • Libvnc, a VNC module for xrdp. Libvnc provides a connection to VNC servers.

File

$XRDP_CFG_DIR=/etc/xrdp

       ${XRDP_BIN_DIR}/xrdp
       ${XRDP_CFG_DIR}/xrdp.ini
       ${XRDP_LOG_DIR}/xrdp.log
       ${XRDP_PID_DIR}/xrdp.pid

Log

/var/log/xrdp-sesman.log

Installation

https://github.com/neutrinolabs/xrdp/blob/master/install.txt

sudo apt-get install xrdp
# sudo /etc/init.d/xrdp start
# for details.
# systemctl status xrdp.service
# journalctl -xe

service xrdp status
● xrdp.service - LSB: Start xrdp and sesman daemons
   Loaded: loaded (/etc/init.d/xrdp; bad; vendor preset: enabled)
   Active: active (running) since Wed 2018-06-13 09:10:56 UTC; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25244 ExecStart=/etc/init.d/xrdp start (code=exited, status=0/SUCCESS)
    Tasks: 2
   Memory: 2.3M
      CPU: 29ms
   CGroup: /system.slice/xrdp.service
           ├─25273 /usr/sbin/xrdp
           └─25277 /usr/sbin/xrdp-sesman

Jun 13 09:10:56 devlap0039o systemd[1]: Starting LSB: Start xrdp and sesman daemons...
Jun 13 09:10:56 devlap0039o xrdp[25244]:  * Generating xrdp RSA keys......
Jun 13 09:10:56 devlap0039o xrdp[25244]: Generating 512 bit rsa key...
Jun 13 09:10:56 devlap0039o xrdp[25244]: ssl_gen_key_xrdp1 ok
Jun 13 09:10:56 devlap0039o xrdp[25244]: saving to /etc/xrdp/rsakeys.ini
Jun 13 09:10:56 devlap0039o xrdp[25244]:    ...done.
Jun 13 09:10:56 devlap0039o xrdp[25244]:  * Starting Remote Desktop Protocol server
Jun 13 09:10:56 devlap0039o xrdp[25244]:    ...done.
Jun 13 09:10:56 devlap0039o systemd[1]: Started LSB: Start xrdp and sesman daemons.







Share this page:
Follow us:
Task Runner