Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

synaptic fails to open

New to Linux? New to antiX? New to fluxbox?
Feel free to post questions, queries here.
We're a helpful bunch!

synaptic fails to open

Postby banshee on Sun Jun 28, 2009 12:44 am

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
User avatar
banshee
 
Posts: 36
Joined: Mon Jun 08, 2009 3:54 am

Re: synaptic fails to open

Postby secipolla on Sun Jun 28, 2009 12:53 am

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.
secipolla
 
Posts: 437
Joined: Sun Jun 15, 2008 2:56 pm
Location: São Paulo / Brazil

Re: synaptic fails to open

Postby banshee on Sun Jun 28, 2009 1:07 am

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
User avatar
banshee
 
Posts: 36
Joined: Mon Jun 08, 2009 3:54 am


Return to New users

Who is online

Users browsing this forum: No registered users and 0 guests