[Ubuntu-x-swat] [Bug 368282] Re: apport sometimes prints "Cannot open display" when run over ssh

2010-01-25 Thread Launchpad Bug Tracker
This bug was fixed in the package xorg - 1:7.5+1ubuntu2 --- xorg (1:7.5+1ubuntu2) lucid; urgency=low [ David Planella ] * Completed internationalisation support for failsafeXinit (LP: #335678) [ Didier Roche ] * debian/local/Xsession.d/20x11-common_process-args: Add support f

[Ubuntu-x-swat] [Bug 368282] Re: apport sometimes prints "Cannot open display" when run over ssh

2009-09-02 Thread Martin Pitt
This actually comes from xorg's package hook. I guess there's no way around having $DISPLAY set for some commands, but maybe it can be quiesced a bit. Something like this, perhaps: if os.environ.get('DISPLAY'): # do commands which need $DISPLAY # do commands which don't need $DISPLAY **