[slurm-users] x11 forwarding not available?

Dave Botsch botsch at cnf.cornell.edu
Tue Oct 16 09:39:32 MDT 2018


Ok. Progress.

Per:

https://bugs.schedmd.com/show_bug.cgi?id=4721

I was missing PrologFlags=x11 in slurm.conf .

So now my issue is just that X11 forwarding doesn't work... slurmd.log:

[2018-10-16T11:38:34.136] [27.extern] error: ssh public key
authentication failure: Username/PublicKey combination invalid
[2018-10-16T11:38:34.136] [27.extern] error: x11 port forwarding setup
failed
[2018-10-16T11:38:34.136] [27.extern] error: _spawn_job_container:
failed retrieving x11 display value: No such file or directory
[2018-10-16T11:38:34.146] [27.extern] done with job
[2018-10-16T11:38:34.297] launch task 27.0 request from
1000.1000 at 10.84.184.133 (port 3287)
[2018-10-16T11:38:34.357] error: could not get x11 forwarding display
for job 27 step 0, x11 forwarding disabled
[2018-10-16T11:38:34.364] [27.0] in _window_manager

Will have to try RSA again and see if that gets things going.

On Mon, Oct 15, 2018 at 05:51:10PM -0400, Dave Botsch wrote:
> 
> 
> Wanted to test X11 forwarding. X11 forwarding works as a normal user
> just ssh'ing to a node and running xterm/etc.
> 
> With srun, however:
> 
> srun -n1 --pty --x11 xterm
> srun: error: Unable to allocate resources: X11 forwarding not available
> 
> So, what am I missing?
> 
> Thanks.
> 
> PS
> 
> srun --version
> slurm 17.11.7
> 
> rpm -qa |grep slurm
> ohpc-slurm-server-1.3.5-8.1.x86_64
> ...
> 
> 
> -- 
> ********************************
> David William Botsch
> Programmer/Analyst
> @CNFComputing
> botsch at cnf.cornell.edu
> ********************************
> -- 
> ********************************
> David William Botsch
> Programmer/Analyst
> @CNFComputing
> botsch at cnf.cornell.edu
> ********************************
> 

-- 
********************************
David William Botsch
Programmer/Analyst
@CNFComputing
botsch at cnf.cornell.edu
********************************



More information about the slurm-users mailing list