Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My synaptic package manager not launching from application menu but i can launch it from terminal with gksudo synaptic . I have tried several times but from application menu i can't launch it .

The command is synaptic-pkexec is for launching it .

share|improve this question
There is not enough information in your question. Can you post the contents from synaptic launcher. It is located in /usr/share/applications. It is either synaptic-pkexec.desktop or synaptic.desktop (Not using Ubuntu now, so I cannot check) – Aleksandar Sep 9 '12 at 9:29
@Aleksandar Thanks for responding , i am not getting what you are saying .could you explain more ? – Raja Sep 9 '12 at 9:31
Go to "Main menu" and see what the synaptic launcher command is. – To Do Sep 9 '12 at 9:33
@August, do what ToDo said. – Aleksandar Sep 9 '12 at 9:48
Yes, goto Main Menu and see what has changed in Synaptic Menu. – Naveen Sep 9 '12 at 12:28
up vote 7 down vote accepted

You can fix it by following:

  1. Open terminal (ctrl+alt+T) and execute:

    gksudo gedit /usr/share/applications/synaptic.desktop

    If gksudo is not installed, you can just install it. It's provided by the gksu Install gksu package.

    (Or you can run sudo -H gedit instead. But avoid sudo gedit).

  2. Change line Exec=synaptic-pkexec to Exec=gksudo synaptic.

  3. Save file and close text editor.

share|improve this answer
It will allow you to easily launch synaptic, but wont remove bug. If you want to remove bug run pkexec --user root nautilus(in gnome). It should ask you for password and run file manager (nautilus) as root - write here, if it wont work. – kubahaha Sep 10 '12 at 16:52
hi +1 , but actually i did an aswer by mixing both of you guys i mean Naveen , To Do and yours . I have opened terminal and typed as alacarte and found synaptic , in its properties i have replaced that command with gksudo synaptic and that did the trick . Thank you both of you . – Raja Sep 10 '12 at 18:46
@kubahaha I have exactly the same problem, synaptic-pkexec does not start. It asks for authentication and does nothing later. pkexec -- user root nautilus produces the same behaviour. The error is: No protocol specified ** (nautilus:3040): WARNING **: Could not open X display (nautilus:3040): Gtk-WARNING **: cannot open display: What could be wrong? – deshmukh Sep 4 '13 at 9:57
Use a policy kit – iyrin Apr 19 '15 at 18:53
it open to me a new document to edit. totally empty. I cannot do step 2. any tip ? – Suda.nese Oct 27 '15 at 11:45

I encountered the same problem, while I was trying to set up a new IBus input method for my newly installed Lubuntu 12.04.

I resolved the problem by purging and re-installing the IBus package:

sudo apt-get remove --purge ibus
sudo apt-get instal ibus

My Synaptic Package Manager now launches again, its application shortcut remains 'synaptic-pkexec' unchanged.

share|improve this answer
I don't see what the ibus package have to do with Synaptic. – Braiam Aug 25 '13 at 14:37

protected by Community Jan 26 at 14:18

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.