Regression : Black screen when using xrdp to connect to VNC server on console
Author: matt335672Created Jul 17, 2026Updated Jul 18, 2026
Labelsbug
xrdp version
0.10.6.1
Detailed xrdp version, build options
xrdp 0.10.6.1
A Remote Desktop Protocol Server.
Copyright (C) 2004-2026 Jay Sorg, Neutrino Labs, and all contributors.
See https://github.com/neutrinolabs/xrdp for more information.
Configure options:
--enable-devel-all
--enable-fuse
--enable-pixman
--enable-ipv6
--enable-painter
--enable-jpeg
--with-imlib2
--enable-vsock
--with-freetype2
--enable-ibus
--enable-x264
--enable-openh264
--enable-utmp
--with-libpcsclite
--enable-smartcard
--enable-neutrinordp
CC=gcc
CFLAGS=-g -fvar-tracking -Wl,-z,now -Wno-error=deprecated-declarations
Compiled with OpenSSL 3.0.13 30 Jan 2024Operating system & version
Various
Installation method
git clone & make install
Which backend do you use?
N/A (x11vnc)
What desktop environment do you use?
XFCE
Environment xrdp running on
VM
What's your client?
Remmina
Area(s) with issue?
Graphic glitches
Steps to reproduce
- Install xrdp v0.10.6.1on an XFCE based distro
- Log in to the machine console
- In a terminal, run
x11vnc --forever - Connect to session through xrdp using this stanza:
[localvnc]
name=localvnc
lib=libvnc.so
ip=localhost
port=ask5900
pamusername=asktestuser
pampassword=ask
enable_dynamic_resizing=false✔️ Expected Behavior
Desktop is displayed
❌ Actual Behavior
Black screen
Anything else?
xrdp v0.4 runs fine.
A bisect reveals the problem was intruduced by neutrinolabs/xrdp@9ef8c8d47e177a7422cf8c96a6c66eaec4b8eefd. The debugger shows the following actions occur:
- Client requests a resize
- Server shuts down graphics, including EGFX
- Server asks VNC client to resize. VNC client refuses
- Server queues a resize request to the original size.
- On completion of the state machine, EGFX surfaces are not created.
It looks like a race condition has been exposed.
This doesn't happen on devel because we've reworked the resize state machine (see #3755). It might be easiest to just backport this is v0.10.
Source: neutrinolabs/xrdp