[slurm-users] slurm-17.11.5 usage of X11

Philippe Grevet philippe.grevet at ips2.universite-paris-saclay.fr
Wed Apr 11 01:56:11 MDT 2018


We have some problem to use native X11 of the new slurm version (17.11.5) compiled from source on Debain stretch. 
Before we use the plugin spank with no problem on an older version of slurm. 

I have first this error 
"error: X11 forwarding not built in, cannot enable." 

After reading different mails,i add 

in slurm.conf 

and in /etc/ssh/sshd_config (on head login server of the cluster) 


The error change and become 

X11 connection rejected because of wrong authentication. 

X11Forwarding is working because if i first open a interactive session, and then connect whith ssh -X on the node, the x-application is working fine and displayed on my client computer. 

Then I look at .Xauthority file 
( first i removed it and recreate a new) 

#ssh -X me at cluster 

#echo $DISPLAY 

#xauth list 
cluster.ips2.u-psud.fr:11 MIT-MAGIC-COOKIE-1 2809a05f53f693e416682f4befa76a39 
$ srun --pty bash --init-file /etc/profile 

me at node4:~$ echo $DISPLAY 
#$ xauth list 
node4.ips2.u-psud.fr:11 MIT-MAGIC-COOKIE-1 2809a05f53f693e416682f4befa76a39 

###the hostname is now the hostname of the node 

me at node4:~$ xeyes 
X11 connection rejected because of wrong authentication. 
Error: Can't open display: cluster:11.0 

###But if i add : 
me at node4:~$ xauth add cluster.ips2.u-psud.fr:11 MIT-MAGIC-COOKIE-1 2809a05f53f693e416682f4befa76a39 

#I now can run x-application 

Have you an idea of the problem ? 

(User login/password authentification of the cluster are done again an Active Directory annuaire with sssd ) 

	Philippe GREVET 
philippe.grevet at ips2.universite-paris-saclay.fr 
Tel 0169153393 Bureau - 241 B√Ętiment -630 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180411/623c88f4/attachment.html>

More information about the slurm-users mailing list