cdm
cdm copied to clipboard
Consolekit
I was wondering why nmtui refuses to manage network under regular user, with error message like 'couldnot see user session', when i found, that launching it with 'ck-launch-session nmtui' will work fine.
Then i looked back to cdm, it is configured to use consolekit, but was arguing that it can't register X session within consolekit each time. I added 'ck-launch-session' before '/usr/bin/startkde' in cdmrc and that fixed it.
Session registers sucessfully, cdm is happy, nmtui is happy, also poweroff button became available under kde.
So i suggest to add 'ck-launch-session ...' in cdm-xlaunch script for all 'X' sessions.
Some technical details: gentoo, cdm version = "0.6.1_pre20130419"