Table of Contents

Ubuntu - XRDP - Enable XRDP Session Sharing

Edit the xrdp init file

Add the following at the bottom of the file:

/etc/xrdp/xrdp.ini
...
[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=
password=ask
ip=127.0.0.1
port=ask-1

For local or distributed Users

Edit the /etc/pam.d/xrdp-sesman file:

Add this line at the bottom:

/etc/pam.d/xrdp-sesman
...
session required pam_limits.so

For users of xRDP same session management

Edit the /etc/pam.d/common-session file.

Add this line at the bottom:

/etc/pam.d/common-session
...
session required pam_limits.so