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

** Package changed: apport (Ubuntu) => xorg (Ubuntu)

** Changed in: xorg (Ubuntu)
   Importance: Undecided => Low

** Changed in: xorg (Ubuntu)
       Status: New => Triaged

-- 
apport sometimes prints "Cannot open display" when run over ssh
https://bugs.launchpad.net/bugs/368282
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to