[gridengine users] How to export an X11 back to the client?

William Hay w.hay at ucl.ac.uk
Thu May 7 09:07:13 UTC 2020

On Wed, May 06, 2020 at 11:10:40PM +0000, Mun Johl wrote:
> [Mun] In order to use ssh -X for our jobs that require an X11 window to be pushed to a user's VNC display, I am planning on the following changes.  But please let me know if I have missed something (or everything).
> 1. Update the global configuration with the following parameters:
>      rsh_command         /usr/bin/ssh -X
>      rsh_daemon          /usr/sbin/sshd -i

As you are using the pam_sge-qrsh-setup.so you will need to set
rsh_daemon to point to a rshd-wrapper which you should find in
$SGE_ROOT/util/resources/wrappers eg if $SGE_ROOT is /opt/sge

rsh_command /usr/bin/ssh -X
rsh_daemon /opt/sge/util/resources/wrappers/rshd-wrapper

> 2. Use a PAM module to attach an additional group ID to sshd.  The following line will be added to /etc/pam.d/sshd on all SGE hosts:
>       auth required /opt/sge/lib/lx-amd64/pam_sge-qrsh-setup.so
> 3. Do I need to restart all of the SGE daemons at this point?

No it should be fine without a restart

> 4. In order to run our GUI app, launch it thusly:
>       $ qrsh -now no wrapper.tcl

That looks fine, assuming sensible default resource requests, although
obviously I don't know the details of the wrapper or application.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://gridengine.org/pipermail/users/attachments/20200507/e20f36c4/attachment.sig>

More information about the users mailing list