Salix KDE - kdesu only works once

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Salix KDE - kdesu only works once

Post by GJones »

If you try to run something (e.g. gslapt) as root through kdesu, it will work the first time... But thereafter, kdesu will not even start its password query GUI - nothing will happen at all. su on the command line works fine. Rebooting makes kdesu work again... But only once.

What's going on?
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: Salix KDE - kdesu only works once

Post by GJones »

To deepen the mystery a little, kdesu works absolutely fine in an Openbox session (without the plasma desktop started up). Wow.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix KDE - kdesu only works once

Post by djemos »

kdesu work fine here.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix KDE - kdesu only works once

Post by gapan »

Working fine here too.
Image
Image
User avatar
NicePics13
Posts: 18
Joined: 25. Nov 2010, 19:14

Re: Salix KDE - kdesu only works once

Post by NicePics13 »

Would not having the KDE password manager enabled or installed and then checking the 'save password' option in kdesu break it?
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix KDE - kdesu only works once

Post by gapan »

Are you suggesting to remove a package in order to break it? Which one? And why should anyone remove it?
Image
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix KDE - kdesu only works once

Post by djemos »

NicePics13 wrote:Would not having the KDE password manager enabled or installed and then checking the 'save password' option in kdesu break it?
kdesu is working fine. "save password" is working fine too. For example, i type kdesu kwrite, and click on save password. Kwrite is running. I close it and i type again kdesu kwrite and kwrite is running without asking for root password anymore.

Did you check the md5 of the download iso image before installing salix? Maybe a bad iso download.
Reinstall kdebase-runtime package and also polkit, polkit-qt-1, polkit-kde-1 packages.
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: Salix KDE - kdesu only works once

Post by GJones »

Just an update - this is a known bug in kdesu, not specific to Salix. The current workaround is removing /tmp/ksocket-$USER/kdesud_:0=, after which kdesu will work again.
Post Reply