Skip to content

Instantly share code, notes, and snippets.

@rmoff
Last active Jul 21, 2020
Embed
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.

@mubeenk
Copy link

mubeenk commented Apr 5, 2019

You are the man. God knows how many Google suggestions I tried with no Luck. This one is magical. Thanks.

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