Re: [ROOT] XWindow connection for root...?

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Tue Nov 12 2002 - 20:59:36 MET


hi Daniela,

Daniela Kaefer <kaefer@fnal.gov> wrote concerning
[ROOT] XWindow connection for root...? [Tue, 12 Nov 2002 12:05:54 -0600 (CST)]
----------------------------------------------------------------------
> 
> Hello,
> 
> I am trying to process quite a lot of files with compiled code using
> root-classes. Unfortunately I am not able to process more than about 250
> files at a time - event not in the batch queues - because, when I get
> logged out on d0mino (logging in from clued0) something in the programms
> needs an XWindow connection and the jobs exit, because after a while this
> connection gets broken...


I've seen a similar problem on some LSF farms too.  Try un-setting the
DISPLAY environment variable in your script: 

  #!/bin/sh 

  unset DISPLAY 

  root ..... 

That may help.  Apparently ROOT assumes that a display is available if
DISPLAY is set, and will fail if it doesn't get a connection from a
(non-existing local) X server.  

Yours, 

 ___  |  Christian Holm Christensen 
  |_| |	 -------------------------------------------------------------
    | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|	          Denmark                    Office: (+45) 353  25 305
 ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET