← 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

 

This bug was fixed in the package unity - 7.3.0+14.10.20140708-0ubuntu1

---------------
unity (7.3.0+14.10.20140708-0ubuntu1) utopic; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Stephen M. Webb ]
  * reduce the scope of the kill command when restarting compiz (LP:
    #1324114)

  [ Eleni Maria Stea ]
  * Changed the PreviewStyle.h/cpp to use em sizes (RawPixel).
  * Added scale factor to Preview (base class), preview container and to
    the components they contain.
  * Scaled the ApplicationPreview and the containing widgets and
    components.
  * Scaled GenericPreview and its widgets.
  * scaled ErrorPreview
  * Scaled MoviePreview and widgets

  [ Pawel Szubert ]
  * reduce the scope of the kill command when restarting compiz (LP:
    #1324114)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Tue, 08 Jul 2014 14:35:37 +0000

** Changed in: unity (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  In Progress
Status in Unity 7.2 series:
  Triaged
Status in “unity” package in Ubuntu:
  Fix Released
Status in “unity” source package in Trusty:
  Triaged

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