← Back to team overview

dx-packages team mailing list archive

[Bug 1275076] Re: pkexec cannot be used in Unity!

 

** Project changed: unity => unity (Ubuntu)

-- 
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/1275076

Title:
  pkexec cannot be used in Unity!

Status in “unity” package in Ubuntu:
  New

Bug description:
  polkit's pkexec replacement for gksu/gksudo, does not work in unity,
  nothing appears to happen. The error can be seen by launching Ubuntu
  12.04 or 12.10 (and possibly 13.10), opening a terminal, and typing
  "unity --replace", then launching an app requiring pkexec in the dash.
  The error "Refusing to render service to dead parents." is shown upon
  launch, and nothing appears to happen on the desktop. I can confirm
  this happens in both Precise and Quantal, and perhaps (untested) in
  Saucy. It doesn't happen in Trusty, as of 30 Jan.  This affects quite
  a few applications, and prevents them from running, and also affects
  mine. For the mean time I'll fix it by using gksudo in my .desktop
  files for Ubuntu only, but it's only a matter of time until gksudo is
  deprecated, and removed from the PPAs. Update: if you adopt gparteds
  method from a bash script, it does work.

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