Hi Richard, Thank you for the reply. The UI is needed - because the application which is computing pops up a terminal or console once the job is submitted. I tried suppressing the output and also tried to redirect it to NULL, both didn't work. The DISPLAY environment is not set at all in the start script. regarding xvfb - is it possible to run it even if X server is running on all the compute nodes? Thank you.
--- On Fri, 4/3/11, Reuti <[email protected]> wrote: From: Reuti <[email protected]> Subject: Re: [gridengine users] Cannot connect to X server To: "Bharanidharan Narayanaswamy" <[email protected]> Cc: "[email protected] Users" <[email protected]> Date: Friday, 4 March, 2011, 8:40 PM Am 04.03.2011 um 15:43 schrieb Bharanidharan Narayanaswamy: > The X11 forwarding is "yes" in the sshd_config on both the master and the > compute nodes. > > Can the rlogin_command and rlogin_daemon used of submitting batch jobs using > qsub? No. Only for interactive jobs started with `qrsh`. You want X11 output for jobs submitted by `qsub` - means: at time the job gets executed there should suddenly a window pop up on your workstation? -- Reuti > I'm now setting up the rlogin_command and rlogin_daemon, will update once it > is done. > > Thanks, > Bharani > > > --- On Fri, 4/3/11, Reuti <[email protected]> wrote: > > From: Reuti <[email protected]> > Subject: Re: [gridengine users] Cannot connect to X server > To: "Bharanidharan Narayanaswamy" <[email protected]> > Cc: "[email protected] Users" <[email protected]> > Date: Friday, 4 March, 2011, 7:15 PM > > Hi, > > Am 04.03.2011 um 13:31 schrieb Bharanidharan Narayanaswamy: > > > I'm submitting a batch job, the job gets triggered in the compute nodes but > > I get the error > > > > "Cannot connect to X server" > > > > The compute nodes are all in runlevel 5. > > > > If I login to one of the compute node and submit the command in the shell. > > It works fine. > > most likely you need X11 forwarding and setup SGE's remote startup mechanism > to use it for rlogin_command and rlogin_daemonat least: > > http://arc.liv.ac.uk/SGE/howto/qrsh_qlogin_ssh.html > > and add "-X -Y" as options. For a Tight Integration of an SSH startup > mechanism it might be necessary to adjust PAM in addition, but this we can > check later. > > -- Reuti >
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
