Gentoo Archives: gentoo-user

From: "Yuri K. Shatroff" <yks-uno@××××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kdm: can't login and start KDE
Date: Tue, 09 Apr 2013 15:05:33
Message-Id: 51642E2D.4080500@yandex.ru
In Reply to: Re: [gentoo-user] kdm: can't login and start KDE by "João Matos"
1 On 09.04.2013 17:13, João Matos wrote:
2 >
3 >
4 >
5 > 2013/4/9 Yuri K. Shatroff <yks-uno@××××××.ru <mailto:yks-uno@××××××.ru>>
6 >
7 > Hello gentoo-users,
8 >
9 > Yesterday I completed a world update (amd64, unstable) and now I
10 > can't login with kdm.
11 > (I have kdm set as display manager in /etc/conf.d/xdm, and started
12 > from default runlevel)
13 > After booting, the login screen appears as usual. I type
14 > login/password and then a glimpse of X's default x-shaped pointer on
15 > black background appears, returning to the login screen.
16 > I don't get any sensible errors, neither in kdm.log nor in messages,
17 > all I see is:
18 >
19 > [/var/log/kdm.log]
20 > -----------------------------
21 > klauncher(21958) kdemain: No DBUS session-bus found. Check if you
22 > have started the DBUS server.
23 > kdeinit4: Communication error with launcher. Exiting!
24 > kdmgreet(21952)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
25 > initialize() D-Bus call failed: "Not connected to D-Bus server"
26 >
27 > kdmgreet(21952)/kdecore (K*TimeZone*): No time zone information
28 > obtained from ktimezoned
29 > -----------------------------
30 >
31 > But I guess this is unrelated, since dbus is running (and restarting
32 > it doesn't help, nor does restarting xdm)
33 >
34 > Each time login fails I also see this in
35 > [/var/log/messages]
36 > -----------------------------
37 > Apr 9 11:33:53 localhost kdm: :0[20396]: pam_unix(kde:session):
38 > session opened for user yks by (uid=0)
39 > Apr 9 11:33:54 localhost kdm: :0[20396]: pam_unix(kde:session):
40 > session closed for user yks
41 > -----------------------------
42 >
43 > No other logs appear to change.
44 >
45 > Needless to say that kdm 4.10.1 and earlier worked properly, and no
46 > configuration files were changed during the last update.
47 >
48 > As a workaround, I just typed startx on the console (with startkde
49 > in .xinitrc) and KDE started up, so I assume the problem is
50 > somewhere around kdm.
51 >
52 > Any ideas?
53 >
54 > P.S. I had no problem with networking and udev which got updated
55 > from 197-r9 to 200 and the network interface name didn't change from
56 > eth0 (the 80-*rules file was a regular file full of commented text)
57 >
58 > --
59 > Best wishes,
60 > Yuri K. Shatroff
61 >
62 >
63 > Hi. I have a similar problem here, since the last update from kde 4.9.
64 > But I can login with my user, I just cant using any new user. I found
65 > this problem easily, because I have a guest account, and I erase
66 > "/home/guest/*" once in a while. Since two months ago this account is
67 > useless.
68
69 that's a little different problem ;) I remember the related discussion
70 on this mailing list.
71
72 > But my kde is istill 4.10.1. It seemed nobody had the same problem, and
73 > my problem was not that bad because my own account was working pretty well.
74 >
75 > The error is exactly the same of yours, when I try to login the guest
76 > account, but when I try "startx" a get the following:
77 >
78 > /etc/X11/xinit/xinitrc line 63: exec: xterm: not found
79
80 Can this be solved by putting an executable .xinitrc into the user's
81 home dir?
82 As for me, I had to put
83 -----
84 exec /usr/bin/startkde
85 -----
86 so that startx would start kde.
87
88 > I don't think it will help, because I get the same error if I try the
89 > "working account".
90 >
91 > I'm using systemd, so I tried to remove consolkit support from kdm, but
92 > it didn't help.
93
94 I also have a suspicion it has to do with consolekit, but there is no
95 simple way to make sure.
96
97 >
98 > Is anyone else facing a similar problem?
99 >
100 >
101 > --
102 > João de Matos
103 > Linux User #461527
104 > Graduado em Engenharia de Computação
105 > UEFS - Universidade Estadual de Feira de Santana
106
107
108 --
109 Best wishes,
110 Yuri K. Shatroff

Replies

Subject Author
Re: [gentoo-user] kdm: can't login and start KDE nael <nolaiz@×××××.com>