gksu does not work in dapper for me

Bug #28866 reported by Ralph
10
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned
gksu (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Gksu does not work in dapper right now. It's always giving me the error message that the password was wrong.

Gksudo on the other hand works just fine.

Revision history for this message
sam tygier (samtygier) wrote :

that is the correct behaviour unless you have set up a root pass word.

su is for change user (usually to root)
sudo is for run a program with the priviliges of another user.

also gnome-sudo should be used instead of gksudo, i believe for enviromental variable reasons.

see https://wiki.ubuntu.com/RootSudo for details of the sudo system

sam tygier (samtygier)
Changed in gksu:
status: Unconfirmed → Rejected
Revision history for this message
Ralph (ralph-ubuntu) wrote :

Then let me be more specific:
synaptic, gnome-user-manager, gdebi try to use gksu by default, which of course does not work!

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Gksu has a gconf option that makes it use sudo as default backend when gksu is called. In dapper we switched to use that instead of modifying every desktop file that uses gksu to gksudo.

Please send the output of:
$ gconftool-2 --get --ignore-schema-defaults /apps/gksu/sudo-mode

It should be "No value set for `/apps/gksu/prompt' if you haven't modified it with gconf-editor or gconftool-2 --set

You can use this to set it:
$ gconftool-2 --set /apps/gksu/sudo-mode --type boolean true

Changed in gksu:
assignee: nobody → mvo
status: Rejected → Needs Info
Revision history for this message
Ralph (ralph-ubuntu) wrote :

Ah, I see.

The output is (in German):
ralph@ubuntu:~$ gconftool-2 --get --ignore-schema-defaults /apps/gksu/sudo-mode
»/apps/gksu/sudo-mode« wurde kein Wert zugewiesen

Which translates to no value set.

Setting gksu to use sudo as you described works like a charm.
Thank you.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for testing this.

There is still a bug somewhere, because you should get sudo mode as default with the current gksu. Can you please post the result of:

$ grep -A 3 "sudo-mode" /usr/share/gconf/schemas/gksu.schemas

Thanks,
 Michael

Revision history for this message
Ralph (ralph-ubuntu) wrote :

ralph@ubuntu:~$ grep -A 3 "sudo-mode" /usr/share/gconf/schemas/gksu.schemas
      <key>/schemas/apps/gksu/sudo-mode</key>
      <applyto>/apps/gksu/sudo-mode</applyto>
      <owner>gksu</owner>
      <type>bool</type>
      <default>false</default>

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks! This is very odd because gksu is shiped with <default>true</default> in ubuntu/dapper.

Can you please run:
$ dpkg -l gksu
now and tell me the result?

On dapper, that should be "1.3.6-1ubuntu6". What do you get?

Revision history for this message
Ralph (ralph-ubuntu) wrote :

Weird, I'm getting 1.3.6-1ubuntu1

Dapper is fully upgraded though.
Maybe it's a ppc specific problem, as I'm using a ppc machine here?

Revision history for this message
Michael Vogt (mvo) wrote : Re: [Bug 28866] gksu does not work in dapper for me

On Fri, Jan 20, 2006 at 12:33:29PM -0000, Ralph Schuengel wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/28866
>
> Comment:
> Weird, I'm getting 1.3.6-1ubuntu1
>
> Dapper is fully upgraded though.
> Maybe it's a ppc specific problem, as I'm using a ppc machine here?

Yes, it's ppc specific, apparently later versions of gksu don't build
on ppc, I look into this now.

Cheers,
 Michael

--
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo

Revision history for this message
Stephen McClain (smcclain) wrote :

I'm getting this same problem, and I'm running a fully updated dapper on a 686 kernel. Same gksu version and all. So I'm thinking this isn't exactly a PPC problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The gksu task is enough for that

Revision history for this message
Michael Vogt (mvo) wrote :

Stephen, can you please run the gconftool-2 commands mentioned earlier in this thread and post the result here?

Thanks,
 Michael

Revision history for this message
Sean Harshbarger (harshy) wrote :

Looks like the same issue on amd64 test beds. gksu is still at 1.3.6-1ubuntu1 as of 2/28/06.

Booleans and settings follow the same as above.

Revision history for this message
Michael Vogt (mvo) wrote :

The current version of gksu in dapper is up-to-date in all official arches. Can you confirm that this problem is fixed for you (when you upgrade)?

Thanks,
 Michael

Revision history for this message
Matt Zimmerman (mdz) wrote :

We're fairly confident this is fixed (simple matter of the package being out of date on some architectures(, and no one has responded to the request for confirmation, so closing.

Changed in gksu:
status: Needs Info → Fix Released
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.