Create a gist now

Instantly share code, notes, and snippets.

@rmoff /gist:9687727
Last active Dec 20, 2016

What would you like to do?
XRDP - connect using any color (colour) depth

XRDP - connect using any color (colour) depth

XRDP version

xrdp 0.5.0

Problem

When connecting from mstsc or other RPD clients, unless specifying 24-bit colour depth (Millions), sesman fails. The Connection log just shows "error - problem connecting".

/var/log/xrdp-sesman.log shows:

[ERROR] X server for display 10 startup timeout
[INFO ] starting xrdp-sessvc - xpid=3620 - wmpid=3619
[ERROR] X server for display 10 startup timeout
[ERROR] another Xserver is already active on display 10
[DEBUG] aborting connection...

Solution:

Add two entries to the [Xnvc] section of /etc/xrdp/sesman.ini.

param8=-depth
param9=24

Make sure the param numbering is in sequence with what is there already.

Restart XRDP:

service xrdp restart

Now any RDP client should be able to connect, regardless of color depth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment