Hi Loris,

yes, I am using "-X"; it's aliased and I forgot to wrote "\ssh -X" in the
tests.

I forgot also that:
all servers are running CentOs 7.5;
I've updated from 17.11.9-2 (not tested, only checked the installation
procedure)

Thanks!
Luca


Il giorno lun 17 set 2018 alle ore 07:51 Loris Bennett <
loris.benn...@fu-berlin.de> ha scritto:

> Luca Cenzato <luca.cenz...@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.benn...@fu-berlin.de
>
>

Reply via email to