[slurm-users] X11 forwarding issues

Russell Jones arjones85 at gmail.com
Mon Nov 16 16:28:49 UTC 2020


Hi all,

Hoping I can get pointed in the right direction here.

I have X11 forwarding enabled in Slurm, however I cannot seem to get it
working properly. It works when I test with "ssh -Y" to the compute node
from the login node, however when I try through Slurm the Display variable
looks very different, and I get an error. Example below:

[user at cluster-1 ~]$ ssh -Y cluster-cn02
Last login: Mon Nov 16 10:09:18 2020 from 172.21.150.10
-bash-4.2$ env | grep -i display
DISPLAY=172.21.150.102:10.0
-bash-4.2$ xclock
Warning: Missing charsets in String to FontSet conversion
** Clock pops up and works **

[user at cluster-1 ~]$ srun -p cluster -w cluster-cn02 --x11 --pty bash -l
bash-4.2$ env | grep -i display
DISPLAY=localhost:28.0
bash-4.2$ xclock
Error: Can't open display: localhost:28.0


Any ideas on where to begin looking? I'm not sure why the display variable
is being set to localhost instead of the login node.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20201116/74e292ab/attachment.htm>


More information about the slurm-users mailing list