Page 1 of 1

synaptic fails to open

PostPosted: Sun Jun 28, 2009 12:44 am
by banshee
its a tiny problem, so i didn`t dig too deep into it. Perhaps one of you might give me a quick workaround:
when i open synaptic from the menu a "terminal" opens and asks for my root-password.
i enter it and get this:
Code: Select all
env: -c No such file or directory
Incorrect password or command failed. Try again(y/n):

When i open a terminal and open synaptic as root all is ok.
thanks for your time

Re: synaptic fails to open

PostPosted: Sun Jun 28, 2009 12:53 am
by secipolla
Here the command line in /etc/X11/icewm/programs is
Code: Select all
menu "Gerenciamento de Pacotes" folder {
  prog    "Synaptic Package Manager" /usr/share/synaptic/pixmaps/synaptic_32x32.xpm /bin/sh -c "/usr/bin/su-to-root -X -c /usr/sbin/synaptic"
}

and it works.

This file is auto-generated by IceWM, you can edit it as you like but it will be reset in case you update the icewm package.

Re: synaptic fails to open

PostPosted: Sun Jun 28, 2009 1:07 am
by banshee
secipolla wrote:Here the command line in /etc/X11/icewm/programs is
Code: Select all
menu "Gerenciamento de Pacotes" folder {
  prog    "Synaptic Package Manager" /usr/share/synaptic/pixmaps/synaptic_32x32.xpm /bin/sh -c "/usr/bin/su-to-root -X -c /usr/sbin/synaptic"
}

and it works.

This file is auto-generated by IceWM, you can edit it as you like but it will be reset in case you update the icewm package.


i compared your entry with mine and they are equal. During that i had the idea to install gksu and now am getting a pop-up-window asking for my root-password and may open synaptic (might be i have removed gksu beforehand, i`m not sure). thanks