<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1255">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#000000">
Hello everyone,<br>
After fighting with x11 forwarding couple of weeks, I think i've got
a few tips that can help others. <br>
<br>
I am using slurm 17.11.6 with builtin x11 forwarding with ubuntu
server distro, all servers in cluster share /home via beegfs.<br>
slurm was compiled from source.<br>
<br>
A. make sure you install libssh2-1 and libssh2-dev<br>
<br>
B. set in slurm.conf:<br>
PrologFlags=X11<br>
<br>
C. configure make and make install slurm normally.<br>
<br>
D. if you changed your one of your server host name lately you must
re-generate .Xauthority via : rm ~/.Xauthority; touch ~/.Xauthority
; sudo xauth generate :0 . trusted ;<br>
<br>
E. make sure you can ssh -X to all servers in cluster from the
loginserver without password and you can get xeyes(for example) to
work , if this step failed, lookup up on google how to setup
sshd_config or try ssh -v for debuging<br>
<br>
F. <b>tricky part: make sure your home directory is the same on all
servers (usually its the /home folder you shared across all
servers), meaning you can't have a user with local home folder on
server A and beegfs(or nfs ,etc) home folder on server B.<br>
<br>
</b>If someone else got more tips feel free to add them.<br>
<b><br>
</b>Hope it help someone, Nadav<br>
</body>
</html>