Hi Mahmood, On Saturday, 24 November 2018 6:52:54 AM AEDT Mahmood Naderan wrote:
> >I suspect if you do: > >echo $DISPLAY > >it will say something like :0 and Slurm doesn't allow that at present. > > Actually that is not applicable here. Please see below > > [mahmood@rocks7 ~]$ echo $DISPLAY > > :1 Sadly that's exactly what I'm saying. Your $DISPLAY variable is : followed by a number and that's what I'm saying that Slurm forbids, though I'm not clear why. The code checks like this: if (display[0] == ':') { error("Cannot forward to local display. " "Can only use X11 forwarding with network displays."); exit(-1); } As your $DISPLAY starts with a : (signifying a local display) it will be rejected. That code was introduced in a block by this commit so unfortunately there's no reasoning for this given. commit e3140b7f8d96ced9dc85089caa65dd7c6be396fd Author: Tim Wickberg <t...@schedmd.com> Date: Wed Sep 20 12:09:34 2017 -0600 Add new x11_util.c file to src/common. Utility functions for new x11 forwarding implementation. All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC