>What does this say? >echo $DISPLAY On frontend of compute-0-0? [mahmood@rocks7 ~]$ echo $DISPLAY :1
>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 I checked that and it was commented. I modified that and restarted the service. But still get the same error [root@rocks7 mahmood]# grep X11UseLocalhost /etc/ssh/sshd_config #X11UseLocalhost yes [root@rocks7 mahmood]# vim /etc/ssh/sshd_config [root@rocks7 mahmood]# systemctl restart sshd sshd@ sshd-keygen.service sshd.service sshd.socket [root@rocks7 mahmood]# systemctl restart sshd [root@rocks7 mahmood]# grep X11UseLocalhost /etc/ssh/sshd_config X11UseLocalhost no [root@rocks7 mahmood]# exit exit [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. Should I modify that parameter on compute-0-0 too? Regards, Mahmood