Re: Application and TUnixSystem::SetDisplay

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Thu, 18 Aug 2005 12:53:22 +0200


Hi Thomas,

  this issue is that this method should be called before a X11 connection is being made. A connection will be made as soon as you create a TApplication. So you should call gSystem->SetDisplay() before that.

Thomas Bretz wrote:
> Hi,
>
> it is a nice feature that also if ssh doesn't export the Display and the
> user missed to set DISPLAY root exports the display correctly. I have
> tried to implement something similar into my own application liked to
> root, but I failed. Is it possible to make the feature also working for
> executables linked to root's shared objects?
>
> Thomas.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Thu Aug 18 2005 - 12:53:28 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET