{"id":526,"date":"2009-10-03T10:28:38","date_gmt":"2009-10-03T09:28:38","guid":{"rendered":"http:\/\/sickel.net\/blogg\/?p=526"},"modified":"2009-10-03T16:28:15","modified_gmt":"2009-10-03T15:28:15","slug":"kde-login-problem-in-debian","status":"publish","type":"post","link":"http:\/\/sickel.net\/blogg\/?p=526","title":{"rendered":"Kde login problem in Debian"},"content":{"rendered":"<p>After upgrading kde from 3.5x to 4.1 on my debian testing box, kdm refused to work. That is, I could log in,but all that happened was that the screen went blank for a moment, then I was back at the login prompt. After quite some googleing, I found the culprit to be the console-kit-daemon. After manually starting that, kdm worked fine again. gdm, on the other side had worked fine all the time. Then the next problem was to have console-kit-daemon to start automatically at boot time, to avoid having to force the rest of the family to start it manually if the box should be booted while I was not present. Oh and btw, kdm worked just fine with a box that was installed initially with the same versions of kde.<\/p>\n<p>console-kit-daemon is to be started from dbus, not a usual \/etc\/init.d script. everything seems to be fine with the dbus install, but I have both \/etc\/init.d\/dbus and \/etc\/init.d\/dbus-1,  but in \/etc\/rc2.d\/ dbus is called first. Seems like that may be the problem. So far I have move \/etc\/rc2.d\/S12dbus to \/etc\/rc2.d\/not_S12dbus, but that didn&#8217;t seem to work. Back soon with some updates.<\/p>\n<p>A bit more updates: dbus-1 is an old package that has been uninstalled, but it seems like some cruft has been left over since that. But so far I have given in and made a startup script for console-kit-deamon:<\/p>\n<p><code><br \/>\n#! \/bin\/sh<br \/>\n### BEGIN INIT INFO<br \/>\n# Provides:          console-kit-daemon<br \/>\n# Required-Start:    $syslog $time $remote_fs<br \/>\n# Required-Stop:     $syslog $time $remote_fs<br \/>\n# Default-Start:     2 3 4 5<br \/>\n# Default-Stop:      0 1 6<br \/>\n# Short-Description:<br \/>\n# Description:       Debian init script for console-kit-daemon<br \/>\n#<br \/>\n### END INIT INFO<br \/>\n#<br \/>\n# Author:       morten sickel, rewritten after Ryan Murray <rmurray @debian.org> atd script<br \/>\n#<\/p>\n<p>PATH=\/bin:\/usr\/bin:\/sbin:\/usr\/sbin<br \/>\nDAEMON=\/usr\/sbin\/console-kit-daemon<\/p>\n<p>test -x $DAEMON || exit 0<\/p>\n<p>. \/lib\/lsb\/init-functions<\/p>\n<p>case \"$1\" in<br \/>\n    start)<br \/>\n        log_daemon_msg \"Starting console-kit-daemon\" \"ckd\"<br \/>\n        start_daemon $DAEMON<br \/>\n        log_end_msg $?<br \/>\n    ;;<br \/>\n  stop)<br \/>\n        log_daemon_msg \"Stopping console-kit-daemon\" \"ckd\"<br \/>\n        killproc $DAEMON<br \/>\nlog_end_msg $?<br \/>\n    ;;<br \/>\n  stop)<br \/>\n        log_daemon_msg \"Stopping console-kit-daemon\" \"ckd\"<br \/>\n        killproc $DAEMON<br \/>\n        log_end_msg $?<br \/>\n    ;;<br \/>\n  force-reload|restart)<br \/>\n    $0 stop<br \/>\n    $0 start<br \/>\n    ;;<br \/>\n  *)<br \/>\n    echo \"Usage: \/etc\/init.d\/console-kit {start|stop|restart|force-reload}\"<br \/>\n    exit 1<br \/>\n    ;;<br \/>\nesac<\/p>\n<p>exit 0<br \/>\n<\/rmurray><\/code><\/p>\n<p>This script is saved as \/etc\/init.d\/console-kit.<br \/>\nthen run<br \/>\n<code><br \/>\nchmod +x \/etc\/init.d\/console-kit<br \/>\nln -s \/etc\/inid.d\/console-kit \/etc\/rc2.d\/S98console-kit<br \/>\n<\/code><br \/>\nThen it is started automatically in runlevel 2 which is debians default runlevel. I tried to call console-kit-daemon in the dbus startup script, but that did for some reason not work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading kde from 3.5x to 4.1 on my debian testing box, kdm refused to work. That is, I could log in,but all that happened was that the screen went blank for a moment, then I was back at the &hellip; <a href=\"http:\/\/sickel.net\/blogg\/?p=526\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-526","post","type-post","status-publish","format-standard","hentry","category-data"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnVtD-8u","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=526"}],"version-history":[{"count":4,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/526\/revisions"}],"predecessor-version":[{"id":528,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=\/wp\/v2\/posts\/526\/revisions\/528"}],"wp:attachment":[{"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=526"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sickel.net\/blogg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}