[slurm-users] X11 forwarding and VNC?

Ryan Novosielski novosirj at rutgers.edu
Mon Mar 25 12:57:46 UTC 2019

Hash: SHA1

If the error message is accurate, the fix may be having the VNC server
not set DISPLAY equal to localhost:10.0 or similar as SSH normally
does these days, but to configure it to set DISPLAY to fqdn:10.0. We
had to do something similar with FastX.

On 3/22/19 9:44 AM, Loris Bennett wrote:
> Hi,
> I'm using 18.08.6-2 and have got X11 forwarding working using the 
> in-built mechanism.  This works fine for users who log in with 'ssh
> -X' and then do 'srun --x11 --pty bash'.
> However, I have users who start a VNC session on the login node and
> when they run the srun command above from an xterm within the VNC
> session, they get
> srun: error: Cannot forward to local display. Can only use X11
> forwarding with network displays.
> Does anyone have any ideas whether this can be made to work and, if
> so, how?

- -- 
 || \\UTGERS,     |----------------------*O*------------------------
 ||_// the State  |    Ryan Novosielski - novosirj at rutgers.edu
 || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus
 ||  \\    of NJ  | Office of Advanced Res. Comp. - MSB C630, Newark


More information about the slurm-users mailing list