[slurm-users] X11 forwarding and VNC?

Loris Bennett loris.bennett at fu-berlin.de
Fri Mar 22 13:44:37 UTC 2019


Hi,

I'm using 18.08.6-2 and have got X11 forwarding working using the
in-built mechanism.  This works fine for users who log in with 'ssh -X'
and then do 'srun --x11 --pty bash'.

However, I have users who start a VNC session on the login node and when
they run the srun command above from an xterm within the VNC session,
they get

  srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays.

Does anyone have any ideas whether this can be made to work and, if so,
how?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de



More information about the slurm-users mailing list