← Back to team overview

dx-packages team mailing list archive

[Bug 1324114] Re: Unity kills running compiz, even if it belongs to a different Unity session

 

I'm not working on Compiz/Unity anymore, but I agree with the bug
description and the comments to where compiz/unity headed to today.

We had a lot of stability problem at the time, hence this helper to
reset unity (which is never used in the session itself to start unity).
Stephen's team will handle it. I'm accepting the SRU nomination for
trusty as well.

** Also affects: unity (Ubuntu Trusty)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1324114

Title:
  Unity kills running compiz, even if it belongs to a different Unity
  session

Status in Unity:
  Triaged
Status in Unity 7.2 series:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged
Status in “unity” source package in Trusty:
  New

Bug description:
  Hi!

  I'm trying to get a setup with two different Unity desktop sessions
  running at the same time.  One for the local desktop, one for a remote
  desktop.  This almost works, except that when starting the second
  Unity session, the compiz process that belongs to the first one is
  killed because of this code in /usr/bin/unity:

      # kill a previous compiz if was there (this is a hack as compiz can
      # sometimes get stuck and not exit on --replace)
      subprocess.call (["pkill", "-9", "compiz"])

  Commenting this line makes both desktop sessions work fine.

  This kill is far too harsh.  If you want to kill compiz, you should
  make sure that you are killing it in the same DISPLAY as the session
  that you are about to start, and not just every possible compiz
  process that is running.

  Please consider either removing the kill or making it apply only to
  processes in the same DISPLAY.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1324114/+subscriptions