Version: (using KDE KDE 3.97.0) Installed from: Ubuntu Packages OS: Linux Hi, When using gksu to run anything in kde4, a wrong password error is given even though the right password was entered. For example, trying to run synaptic. Using Ubuntu 7.10 with both gnome and KDE4 RC2 installed. Thanks. David Roitman.
You are running a GTK+ application (synaptic) with gksu... I don't see how KDE could "interfere" on that.
Upon checking again, I really was using kdesu. running kdesu from the konsole works, but if I run synaptic from the main menu (the "start" menu) I get the wrong password error. so if I type "kdesu synaptic" in the terminal, it will work but if I choose it from the menu it will not. Sorry for the confusion. gksu does work. David I. Roitman.
Ah, make sense then.
Why does it make sense? Should it not work? :-)
I meant that it does make sense you are reporting us this problem (as opposed to be a gksu problem, which we don't develop). Can you please paste the command line output you get?
The title should actually read: Running synaptic from the KDE4 menu gives a wrong password error. I tried looking for a way to edit it myself but didn't find any. Running "kdesu synaptic" in the konsole gives no errors and works. Running synaptic from the menu shows only the wrong password error. Thanks. David.
I would like to add to this bug report as well. Whenever I try to do the same, kdesu keeps telling me that the password is incorrect even though I know it is correct.
Since Ubuntu likes to replace kdesu with kdesudo, and in KDE 4 kdesu is not in the path by default, I'd like to rule out we're actually seeing a kdesudo problem, here. Could you do the following: Start an app needing admin priviledges from the menu as described in the report. Do not enter a password, yet. In the terminal, identify the path of the called su-programm using # ps axf | grep "su" (or something like that) Now try # /the/path/you/got --version on the results, and post, here. Please also compare this to plain: # kdesu --version Thanks!
*** Bug 154392 has been marked as a duplicate of this bug. ***
The path is: /usr/lib/kde4/lib/kde4/libexec/kdesu -u root -c /usr/sbin/synaptic /usr/lib/kde4/lib/kde4/libexec/kdesu --version Qt: 4.3.2 KDE: 3.97.00 (KDE 4.0 RC2) KDE su: 1.0 kdesu --version Qt: 3.3.7 KDE: 3.5.8 KDE su: 1.0
Ok, this solves part of the mystery: It works from the konsole, as that still picks up the old (KDE 3) kdesu. But for the KDE 4 version of kdesu something is broken. Now could you try running # /usr/lib/kde4/lib/kde4/libexec/kdesu -u root -c echo "test" in the console (this one should give the symptoms you report), and post the output of that? Also, could you check, whether you can switch to root (on the console) using # su and # sudo sh ? I hope this information will finally allow us to get to the root of the problem. Thanks!
*** Bug 154450 has been marked as a duplicate of this bug. ***
I'm getting this error, too (Kubuntu Gutsy - KDE4.0-RC2 updated today). /usr/lib/kde4/lib/kde4/libexec/kdesu -u root -c echo "test" brings up a dialogue asking for my password, but continues to fail when I put it in (IE "Incorrect Password"). SU also rejects my admin password sudo sh seems to accept it (I go to some kind of command prompt that just displays #) If I use sudo with any other command it seems to work fine.
With the yesterday released "final" release of KDE4.0. I get the same problem: Synaptic from the menu doesn't accept my sudo password, while from the console I can start sudo synaptic giving my password, which is accepted. I am using Ubuntu, and have installed (the core of) KDE4 alongside of it, just to have a look see :)
Updates over the last week seem to have fixed this bug for me. It's working perfectly now here.
Ok, this is most likely to be a problem with Ubuntu packages (on Ubuntu, kdesu needs to be set up to use sudo by default, instead of su). Could some of the subscribers confirm this is fixed in recent Ubuntu packages as suggested in comment #15 ? Unless somebody reports otherwise, I'll close this report next week.
Works for me too. kdebase-runtime 4:4.0.0-0ubuntu1~gutsy1