Gentoo Archives: gentoo-user

From: Natanael Olaiz <nolaiz@×××××.com>
To: gentoo-user@l.g.o
Cc: "Yuri K. Shatroff" <yks-uno@××××××.ru>
Subject: Re: [gentoo-user] kdm: can't login and start KDE
Date: Thu, 11 Apr 2013 20:10:40
Message-Id: 51671A31.3040603@gmail.com
1 Ooops, I sent it by error without finishing it... sorry.
2
3
4 After some cleanup on both machines KDM is working again!
5
6 The cleanup consisted in:
7 - revdep-rebuild
8 - python-updater
9 - perl-cleaner
10 - an upgrade of the few new outdated packages
11
12 I triggered all the commands in chain this morning and I see now that is
13 working without knowing what was the problem.
14 I only see on /var/log/portage/elog on one of the machines that
15 kdelibs-4.10.2 was reinstalled (I guess by revdep-rebuild, there was no
16 upgrade for kdelibs), but as far I see it was not reinstalled in the
17 other...
18
19
20 Anyway, the same chain on both systems solved the problem.
21
22
23 Do you know any other file I can use to backtrace the cleanup command's
24 actions? I cannot found more useful logs, and I lost the console buffer.
25
26
27 Can you try them?
28
29
30 Best regards,
31 Natanael.
32
33
34
35 El 04/11/2013 10:00 PM, Natanael Olaiz escribió:
36 >
37
38
39
40 >
41 > On 04/10/2013 10:28 PM, Natanael Olaiz wrote:
42 >> I forgot: I'm using sysvinit, and policykit is enabled for kdelibs.
43 >>
44 >> So I also tried reinstalling consolekit and polkit (the day I tried I
45 >> had to patch polkit 0.110 in order to compile !!! :-/). Nothing changed.
46 >>
47 >>
48 >> Natanael.
49 >>
50 >>
51 >> On 04/10/2013 10:11 PM, nael wrote:
52 >>> Hi,
53 >>>
54 >>> On 04/09/2013 05:05 PM, Yuri K. Shatroff wrote:
55 >>>> On 09.04.2013 17:13, João Matos wrote:
56 >>>>> 2013/4/9 Yuri K. Shatroff <yks-uno@××××××.ru <mailto:yks-uno@××××××.ru>>
57 >>>>>
58 >>>>> Hello gentoo-users,
59 >>>>>
60 >>>>> Yesterday I completed a world update (amd64, unstable) and now I
61 >>>>> can't login with kdm.
62 >>>>> (I have kdm set as display manager in /etc/conf.d/xdm, and started
63 >>>>> from default runlevel)
64 >>>>> After booting, the login screen appears as usual. I type
65 >>>>> login/password and then a glimpse of X's default x-shaped pointer on
66 >>>>> black background appears, returning to the login screen.
67 >>>>> I don't get any sensible errors, neither in kdm.log nor in messages,
68 >>>>> all I see is:
69 >>>>>
70 >>>>> [/var/log/kdm.log]
71 >>>>> -----------------------------
72 >>>>> klauncher(21958) kdemain: No DBUS session-bus found. Check if you
73 >>>>> have started the DBUS server.
74 >>>>> kdeinit4: Communication error with launcher. Exiting!
75 >>>>> kdmgreet(21952)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
76 >>>>> initialize() D-Bus call failed: "Not connected to D-Bus server"
77 >>>>>
78 >>>>> kdmgreet(21952)/kdecore (K*TimeZone*): No time zone information
79 >>>>> obtained from ktimezoned
80 >>>>> -----------------------------
81 >>>>>
82 >>>>> But I guess this is unrelated, since dbus is running (and restarting
83 >>>>> it doesn't help, nor does restarting xdm)
84 >>>>>
85 >>>>> Each time login fails I also see this in
86 >>>>> [/var/log/messages]
87 >>>>> -----------------------------
88 >>>>> Apr 9 11:33:53 localhost kdm: :0[20396]: pam_unix(kde:session):
89 >>>>> session opened for user yks by (uid=0)
90 >>>>> Apr 9 11:33:54 localhost kdm: :0[20396]: pam_unix(kde:session):
91 >>>>> session closed for user yks
92 >>>>> -----------------------------
93 >>>>>
94 >>>>> No other logs appear to change.
95 >>>>>
96 >>>>> Needless to say that kdm 4.10.1 and earlier worked properly, and no
97 >>>>> configuration files were changed during the last update.
98 >>>>>
99 >>>>> As a workaround, I just typed startx on the console (with startkde
100 >>>>> in .xinitrc) and KDE started up, so I assume the problem is
101 >>>>> somewhere around kdm.
102 >>> I' m exactly in the same situation. In two different machines I had the
103 >>> same result upgrading world. The upgrade included kde 4.10.2, but I also
104 >>> udev-201 and more ebuilds.
105 >>>
106 >>> On one of the machines I tried downgrading udev but didn' t work.
107 >>>
108 >>>
109 >>> Xdm doesn't work neither, but gdm does!
110 >>> startx with "startkde" also works.
111 >>>
112 >>>
113 >>> Did you found something more?
114 >>>
115 >>>
116 >>>
117 >>> Best regards,
118 >>> Natanael.
119 >>>
120 >>>
121 >>>>> Any ideas?
122 >>>>>
123 >>>>> P.S. I had no problem with networking and udev which got updated
124 >>>>> from 197-r9 to 200 and the network interface name didn't change from
125 >>>>> eth0 (the 80-*rules file was a regular file full of commented text)
126 >>>>>
127 >>>>> --
128 >>>>> Best wishes,
129 >>>>> Yuri K. Shatroff
130 >>>>>
131 >>>>>
132 >>>>> Hi. I have a similar problem here, since the last update from kde 4.9.
133 >>>>> But I can login with my user, I just cant using any new user. I found
134 >>>>> this problem easily, because I have a guest account, and I erase
135 >>>>> "/home/guest/*" once in a while. Since two months ago this account is
136 >>>>> useless.
137 >>>> that's a little different problem ;) I remember the related discussion
138 >>>> on this mailing list.
139 >>>>
140 >>>>> But my kde is istill 4.10.1. It seemed nobody had the same problem, and
141 >>>>> my problem was not that bad because my own account was working pretty
142 >>>>> well.
143 >>>>>
144 >>>>> The error is exactly the same of yours, when I try to login the guest
145 >>>>> account, but when I try "startx" a get the following:
146 >>>>>
147 >>>>> /etc/X11/xinit/xinitrc line 63: exec: xterm: not found
148 >>>> Can this be solved by putting an executable .xinitrc into the user's
149 >>>> home dir?
150 >>>> As for me, I had to put
151 >>>> -----
152 >>>> exec /usr/bin/startkde
153 >>>> -----
154 >>>> so that startx would start kde.
155 >>>>
156 >>>>> I don't think it will help, because I get the same error if I try the
157 >>>>> "working account".
158 >>>>>
159 >>>>> I'm using systemd, so I tried to remove consolkit support from kdm, but
160 >>>>> it didn't help.
161 >>>> I also have a suspicion it has to do with consolekit, but there is no
162 >>>> simple way to make sure.
163 >>>>
164 >>>>> Is anyone else facing a similar problem?
165 >>>>>
166 >>>>>
167 >>>>> --
168 >>>>> João de Matos
169 >>>>> Linux User #461527
170 >>>>> Graduado em Engenharia de Computação
171 >>>>> UEFS - Universidade Estadual de Feira de Santana
172 >

Replies

Subject Author
Re: [gentoo-user] kdm: can't login and start KDE Forrest Schultz <f.schultz0@×××××.com>