[gridengine users] Cannot connect to X server

Bharanidharan Narayanaswamy bharanitn at yahoo.com
Fri Mar 4 14:43:41 UTC 2011


Hi Reuti,
Thank you for the reply.
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? 
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 <reuti at staff.uni-marburg.de> wrote:

From: Reuti <reuti at staff.uni-marburg.de>
Subject: Re: [gridengine users] Cannot connect to X server
To: "Bharanidharan Narayanaswamy" <bharanitn at yahoo.com>
Cc: "users at gridengine.org Users" <users at gridengine.org>
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20110304/7d41a806/attachment.html>


More information about the users mailing list