[slurm-users] X11 forwarding issues
Russell Jones
arjones85 at gmail.com
Mon Nov 16 17:50:01 UTC 2020
Hello,
Thanks for the reply!
We are using Slurm 20.02.0.
On Mon, Nov 16, 2020 at 10:59 AM sathish <sathish.sathishkumar at gmail.com>
wrote:
> Hi Russell Jones,
>
> I believe you are using a slurm version older than 19.05. X11 forwarding
> code has been revamped and it works as expected starting from the 19.05.0
> version.
>
>
> On Mon, Nov 16, 2020 at 10:02 PM Russell Jones <arjones85 at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Hoping I can get pointed in the right direction here.
>>
>> I have X11 forwarding enabled in Slurm, however I cannot seem to get it
>> working properly. It works when I test with "ssh -Y" to the compute node
>> from the login node, however when I try through Slurm the Display variable
>> looks very different, and I get an error. Example below:
>>
>> [user at cluster-1 ~]$ ssh -Y cluster-cn02
>> Last login: Mon Nov 16 10:09:18 2020 from 172.21.150.10
>> -bash-4.2$ env | grep -i display
>> DISPLAY=172.21.150.102:10.0
>> -bash-4.2$ xclock
>> Warning: Missing charsets in String to FontSet conversion
>> ** Clock pops up and works **
>>
>> [user at cluster-1 ~]$ srun -p cluster -w cluster-cn02 --x11 --pty bash -l
>> bash-4.2$ env | grep -i display
>> DISPLAY=localhost:28.0
>> bash-4.2$ xclock
>> Error: Can't open display: localhost:28.0
>>
>>
>> Any ideas on where to begin looking? I'm not sure why the display
>> variable is being set to localhost instead of the login node.
>>
>> Thanks!
>>
>>
>
> --
> Regards.....
> Sathish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20201116/28978234/attachment.htm>
More information about the slurm-users
mailing list