Hello, 

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 

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

X11UseLocalhost=no 


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@cluster 

#echo $DISPLAY 
cluster:11.0 

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

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

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

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

###But if i add : 
# 
me@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.gre...@ips2.universite-paris-saclay.fr 
Tel 0169153393 Bureau - 241 Bâtiment -630 
http://www.ips2.u-psud.fr/ 


Reply via email to