I’m using openSUSE 11.1, with KDE 4.1 and kdesu doesn’t accept my root
password. Originally I had installed it with the root password being the
same as my user, but I have since changed it (as I can login just fine
from the command line) and it still doesn’t work. For instance, if I
select the Yast2 icon from the KDE menu, it prompts me to enter a
password but nothing seems to work.
Any ideas? I tried some of the hacks to get it not even ask for my
password (ie, using kwriteconfig) but those don’t help either. It still
asks for the root password and doesn’t accept it even if I type it in
correctly.
hieronymous wrote:
> I’m using openSUSE 11.1, with KDE 4.1 and kdesu doesn’t accept my root
> password. Originally I had installed it with the root password being the
> same as my user, but I have since changed it (as I can login just fine
> from the command line) and it still doesn’t work. For instance, if I
> select the Yast2 icon from the KDE menu, it prompts me to enter a
> password but nothing seems to work.
>
> Any ideas? I tried some of the hacks to get it not even ask for my
> password (ie, using kwriteconfig) but those don’t help either. It still
> asks for the root password and doesn’t accept it even if I type it in
> correctly.
>
>
If you added yourself to sudoers, try entering your own password…
really, no one else has this problem? If I type in ‘kdesu xterm’ it
prompts me for my root password, and always fails. But I can su, or sudo
and su -l as root with no problem. This is a real problem when it comes
to installing software! I can run yast2, but only if I run it from the
Super-User xterm!
I am having it. Any place where I’ve installed KDE 4.x: the kdesu will
not accept a correct root password. I end up having to open a terminal,
do an su -, and then run the app. that I want.
This is occuring on a fresh install of openSuSE 11.1 to a Dell laptop,
also on an old Sony VAIO laptop on which I installed 11.1, and now on
this IBM T60 running openSUSE 11.0 for which I just tried the on-click
install of KDE 4.2.
I’m now 3 for 3 systems, so from that perspective I’d think that most
people would be seeing this issue.
The only workaround I saw was to change it so that my user was
automatically approved and didn’t have to type a password. I really have
no idea what is the cause or why it works for some and not others.
Got a case here as well. While auto-update running on non-privileged
session, kdesu failure is seen; 10.3 with 4.2.
I think un-checking option to remember credentials helped in my case.
I have found the cause of this (at least for me). It was this line in
my ~/.bash_profile:
export BASH_ENV=$HOME/.bashrc
Removed that and I was good-to-go.
If that does not do it for others I suggest trying this experiment:
login
cd ~
mkdir old
mv .bashrc .bash_profile old/
logout/login
Bring up a konsole and type:
kdesu /sbin/yast2
See if it works for you now. If it does not then I don’t have any
suggestions for you other then to be sure that you restore your .bashrc
and .bash_profile from where they were saved in old/
If it does work then I suggest putting back your .bashrc and
.bash_profile files:
cd ~
cp -p old/.??* ~
Then start commenting out sections of each (do a binary search through
the file disabling whole portions) until you find the offending
section.