<div dir="ltr"><div dir="ltr">Hi Loris,<div><br></div><div>yes, I am using "-X"; it's aliased and I forgot to wrote "\ssh -X" in the tests. </div><div><br></div><div>I forgot also that:</div><div>all servers are running CentOs 7.5;<br></div><div>I've updated from 17.11.9-2 (not tested, only checked the installation procedure)</div><div><br></div><div>Thanks!</div><div>Luca</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 17 set 2018 alle ore 07:51 Loris Bennett <<a href="mailto:loris.bennett@fu-berlin.de">loris.bennett@fu-berlin.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Luca Cenzato <<a href="mailto:luca.cenzato@gmail.com" target="_blank">luca.cenzato@gmail.com</a>> writes:<br>
<br>
> Hi,<br>
><br>
> I'm trying to deploy slurm scheduler but I'm facing some issue with x11; I got this error :<br>
> srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays.<br>
> when I try to launch a job from a slurm login to a slurm node.<br>
><br>
> Here some tests:<br>
><br>
> from notebook [NB] -> slurm login server [SLS] -> slurm node server [SNS] <br>
><br>
> ###<br>
> ssh<br>
> ###<br>
><br>
> [NB] : ssh -> [SLS] : xeyes <br>
<br>
Shouldn't you be using -X when connecting from NB to SLS?<br>
<br>
> OK<br>
><br>
> [NB] : ssh -> [SLS] : \ssh -X [SNS] : xeyes<br>
> OK<br>
><br>
> [NB] : ssh -> [SLS] : srun --x11 --pty bash -> [SNS] : xeyes <br>
> X11 connection rejected because of wrong authentication.<br>
> Error: Can't open display: localhost:59.0<br>
><br>
> ####<br>
> x2go<br>
> ####<br>
><br>
> [NB] : x2go -> [SLS] : xeyes <br>
> OK<br>
><br>
> [NB] : x2go -> [SLS] : srun --x11 --pty bash<br>
> srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays.<br>
><br>
> [NB] : x2go -> [SLS] : srun --pty bash -> [SNS] : xeyes<br>
> Error: Can't open display: :50<br>
><br>
> [NB] : x2go -> [SLS] : srun --pty bash -> [SNS] : export DISPLAY=[SLS]:50 ; xeyes<br>
> OK<br>
><br>
> {same behaviour as X2go for VNC.}<br>
><br>
> Any hints please ?<br>
><br>
> Thanks,<br>
> Luca<br>
><br>
-- <br>
Dr. Loris Bennett (Mr.)<br>
ZEDAT, Freie Universität Berlin         Email <a href="mailto:loris.bennett@fu-berlin.de" target="_blank">loris.bennett@fu-berlin.de</a><br>
<br>
</blockquote></div>