Posts: 38
banshee
Joined: 08 Jun 2009
#1
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
secipolla
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#2
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.
Posts: 38
banshee
Joined: 08 Jun 2009
#3
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