<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Mahmood,<br>
<br>
please open a console in the VNC session, do a ssh -Y rocks7 in the
console (yes, relogin to the console) and try it again.<br>
SLURM does not want to use local displays, and a VNC session is a
"local" display, as far as it concerns linux and the X11 subsystem.<br>
So, you need to relogin or login to another frontend node by ssh to
get a remote display.<br>
<br>
<br>
Best<br>
Marcus<br>
<br>
<div class="moz-cite-prefix">On 5/15/19 7:21 AM, Mahmood Naderan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADa2P2VC9j74SgjVHaTA+OvBOD7FfP4unokC6DAcfz6bkE6fpQ@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default"
style="font-family:tahoma,sans-serif">>No, but you'll
need to logout of rocks7 and ssh back into it.<span
class="gmail-"><br>
></span>Are you physically logged into rocks7? Or
are you connecting via SSH? $DISPLAY = :1 kind of means
that you are physically logged into the machine<span
class="gmail-"></span></div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr"><font face="tahoma,sans-serif"><br>
<br>
</font></div>
<div><font face="tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">I am
connecting through a vnc session. Right now, I
have access to the desktop of the frontend and I
open a terminal and run things.<br>
</span></font></div>
<div><font face="tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">I even <br>
</span></font></div>
<div><font face="tahoma,sans-serif"><span
class="gmail_default"
style="font-family:tahoma,sans-serif">xclock is
working on the frontend and compute-0-0 (through
ssh -Y).<br>
</span><br>
</font></div>
<div dir="ltr"><font face="tahoma,sans-serif"><br>
Regards,<br>
Mahmood</font><br>
<br>
<br>
</div>
</div>
</div>
<br>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Marcus Wagner, Dipl.-Inf.
IT Center
Abteilung: Systeme und Betrieb
RWTH Aachen University
Seffenter Weg 23
52074 Aachen
Tel: +49 241 80-24383
Fax: +49 241 80-624383
<a class="moz-txt-link-abbreviated" href="mailto:wagner@itc.rwth-aachen.de">wagner@itc.rwth-aachen.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.itc.rwth-aachen.de">www.itc.rwth-aachen.de</a>
</pre>
</body>
</html>