[slurm-users] Slurm 18.08 X11 Errors
Loris Bennett
loris.bennett at fu-berlin.de
Sun Sep 16 23:47:35 MDT 2018
Luca Cenzato <luca.cenzato at gmail.com> writes:
> 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
Shouldn't you be using -X when connecting from NB to SLS?
> 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
>
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett at fu-berlin.de
More information about the slurm-users
mailing list