[slurm-users] X11 forwarding and VNC?

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


-----BEGIN PGP SIGNED MESSAGE-----
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
      `'
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQST3OUUqPn4dxGCSm6Zv6Bp0RyxvgUCXJjQQgAKCRCZv6Bp0Ryx
vk7iAKCs/MlqWUtZySGZ3Qc2m6D1oXKZsACgyHzVhnIu2Pen+hJZuwBLWojL8Nw=
=5YqO
-----END PGP SIGNATURE-----


More information about the slurm-users mailing list