[Bug 691547] New: GDM3 does not start remembered desktop session type [gnome3]
https://bugzilla.novell.com/show_bug.cgi?id=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c0 Summary: GDM3 does not start remembered desktop session type [gnome3] Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: uzsrjz@uni-bonn.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 After booting, GDM3 start-up, selection of my standard user account and login the remembered desktop session type, GNOME 3, is not started, but a KDE 4 desktop session. This means after the selection of the account the last session (Gnome) is displayed in the options menu but after i have entered the right password the options menu changes to KDE and that is started. After logout and a second account selection the session selector is set to "KDE". Changing this to "Gnome" and a correct password input Gnome 3 is finally started. After next logout the session type is remembered correctly but once more a KDE session started this can be repeated. Reproducible: Always Steps to Reproduce: 1.boot system 2.account selection 3.login 4.logout 5.account selection 6.select GNOME session type 7.login 8.logout 9.login 10.logout 11.account selection 12.select GNOME session type 13.login and so on Actual Results: The wrong session type, i.e, is started on every odd login (nearly every time, sometimes not). Expected Results: The right, displayed, session type, i.e. GNOME, should start. KDE4 and GNOME3 are both installed, but at installation time of the base system I chose KDE as the default session type, that is also the standard session type of my root X-logins. -- 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=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c1 Gary Ching-Pang Lin <glin@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glin@novell.com --- Comment #1 from Gary Ching-Pang Lin <glin@novell.com> 2011-05-26 03:56:47 UTC --- I found a strange behavior in gdm-simple-greeter. The callback function for the session selection could be invoked 6 or 7 times after clicking "Login". It bounced forth and back between the previous session and the newly selected session. Wonder how this happened. -- 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=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c2 --- Comment #2 from Matthias Svete <uzsrjz@uni-bonn.de> 2011-05-26 07:52:43 UTC --- @Gary Lin: This seems really to be the same bug, maybe with different consequence. After playing around with GDM3 (standard login) i also found that alternating display on the session selector ComboBox (GNOME, KDE, GNOME, KDE,...) if I select my account name in the user list and then cancel the login. Seems to be a discrepancy between the internal variables for selected session and last session and when this is synchronized with the widget. (For a very few times I had a different login behaviour, so it may be a race condition problem) -- 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=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c3 --- Comment #3 from Gary Ching-Pang Lin <glin@novell.com> 2011-05-31 10:02:15 UTC --- I found the symptom is identical to bnc#460591. However, the patch is already applied to gdm3 in G:S:3.0, but the issue persists. -- 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=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c4 --- Comment #4 from Gary Ching-Pang Lin <glin@novell.com> 2011-06-01 03:58:46 UTC --- Created an attachment (id=432402) --> (http://bugzilla.novell.com/attachment.cgi?id=432402) Modified workaround patch I modified the patch from bnc#460591, and it seems work. I also found some dbus signals were queued in gdm-session-worker until the login button was clicked. Perhaps the queued signals are the root causes. -- 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=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c5 --- Comment #5 from Gary Ching-Pang Lin <glin@novell.com> 2011-06-01 07:21:42 UTC --- The queued signals are caused by a dbus function: dbus_connection_send_with_reply_and_block(). The gdm-session-worker calls the function to send "SecretInfoQuery" and then waits for the reply from gdm-simple-slave. When the user chooses a session from the menu, gdm-simple-slave sends a dbus signal, "SetSessionName", to notify the worker to update the session name. But, the menu shows after the worker sends "SecretInfoQuery", so all the session selection signals are queued until the slaver replies to "SecretInfoQuery". (The slaver queues the reply till the user clicks the login button.) The problem lies within the IPC design of gdm. If two or more consecutive "SetSessionName" signals with different session names are sent to the worker at the same time, it will cause a infinite dbus message loop between the greeter, the slaver, and the worker, and will keep update the session name in the 3 processes. If you were lucky, the session started just right after the right session name, then you got what you want. For the most of time, I am not a lucky guy. -- 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=691547 https://bugzilla.novell.com/show_bug.cgi?id=691547#c6 Gary Ching-Pang Lin <glin@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED AssignedTo|bnc-team-gnome@forge.provo. |glin@novell.com |novell.com | --- Comment #6 from Gary Ching-Pang Lin <glin@novell.com> 2011-06-13 05:39:15 UTC --- The patch is in G:S:3.0. Close this bug. -- 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.
participants (1)
-
bugzilla_noreply@novell.com