[slurm-users] Issue with x11

Sean Crosby scrosby at unimelb.edu.au
Tue May 14 23:29:41 UTC 2019


Hi Mahmood,

To get native X11 working with SLURM, we had to add this config to sshd_config on the login node (your rocks7 host)

X11UseLocalhost no

You'll then need to restart sshd

Sean

--
Sean Crosby
Senior DevOpsHPC Engineer and HPC Team Lead | Research Platform Services
Research Computing | CoEPP | School of Physics
University of Melbourne


On Wed, 15 May 2019 at 09:00, Mahmood Naderan <mahmood.nt at gmail.com<mailto:mahmood.nt at gmail.com>> wrote:
Hi
I think I have asked this question before, but wasn't able to fix that. While "xclock" command works by "ssh -Y", srun with x11 option fails to opens xclock.

[mahmood at rocks7 ~]$ srun --x11 --nodelist=compute-0-0 --account y4 --partition RUBY -n 1 -c 4 --mem=1GB  xclock
srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays.
[mahmood at rocks7 ~]$ sinfo --version
slurm 18.08.4

You can see the picture where xclock works.
https://pasteboard.co/IeJ0e8w.png

Any thought?

Regards,
Mahmood


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190514/9ecaef2c/attachment.html>


More information about the slurm-users mailing list