>I suspect if you do: >echo $DISPLAY >it will say something like :0 and Slurm doesn't allow that at present.
Actually that is not applicable here. Please see below [mahmood@rocks7 ~]$ echo $DISPLAY :1 [mahmood@rocks7 ~]$ srun --x11 --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A y8 -p RUBY xclock srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays. [mahmood@rocks7 ~]$ srun --x11 --export=TERM --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A y8 -p RUBY xclock srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays. [mahmood@rocks7 ~]$ Regards, Mahmood