[Bug 538064] New: GDM/Gnome not starting
http://bugzilla.novell.com/show_bug.cgi?id=538064 Summary: GDM/Gnome not starting Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Blocker Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: holgi@novell.com QAContact: qa@suse.de Found By: Component Test Created an attachment (id=317622) --> (http://bugzilla.novell.com/attachment.cgi?id=317622) gdm.tgz I installed Gnome with autosetup and automatic login of a new created local user (clean home) but instead of stating GDM or Gnome I just see the busy mouse symbol... So the system is unuseable. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c1
--- Comment #1 from Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c2
--- Comment #2 from Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c3
Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c4
Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c5
Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c6
--- Comment #6 from Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c7
--- Comment #7 from Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c8
Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c10
Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c11
--- Comment #11 from Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
User holgi@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c12
Holger Sickenberg
http://bugzilla.novell.com/show_bug.cgi?id=538064
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c13
--- Comment #13 from Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
User dominique.leuenberger@tmf-group.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c14
Dominique Leuenberger
http://bugzilla.novell.com/show_bug.cgi?id=538064
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c15
--- Comment #15 from Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c16
--- Comment #16 from Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c17
Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c18
--- Comment #18 from Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c19
--- Comment #19 from Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=538064
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c20
Egbert Eich
Egbert: do you know why setting XAUTHLOCALHOSTNAME is not done in the X11 scripts that start a session (like /etc/X11/xdm/Xsession)?
Do you mean in .xinitrc or in the (x)dm session script? It could be done in xinitrc i guess but this file rarely gets updated by the user. Also the display manager has the host name at the time the authorization was set. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c21
--- Comment #21 from Vincent Untz
(In reply to comment #17)
Egbert: do you know why setting XAUTHLOCALHOSTNAME is not done in the X11 scripts that start a session (like /etc/X11/xdm/Xsession)?
Do you mean in .xinitrc or in the (x)dm session script?
I'm thinking of the scripts in /etc/X11/
It could be done in xinitrc i guess but this file rarely gets updated by the user. Also the display manager has the host name at the time the authorization was set.
Well, the thing is that we set XAUTHLOCALHOSTNAME to localhost, so no need to know the host name... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c22
--- Comment #22 from Egbert Eich
Egbert: also, I guess this change should be done upstream, right? Is there any doc I can link to that gives a good rationale for it?
(https://bugzilla.gnome.org/show_bug.cgi?id=555464 would be a related upstream bug)
This issue has been discussed in bnc98627. There was an upstream mail thread where Keith Packard himself proposed a different solution which however didn't solve the issue in question. The discussion did not continue after that. Therefore this code wasn't upstreamed. I may give it another try some day. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c23
--- Comment #23 from Egbert Eich
(In reply to comment #20)
(In reply to comment #17)
Egbert: do you know why setting XAUTHLOCALHOSTNAME is not done in the X11 scripts that start a session (like /etc/X11/xdm/Xsession)?
Do you mean in .xinitrc or in the (x)dm session script?
I'm thinking of the scripts in /etc/X11/
I don't have scripts in this directory. There are scripts in subdirectories.
Well, the thing is that we set XAUTHLOCALHOSTNAME to localhost, so no need to know the host name...
Not so good: You need to add localhost to the Xauthority file to make this work. If home directories are exported over nfs and shared between different systems with sessions running simultaneously you will get into trouble. This is the whole point of having a unique host name. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c24
--- Comment #24 from Vincent Untz
Well, the thing is that we set XAUTHLOCALHOSTNAME to localhost, so no need to know the host name...
Not so good: You need to add localhost to the Xauthority file to make this work.
Yes, that's what we do.
If home directories are exported over nfs and shared between different systems with sessions running simultaneously you will get into trouble. This is the whole point of having a unique host name.
So the right thing would be to just use the hostname we have during authentication for the entry in Xauthority and for XAUTHLOCALHOSTNAME, even if it changes afterwards? If yes, then we'll have to update the patch (but for 11.3, I guess) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
User eich@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c25
--- Comment #25 from Egbert Eich
So the right thing would be to just use the hostname we have during authentication for the entry in Xauthority and for XAUTHLOCALHOSTNAME, even if it changes afterwards?
Yes, that's the whole point of having this variable :) In case the hostname changes afterwards the authentication mechanism will still use the one that has been used when the keys were generated. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=538064
Egbert Eich
http://bugzilla.novell.com/show_bug.cgi?id=538064
User vuntz@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c26
--- Comment #26 from Vincent Untz
http://bugzilla.novell.com/show_bug.cgi?id=538064
User aj@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538064#c27
--- Comment #27 from Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=538064
http://bugzilla.novell.com/show_bug.cgi?id=538064#c28
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c29
Stefan Dirsch
I won't change this now for 11.2 -- we have something working and I'm pretty sure I'd mess things with my change, so I prefer to wait for 11.3.
So has this been addressed for 11.3 or are there any plans to address it for 11.4? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c30
Vincent Untz
(In reply to comment #26)
I won't change this now for 11.2 -- we have something working and I'm pretty sure I'd mess things with my change, so I prefer to wait for 11.3.
So has this been addressed for 11.3 or are there any plans to address it for 11.4?
No, the real fix for XAUTHLOCALHOSTNAME hasn't been written. I must admit I don't really understand why XAUTHLOCALHOSTNAME is something that only openSUSE have... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c31
--- Comment #31 from Stefan Dirsch
I must admit I don't really understand why XAUTHLOCALHOSTNAME is something that only openSUSE have...
Vincent, please see Egbert's comment #22. Apparently we are the only Linux distributor being interested in providing a solution for changing hostnames. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c32
--- Comment #32 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c33
--- Comment #33 from Egbert Eich
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c34
--- Comment #34 from Vincent Untz
So maybe we should check if a simple: xhost +si:localuser:$(whoami) solves the issue for us (and doesn't leave any corner cases behind). If so we should then nuke the patches for XAUTHLOCALHOSTNAME instead. Vincent: could you whack gdm to use server interpreted access control. We can then deploy this on openSUSE and see if people report bugs.
It shouldn't be done in gdm, but in the X startup scripts so that it works with all display managers, probably in /etc/X11/xdm/Xsession. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c35
--- Comment #35 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c36
--- Comment #36 from Egbert Eich
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c37
--- Comment #37 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c38
--- Comment #38 from Vincent Untz
Is /etc/X11/xdm/Xsession really used by all display managers?
In theory, yes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c39
--- Comment #39 from Egbert Eich
... what happend about forwarded X11 and TCP connections by ssh/sshd?
This may be an issue but maybe not. Check my comment #33 and what you have just quoted. I still need to check this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c40
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c41
Ursan Marius Bogdan
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c42
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c43
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=538064
https://bugzilla.novell.com/show_bug.cgi?id=538064#c44
--- Comment #44 from Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com