<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
On the head-node, I have set <br>
X11UseLocalhost no<br>
in /etc/ssh/sshd_config.<br>
<br>
Then I login from my workstation to the head-node with the command<br>
ssh -Y ....<br>
<br>
Then I simply run:<br>
srun xclock<br>
<br>
and this is working. <br>
<br>
<p><br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/17/2018 06:24 PM, Mahmood Naderan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADa2P2WpXzOqgnnjXzD94O2Fh+KoRbi=TediXVQq=YwqzEfqSg@mail.gmail.com"><span
class="gmail-im">scontrol show config | fgrep PrologFlags</span></blockquote>
<br>
</body>
</html>