Excuse me, the last email was mistakenly sent.
The ssh config seems to be fine [root@rocks7 ~]# grep X11 /etc/ssh/sshd_config X11Forwarding yes X11UseLocalhost no Werner, I am running that command on TTY. As you can see, I can run xclock while sshing to the node [mahmood@rocks7 ~]$ ssh -Y compute-0-3 Last login: Mon Nov 19 19:23:07 2018 from rocks7.local Rocks Compute Node Rocks 7.0 (Manzanita) Profile built 10:57 15-Nov-2018 Kickstarted 11:17 15-Nov-2018 [mahmood@compute-0-3 ~]$ xclock Warning: Missing charsets in String to FontSet conversion ^C [mahmood@compute-0-3 ~]$ That ^C means the terminal was blocked while xclock was running. Regards, Mahmood On Mon, Nov 19, 2018 at 7:21 PM Mahmood Naderan <mahmood...@gmail.com> wrote: > With and without --x11, I am not able to see xclock on a compute node. > > [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 --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A y8 > -p RUBY xclock > Error: Can't open display: :1 > srun: error: compute-0-3: task 0: Exited with exit code 1 > [mahmood@rocks7 ~]$ > [mahmood@rocks7 ~]$ rocks run host compute-0-3 "yum list libssh2-devel" > Warning: untrusted X11 forwarding setup failed: xauth key data not > generated > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > Installed Packages > libssh2-devel.x86_64 1.4.3-10.el7_2.1 > @Rocks-7.0 > Available Packages > libssh2-devel.i686 1.4.3-10.el7_2.1 > Rocks-7.0 > [mahmood@rocks7 ~]$ rocks run host compute-0-3 "yum list xorg-x11-apps" > Warning: untrusted X11 forwarding setup failed: xauth key data not > generated > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > Installed Packages > xorg-x11-apps.x86_64 7.7-7.el7 > @Rocks-7.0 > > > The ssh config seems to be right > > > > Regards, > Mahmood > > > > > On Mon, Nov 19, 2018 at 3:27 PM Chris Samuel <ch...@csamuel.org> wrote: > >> On Sunday, 18 November 2018 4:24:08 AM AEDT Mahmood Naderan wrote: >> >> > >What does this command say? >> > > >> > >scontrol show config | fgrep PrologFlags >> > >> > [root@rocks7 ~]# scontrol show config | fgrep PrologFlags >> > PrologFlags = Alloc,Contain,X11 >> > >> > That means x11 has been compiled in the code (while Werner created the >> > roll). >> >> No, that means that you've got the PrologFlags set in your slurm.conf, >> I'm >> afriad it doesn't mean Slurm is compiled with X11 support. >> >> > >Check your slurmd logs on the compute node. What errors are there? >> > >> > In one terminal, I run the following command >> > >> > [mahmood@rocks7 ~]$ srun --nodelist=compute-0-5 -n 1 -c 6 --mem=8G -A >> y8 -p >> > RUBY xclock >> > Error: Can't open display :1 >> > srun: error: compute-0-5: task 0: Exited with exit code 1 >> >> You forgot the --x11 flag to srun! >> >> Can you try again with that flag please? >> >> All the best, >> Chris >> -- >> Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC >> >> >> >> >>