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...@gmail.com<mailto:mahmood...@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@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@rocks7 ~]$ sinfo --version slurm 18.08.4 You can see the picture where xclock works. https://pasteboard.co/IeJ0e8w.png Any thought? Regards, Mahmood