[slurm-users] slurm 18.08 - x11 forwarding issue
Olivier Sallou
olivier.sallou at irisa.fr
Wed Oct 10 03:49:36 MDT 2018
Hi,
I have setup slurm and enabled x11 forwarding (native).
I connect to a node from a submission node:
srun --ntasks-per-node=1 --mem 100 --x11 --pty bash
I am connected to the node.
in debug logs, I can see that x11 setup is OK:
...
[2018-10-10T09:27:48.142] [131.extern] X11 forwarding established on
DISPLAY=cl1n015:92.0
[2018-10-10T09:27:48.142] [131.extern] debug: x11 forwarding local
display is 92
[2018-10-10T09:27:48.142] [131.extern] debug: x11 forwarding local
xauthority is .../.Xauthority
[2018-10-10T09:27:48.142] [131.extern] debug: x11 forwarding - sending
keepalive message
...
I have a display assigned:
bash-4.2$ echo $DISPLAY
localhost:30.0
and Xauthority is updated:
bash-4.2$ xauth list
osallou/unix:11 MIT-MAGIC-COOKIE-1 .....2593f3c305e42754
slurmmaster/unix:10 MIT-MAGIC-COOKIE-1 ....b654ee70b8ccd7ad176
==> cl1n015/unix:30 MIT-MAGIC-COOKIE-1 ...b654ee70b8ccd7ad176
But x11 fails:
bash-4.2$ xterm
X11 connection rejected because of wrong authentication.
xterm: Xt error: Can't open display: localhost:30.0
If I ssh as root to the node with -X flag, the xterm command works as
expected, so this is not a X problem itself.
I do not see any error in system or slurm logs.
Any idea ? I found many issues related to X11 with slurm but could not
find a solution for me.
Thanks
--
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
More information about the slurm-users
mailing list