FS#12702 - KDM login doesn't work after upgrade to kdebase-workspace-4.1.3-2
Attached to Project:
Arch Linux
Opened by Lukas Jirkovsky (6xx) - Wednesday, 07 January 2009, 12:38 GMT
Last edited by Jan de Groot (JGC) - Monday, 12 January 2009, 23:01 GMT
Opened by Lukas Jirkovsky (6xx) - Wednesday, 07 January 2009, 12:38 GMT
Last edited by Jan de Groot (JGC) - Monday, 12 January 2009, 23:01 GMT
|
Details
Description:
After logging in screen turns black and user is returned back to KDM. It's caused by ConsoleKit, because after rebuilding kdebase-workspace without ConsoleKit patches I've got it working again. Additional info: * kdebase-workspace-4.1.3-2 I've also started thread about it in BBS: http://bbs.archlinux.org/viewtopic.php?pid=476232#p476232 Steps to reproduce: Run KDM, try to login |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 12 January 2009, 23:01 GMT
Reason for closing: Works for me
Additional comments about closing: Make sure dbus is started and permissions on /usr/lib/dbus-1.0/dbus-daemon-launch-hel per are set correct.
Monday, 12 January 2009, 23:01 GMT
Reason for closing: Works for me
Additional comments about closing: Make sure dbus is started and permissions on /usr/lib/dbus-1.0/dbus-daemon-launch-hel per are set correct.
Anyway, if it would be problem with hal (I've only added it to /etc/rc.conf) is this dependency necessary? Because before I was able to run KDE without need to run HAL (actually I don't like hal).
I'm starting hal in /etc/rc.conf:
DAEMONS=(syslog-ng iptables network @mysqld !timidity++ @ntpdate crond @ddclient @ossec alsa hal @vmware)
KDM is configured in /etc/inittab:
id:5:initdefault:
x:5:respawn:/usr/bin/kdm -nodaemon
Ad logs) everything useful is in forum topic. /var/log/kdm.log contains only note that everything is logged via syslog and part of Xorg log:
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-ARCH i686
Current Operating System: Linux red_dragon 2.6.28 #1 Thu Dec 25 11:08:32 CET 2008 i686
Build Date: 17 December 2008 08:20:05PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 7 10:05:22 2009
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Symbol map for key <RALT> redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Symbol map for key <RALT> redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
[config/dbus] couldn't register object path
Warning about keyboard could be caused by using non-standard layout. Dbus problem is logged also in Xorg.0.log
Jan 7 07:25:27 cies kdm: :0[4862]: Cannot open ConsoleKit session: Unable to open session: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Jan 7 07:25:27 cies kdm: :0[4862]: Client start failed
Jan 7 07:25:27 cies kdm: :0[4862]: Cannot close ConsoleKit session: Unable to close session: no session open
[root@cies ~]# ps -ef | grep dbus
dbus 4511 1 0 15:58 ? 00:00:00 /usr/bin/dbus-daemon --system
root 4867 1 0 15:58 ? 00:00:00 dbus-launch --autolaunch 51eba166730de56fd26c705b490212f6 --binary-syntax --close-stderr
root 4869 1 0 15:58 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
-rwsr-x--- 1 root dbus 46056 2008-11-28 20:35 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
Also post the output of "id dbus".
-rwxr-x--- 1 root root 39K nov 14 22:35 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
[root@cies ~]# id dbus
uid=81(dbus) gid=81(dbus) grupos=81(dbus)
[root@cies ~]#
So that was it! I changed the permissions and group for /usr/lib/dbus-1.0/dbus-daemon-launch-helper and now kdm works fine:
# chown root:dbus /usr/lib/dbus-1.0/dbus-daemon-launch-helper
# chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper
Thank you so much!
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Debugging enabled
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: initializing console-kit-daemon 0.3.0
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Creating thread for log writing
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Creating seat /org/freedesktop/ConsoleKit/Seat1 with 0 devices
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Current VT: tty2
…
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Creating thread for vt 62
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: VT_WAITACTIVE for vt 62
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Added seat: /org/freedesktop/ConsoleKit/Seat1
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Writing log for event: 1231764373.278 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: CRITICAL: cannot initialize libpolkit
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Destroying writer thread
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Writer thread received None event - exiting
Jan 12 13:46:13 red_dragon console-kit-daemon[3917]: DEBUG: Joining writer thread
if dbus started(rc.conf) i have first login failed (return to kdm), second ok
downgrade to 4.1.3-1 :)