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