Synaptic runs without administrative privileges when run from the launcher

Bug #1068988 reported by Mustafa Muhammad
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I run Synaptic from the Unity launcher, it doesn't start with super user privileges, when running from the dash it works fine, I think the desktop file needs the command "gksu synaptic" or something like it, not only "synaptic".

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: synaptic 0.75.12build1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 20 11:09:59 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: synaptic
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mustafa Muhammad (mustafa.muhammad) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in synaptic (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Chambers (tbc0) wrote :

Here's a nice workaround, at least. First unlock it from the launcher. Then start synaptic from the command line. Unity will show the icon in the launcher. At this point, you can lock to launcher, and Unity knows you launched with sudo.

Revision history for this message
Vince (thehappytrucker) wrote :

This bug did affect me.Then I opened the dash typed syn and synaptic asked for my password,Then I dropped synaptic to unity launcher and it worked right.

Revision history for this message
Robert Roth (evfool) wrote :

The correct command to execute would be synaptic-pkexec, I will try to check where the old synaptic executable is being called from.

Revision history for this message
Marco (marco-depa) wrote :

I had the same problem (Ubuntu 12.10).
I installed synaptic from Ubuntu software center and it has this problem.
I removed it and then I installed it from terminal. Now it's working properly.

Revision history for this message
Martin Spacek (mspacek) wrote :

In Xubuntu 14.04, I found I had to replace the exec line in my synaptic.desktop file from "synaptic-pkexec" to "gksu synaptic". Not sure if it's related, but I seem to be having lots of DBus-related issues in Xubuntu 14.04. Argh.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.