Skip to contentSkip to conversation

2.6.25-rc1/2 regression: first-time login into gnome fails

DISCUSSION Romano Giannetti 3 participants 5 messages Feb 18, 2008 – Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I have a very strange, but fully reproducible, regression with
2.6.25-rc1 -rc2. I have an ubuntu 7.10 fully updated.

The first time after boot, when I login to gnome (through gdm)
the login half-fails with a Setting Daemon error: failed to connect to socket /tmp/dbus-<some random stuff>: connection refused. Nothing in the logs, and there is no such socket in /tmp.

If I log out and then log in again, all works ok.

With 2.6.24.2 there is no such a problem.

.config, dmesg (2M buffer size) and syslog here:

http://www.dea.icai.upcomillas.es/romano/linux/info/

Romano

(Back to 2.6.24.2, because ndiswrapper broke again, and ath5k doesn't like (yet) my atheros adapter...)

Signature · 8 lines
Sorry for the disclaimer --- ¡I cannot stop it!



--
La presente comunicación tiene carácter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribución, reproducción o uso de esta comunicación y/o de la información contenida en la misma están estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente contestando a este mensaje y proceda a continuación a destruirlo. Gracias por su colaboración.

This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation. 
#1 lore raw
Quoted 17 lines · Romano Giannetti

Hi,

I have a very strange, but fully reproducible, regression with
2.6.25-rc1 -rc2. I have an ubuntu 7.10 fully updated.

The first time after boot, when I login to gnome (through gdm)
the login half-fails with a Setting Daemon error: failed to connect to socket /tmp/dbus-<some random stuff>: connection refused. Nothing in the logs, and there is no such socket in /tmp.

If I log out and then log in again, all works ok.

With 2.6.24.2 there is no such a problem.

.config, dmesg (2M buffer size) and syslog here:

Quoted 8 lines

http://www.dea.icai.upcomillas.es/romano/linux/info/

Romano

(Back to 2.6.24.2, because ndiswrapper broke again, and ath5k doesn't like (yet) my atheros adapter...)

It may be a race. Please try booting up, then waiting for a minute or two once you see the gdm login screen, then try logging in.

If that succeeds then something (dbus perhaps) is hanging on something that eventually times out.

Ray

#2 lore raw
Quoted 5 lines · Ray Lee

It may be a race. Please try booting up, then waiting for a minute or two once you see the gdm login screen, then try logging in.

If that succeeds then something (dbus perhaps) is hanging on something that eventually times out.

Just upgraded my laptop to 2.6.25-rc6 and I see the same. A little instrumentation shows that there is no socket to connect to aka the server side process (whatever that is) didn't start.

#3 lore raw
Quoted 10 lines · Christoph Hellwig
Quoted 5 lines · Ray Lee

It may be a race. Please try booting up, then waiting for a minute or two once you see the gdm login screen, then try logging in.

If that succeeds then something (dbus perhaps) is hanging on something that eventually times out.

Just upgraded my laptop to 2.6.25-rc6 and I see the same. A little instrumentation shows that there is no socket to connect to aka the server side process (whatever that is) didn't start.

Hmm. Okay, mind if I ask some stupid questions?

I'm assuming you upgraded from 2.6.24, correct? (not .25-rcX).

Are you running either debian or ubuntu? If so, do you have the dbus-x11 package installed? Alternately, does /usr/bin/dbus-launch exist? If no, try installing dbus-x11 and try again. I think a side-effect of installing is to start dbus earlier, and may perhaps avoid the race (if it is a race that's causing all this, which I still think it is).

References if you're bored:
http://bugzilla.gnome.org/show_bug.cgi?id=395488
http://www.mail-archive.com/[email protected]/msg139625.html

If the above doesn't help, is there anything interesting in ~/.xsession-errors?

#4 lore raw
Quoted 1 line · Ray Lee

I'm assuming you upgraded from 2.6.24, correct? (not .25-rcX).

Yes.

Quoted 1 line

Are you running either debian or ubuntu?

Yes.

Quoted 6 lines

If so, do you have the
dbus-x11 package installed? Alternately, does /usr/bin/dbus-launch exist? If no, try installing dbus-x11 and try again. I think a side-effect of installing is to start dbus earlier, and may perhaps avoid the race (if it is a race that's causing all this, which I still think it is).

Yes, installing dbus-x11 makes everything work properly, aka paper over the underlying issue.