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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to