4.9.0 nightly build cannot be run on a VNC server due to Qt5-GLX problem

ferhue
Thu, 14 Jun 2018 20:02:29 +0000
Support

I am using a VNCviewer to connect to a remote Ubuntu 16 server, where I have installed 3DSlicer.

I downloaded the stable release and run it without problems as:

user@pgdev:~$ /opt/Slicer-4.8.1-linux-amd64/Slicer
Number of registered modules: 161
Number of instantiated modules: 161
Number of loaded modules: 161
Switch to module: “Welcome”
Loaded volume from file: /home/user/.config/NA-MIC/Extensions-26813/SlicerVMTK/lib/Slicer-4.8/qt-scripted-modules/Resources/Vesselness.png. Dimensions: 65x50x1. Number of components: 3. Pixel type: unsigned char.

However, with the nightly build 4.9.0, it does not work any more, thus I report the problem.

user@pgdev:~$ /opt/Slicer-4.9.0-2018-06-11-linux-amd64/Slicer
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-user’
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Could not initialize GLX
error: [/opt/Slicer-4.9.0-2018-06-11-linux-amd64/bin/SlicerApp-real] exit abnormally - Report the problem.

Seems to be a Qt5 issue. I tried the solutions posted here, but to no avail: No keyboard responding for Spyder when started through VNC · Issue #3713 · spyder-ide/spyder · GitHub

Here my system info:

user@pgdev:~$ uname -a
Linux pgdev 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
user@pgdev:~$ cat /etc/os-release
NAME=“Ubuntu”
VERSION=“16.04.4 LTS (Xenial Xerus)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 16.04.4 LTS”
VERSION_ID=“16.04”
HOME_URL=“http://www.ubuntu.com/”
SUPPORT_URL=“http://help.ubuntu.com/”
BUG_REPORT_URL=“Bugs : Ubuntu”
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

6 posts - 4 participants