On Tue, Jul 18, 2017 at 09:23:05AM +0000, John_Tai wrote: > I'm having a DISPLAY issue in RHEL6.8 that I don't have in RHEL5. I am > using SGE6.2u6 > > > > I use VNC to connect to a linux server. By default the DISPLAY is set to > :4.0 and I can start GUI jobs locally: > > > > # echo $DISPLAY > > :4.0 > > # xclock > > > > However if I submit a GUI job it gives me a display error: > > > > # qrsh -V -b y -cwd -now n -q test.q@ibm065 xclock > > Error: Can't open display: :4.0 >
> > > At this point I set the display by adding the hostname and I can > successfully submit the job: > > > > # setenv DISPLAY `hostname`:4.0 > > # echo $DISPLAY > > ibm041:4.0 > > # qrsh -V -b y -cwd -now n -q test.q@ibm065 xclock > > > > At least, it is successful in RHEL5. > > > > However in RHEL6.8 setting the display with hostname doesn't allow GUi > jobs to start either locally or remotely: Given the way you are doing this I doubt it has much to do with gridengine per se. Check whether the xserver is listening on all interfaces or just localhost (possible tightening for security). In general I think you would need to authorise remote hosts to connect to your Xserver possibly xauth. Possibly your old setup did this behind the scenes. The other option would be to set up qrsh with ssh integration and configure the ssh for X forwarding (which is what we do here). Then you wouldn't need to fiddle with the environment variables. William
signature.asc
Description: Digital signature
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
