Hi,

I'm trying to deploy slurm scheduler but I'm facing some issue with x11; I
got this error :
srun: error: Cannot forward to local display. Can only use X11 forwarding
with network displays.
when I try to launch a job from a slurm login to a slurm node.

Here some tests:

from notebook [NB] -> slurm login server [SLS] -> slurm node server [SNS]

###
ssh
###

[NB] : ssh -> [SLS] : xeyes
OK

[NB] : ssh -> [SLS] : \ssh -X [SNS] : xeyes
OK

[NB] : ssh -> [SLS] : srun --x11 --pty bash -> [SNS] : xeyes
X11 connection rejected because of wrong authentication.
Error: Can't open display: localhost:59.0


####
x2go
####

[NB] : x2go -> [SLS] : xeyes
OK

[NB] : x2go -> [SLS] : srun --x11 --pty bash
srun: error: Cannot forward to local display. Can only use X11 forwarding
with network displays.

[NB] : x2go -> [SLS] : srun --pty bash -> [SNS] : xeyes
Error: Can't open display: :50

[NB] : x2go -> [SLS] : srun --pty bash -> [SNS] : export DISPLAY=[SLS]:50 ;
xeyes
OK

{same behaviour as X2go for VNC.}

Any hints please ?

Thanks,
Luca

Reply via email to