Problem

While we recommend to use ncu instead of ncu-ui, it is possible to use X11 to launch ncu-ui. However, this will fail with the following error message: 

CrashReporter: Qt initialization failed
Failed to load Qt platform plugin: "xcb"

Solution

To workaround this issue, you can follow these instructions:

  1. ssh -Y -J <user>@ela.cscs.ch <user>@daint.alps.cscs.ch # the -Y ssh flag enables trusted X11 forwarding.
  2. wget https://jfrog.svc.cscs.ch/artifactory/cscs-reframe-tests/nvidia/ncu_deps.tar.gz
  3. tar xf ncu_deps.tar.gz
  4. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/usr/lib64
  5. ncu-ui &