Page 1 of 1

[SOLVED] drakconf does not start in LXDE

PostPosted: Feb 21st, '14, 03:15
by neXt
just updated to python-2.7.6-1 and python3-3.3.2-13.1 with their corresponding libs, desktop-common-data-1:3.6-1, tkinter-2.7.6-1 and a bunch of libre-office stuff today.
After that, drakconf does not start from the menu anymore, but it starts from a shell, asking to "AUTHENTICATING FOR org.mageia.drakconf.pkexec.run"
It seems like the package that was supposed to ask to authenticate from the LXDE session is gone. Wasn't this supposed to be done in polkit? Anyhow, I don't see any trace of rpm transaction involving polkit in my logs.
Maybe somebody can give me a hint?
Thanks!


running kernel 3.12.9-tmb-desktop586-1.mga4 on an i686

PS: searching deeper into the logs it seems like on Feb 13 harddrake and co. have been updated from 16.26.7-1 to 16.26.8-1 - did something could have happen there, maybe?

PPS: This is the moment when an old linux-only user since 1999, lika mesa asks himself, "heh, it would have been nice to have a rollback, ain't it?" :)

Re: drakconf does not start in LXDE

PostPosted: Feb 21st, '14, 12:41
by doktor5000
Simply install one of these:
Code: Select all
$ urpmq --whatprovides polkit-agent
polkit-kde-agent-1|gnome-shell|cinnamon|mate-polkit

and check after logout/login if a polkit-agent is running.

Have a look at
[doktor5000@Mageia4 ~]$ ps -ef | grep polkit
polkitd 1019 1 0 Feb12 ? 00:00:25 /usr/lib/polkit-1/polkitd --no-debug
500 2362 1 0 Feb12 ? 00:00:01 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
500 27329 27228 0 11:40 pts/3 00:00:00 grep --color polkit

Re: drakconf does not start in LXDE

PostPosted: Feb 22nd, '14, 20:23
by neXt
Danke schon Dok,
Code: Select all
urpmq --whatprovides polkit-agent
polkit-kde-agent-1|gnome-shell|cinnamon|mate-polkit

looking good, but trying to run /usr/libexec/polkit-mate-authentication-agent-1 I get No such file or directory
weird,
Code: Select all
rpm -q mate-polkit
say mate-polkit-1.6.1-2.mga4 is installed, so I decided to urpme
Code: Select all
mate-polkit
- that kicks out task-lxde too, so after that I urpmi task-lxde and all goes well
I've repeatedly hunted anything in the logs regarding polkit, but as I said in the first post, there is nothing there. Well, from now on, every night I'm dumping a backup of my whole / on the server - feels better!

Later edit: I spoke to fast, after reboot drakconf still doesn't start, thou, now ps xa | grep polkit show:
Code: Select all
446 ?        Ssl    0:00 /usr/lib/polkit-1/polkitd --no-debug
 1151 ?        Sl     0:00 /usr/libexec/polkit-mate-authentication-agent-1
 3493 pts/0    D+     0:00 grep --color polkit


Btw: I've realized that on mga3 I had lx-polkit, package that is gone missing from mga4.

Re: drakconf does not start in LXDE

PostPosted: Feb 23rd, '14, 02:10
by neXt
I've removed polkit-mate-authentication-agent-1.desktop from /etc/xdg/autostart and I've replaced it with a new one, that I've named polkit-kde-authentication-agent-1.desktop which starts /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1 - this seems to provide a stable solution.
I still do not understand why lx-polkit has been removed from mga4, but seems like it was replace in Cauldron with this mate-polkit sometimes in Oct 2013.

Re: [SOLVED] drakconf does not start in LXDE

PostPosted: Feb 23rd, '14, 02:29
by doktor5000
lx-polkit is not maintained anymore, like the whole of LXDE. Not sure why you did that renaming, you could have simply installed polkit-kde-agent-1

Re: [SOLVED] drakconf does not start in LXDE

PostPosted: Mar 17th, '14, 02:01
by neXt
Well, Dok,
I've installed polkit-kde-agent, but for a weird reason it din NOT put a .desktop file in /etc/xdg/autostart/ beats me why, on my main laptop (with a full KDE install) it did.


Anyway, the machine I'm talkin' about it's a pretty old no-name 12in laptop, with a Centrino 1.5GHz, 1024MB ram and an 80GB IDE HDD, I know I can replace it with any netbook, but I still like the way it feels in my hands. For this machine, being a qt/kde guy, I'll probably soon go with razor-qt.
I've posted the whole story just in case somebody else will hit my weird situation.