[slurm-users] x11 forwarding not available?

R. Paul Wiegand rpwiegand at gmail.com
Mon Oct 15 19:31:26 MDT 2018


I believe you also need:

X11UseLocalhost no



> On Oct 15, 2018, at 7:07 PM, Dave Botsch <botsch at cnf.cornell.edu> wrote:
> 
> Hi.
> 
> X11 forwarding is enabled and works for normal ssh.
> 
> Thanks.
> 
> On Mon, Oct 15, 2018 at 09:55:59PM +0000, Rhian Resnick wrote:
>> 
>> 
>> Double check /etc/ssh/sshd_config allows X11 forwarding on the node as it is disable by default. (I think)
>> 
>> 
>> X11Forwarding yes
>> 
>> 
>> 
>> 
>> Rhian Resnick
>> 
>> Associate Director Research Computing
>> 
>> Enterprise Systems
>> 
>> Office of Information Technology
>> 
>> 
>> Florida Atlantic University
>> 
>> 777 Glades Road, CM22, Rm 173B
>> 
>> Boca Raton, FL 33431
>> 
>> Phone 561.297.2647
>> 
>> Fax 561.297.0222
>> 
>> [image] <https://hpc.fau.edu/wp-content/uploads/2015/01/image.jpg>
>> 
>> 
>> ________________________________
>> From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Dave Botsch <botsch at cnf.cornell.edu>
>> Sent: Monday, October 15, 2018 5:51 PM
>> To: slurm-users at lists.schedmd.com
>> Subject: [slurm-users] x11 forwarding not available?
>> 
>> 
>> 
>> 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