Subject: Bug#1312: QT applications crash with x2go server 4.1.0.2 on Ubuntu 18.04 LTS

From: <[email-masked]>
Date: Sun, 5 Aug 2018 13:15:09 +0200 (CEST)

Package: x2goserverVersion: 4.1.0.2-0~1642~ubuntu18.04.1
I updated x2go server from the stable repo on Ubuntu 18.04 LTS recently and after the update no QT application works anymore.All QT applications crash with the following message:
The X11 connection broke: Maximum allowed requested length exceeded (code 4)

For example starting vlc output the following:
VLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264)[000056315dfa6570] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.The X11 connection broke: Maximum allowed requested length exceeded (code 4)XIO:  fatal IO error 22 (Das Argument ist ungültig) on X server ":50.0"      after 428 requests (428 known processed) with 0 events remaining.QMutex: destroying locked mutex
It worked perfectly before the update.
Package list on server:
ii  libx2go-log-perl                      4.1.0.2-0~1642~ubuntu18.04.1                all          Perl X2Go::Log package
ii  libx2go-server-db-perl                4.1.0.2-0~1642~ubuntu18.04.1                amd64        Perl X2Go::Server:DB packageii  libx2go-server-perl                   4.1.0.2-0~1642~ubuntu18.04.1                all          Perl X2Go::Server packageii  x2goserver                            4.1.0.2-0~1642~ubuntu18.04.1                amd64        X2Go serverii  x2goserver-common                     4.1.0.2-0~1642~ubuntu18.04.1                amd64        X2Go Server (common files)ii  x2goserver-extensions                 4.1.0.2-0~1642~ubuntu18.04.1                all          X2Go Server (extension support)ii  x2goserver-fmbindings                 4.1.0.2-0~1642~ubuntu18.04.1                all          X2Go Server (file manager bindings)ii  x2goserver-printing                   4.1.0.2-0~1642~ubuntu18.04.1                all          X2Go server (printing support)ii  x2goserver-x2goagent                  4.1.0.2-0~1642~ubuntu18.04.1                amd64        X2Go Server's X2Go Agentii  x2goserver-xsession                   4.1.0.2-0~1642~ubuntu18.04.1                all          X2Go Server (Xsession runner

Best Regards
Gruenni