Bug 17359 - gnome / gnome-classic sessions do not start properly from SDDM due to missing DesktopNames=GNOME
Summary: gnome / gnome-classic sessions do not start properly from SDDM due to missing...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA5-32-OK MGA5-64-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-12-18 18:13 CET by Florian Hubold
Modified: 2015-12-23 21:13 CET (History)
2 users (show)

See Also:
Source RPM: gnome-session / gnome-shell-extensions
CVE:
Status comment:


Attachments

Description Florian Hubold 2015-12-18 18:13:04 CET
Description of problem:

When the .desktop files in /usr/share/xsessions, which are used to start either a GNOME or GNOME-classic session, do not contain a "DesktopNames=GNOME" value, then the session will not load fully, usually one will only see a mouse pointer and not receive any useable desktop at all. This only seems to happen when using SDDM as display manager.

This issue was discovered by Arne Spiegelhauer via https://bugs.mageia.org/show_bug.cgi?id=16669#c14 and is already fixed for cauldron as we dropped our generation of the files used to start the desktop sessions.

As a simple reproducer, I tried to start GNOME or GNOME-classic session from SDDM. Both only show me the password dialog for my wireless connection, and a mouse pointer resembling a clock. Nothing happens further, no useable desktop can be obtained.


After adding "DesktopNames=GNOME-Classic;GNOME" this allowed me to start a normal GNOME classic session from SDDM. The normal GNOME session still did not start.

For reference, the files in /usr/share/xsessions are generated from:

[doktor5000@Mageia5]â[18:05:33]â[~] ll /etc/X11/wmsession.d/*GNOME*                                                                                                                                                
-rw-r--r-- 1 root root 131 Mai 28  2015 /etc/X11/wmsession.d/02GNOME                                                                                                                                               
-rw-r--r-- 1 root root 156 Dez 24  2014 /etc/X11/wmsession.d/03GNOME_CLASSIC                                                                                                                                       

[doktor5000@Mageia5]â[18:05:41]â[~] grep -i desktopname /etc/X11/wmsession.d/*GNOME*
[â]â[doktor5000@Mageia5]â[18:05:46]â[~]

[doktor5000@Mageia5]â[18:05:49]â[~]rpm -qf /etc/X11/wmsession.d/*GNOME*                                                                                                                                       
gnome-session-3.14.0-6.mga5                                                                                                                                                                                        
gnome-classic-session-3.14.3-1.mga5                                                                                                                                                                                
[doktor5000@Mageia5]â[18:05:51]â[~]

Reproducible: 

Steps to Reproduce:
Comment 1 Florian Hubold 2015-12-18 23:54:11 CET
Should now be fixed for gnome-session with http://svnweb.mageia.org/packages?view=revision&revision=911785 and for gnome-classic session with http://svnweb.mageia.org/packages?view=revision&revision=911787

Had to fiddle around with some chksession details (values need to be uppercased) but it works now, I verified the fixed packages locally already.

Will write an advisory tomorrow.

Status: NEW => ASSIGNED
CC: (none) => doktor5000

Comment 2 Florian Hubold 2015-12-20 17:34:36 CET
There are new packages in core/updates_testing to validate, gnome-classic-session and gnome-session. Simply try to start a gnome or gnome classic session from SDDM, without this update it will fail to load the session completely, ending up in an unusable desktop with an empty screen. Ctrl+Alt+Backspace being the only way out.

With the fix it allows the session to load completely.


Suggested advisory:
========================

Arne Spiegelhauer discovered that it was not possible to start a gnome or gnome-classic desktop session when using SDDM as display manager. This update fixes the issue by adding a "DesktopNames=GNOME" attribute to the respective session files.


References:

https://bugs.mageia.org/show_bug.cgi?id=16669#c14
https://bugs.mageia.org/show_bug.cgi?id=17359
========================

Updated packages in core/updates_testing:
========================

for gnome-session:

i586

gnome-session-3.14.0-6.1.mga5.i586
gnome-session-bin-3.14.0-6.1.mga5.i586

x86_64
gnome-session-3.14.0-6.1.mga5.x86_64
gnome-session-bin-3.14.0-6.1.mga5.x86_64


for gnome-classic-session:

noarch:

gnome-classic-session-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-alternate-tab-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-apps-menu-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-auto-move-windows-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-common-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-drive-menu-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-launch-new-instance-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-native-window-placement-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-overrides-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-places-menu-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-screenshot-window-sizer-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-systemMonitor-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-user-theme-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-window-list-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-windowsNavigator-3.14.3-1.1.mga5.noarch
gnome-shell-extensions-workspace-indicator-3.14.3-1.1.mga5.noarch


Source RPMs:

gnome-session-3.14.0-6.1.mga5.src
gnome-shell-extensions-3.14.3-1.1.mga5.src

Assignee: doktor5000 => qa-bugs

Comment 3 James Kerr 2015-12-20 19:34:18 CET
Testing on mga5-32

Switched from KDM to SDDM and confirmed that neither gnome session nor gnome-classic session would launch properly.

Installed packages from testing:

- gnome-classic-session-3.14.3-1.1.mga5.noarch
- gnome-session-3.14.0-6.1.mga5.i586
- gnome-session-bin-3.14.0-6.1.mga5.i586
- gnome-shell-extensions-alternate-tab-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-apps-menu-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-common-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-drive-menu-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-launch-new-instance-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-overrides-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-places-menu-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-systemMonitor-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-window-list-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-auto-move-windows-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-native-window-placement-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-screenshot-window-sizer-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-user-theme-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-windowsNavigator-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-workspace-indicator-3.14.3-1.1.mga5.noarch

Both gnome and gnome-classic sessions now launch successfully.

OK for mga5-32

Whiteboard: (none) => MGA5-32-OK

Comment 4 James Kerr 2015-12-20 20:30:40 CET
On mga5-64 

Installed packages from testing:

- gnome-classic-session-3.14.3-1.1.mga5.noarch
- gnome-session-3.14.0-6.1.mga5.x86_64
- gnome-session-bin-3.14.0-6.1.mga5.x86_64
- gnome-shell-extensions-alternate-tab-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-apps-menu-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-auto-move-windows-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-common-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-drive-menu-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-launch-new-instance-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-native-window-placement-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-overrides-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-places-menu-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-screenshot-window-sizer-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-systemMonitor-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-user-theme-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-window-list-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-windowsNavigator-3.14.3-1.1.mga5.noarch
- gnome-shell-extensions-workspace-indicator-3.14.3-1.1.mga5.noarch

SDDM now successfully launches both gnome and gnome-classic

OK for mga5-64

Whiteboard: MGA5-32-OK => MGA5-32-OK MGA5-64-OK

Comment 5 James Kerr 2015-12-20 20:33:17 CET
This update is now validated.

The advisory needs to be uploaded to SVN. The packages can then be pushed to updates.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 6 Florian Hubold 2015-12-21 00:16:20 CET
Uploaded the advisory, I hope it's OK - I mentioned both src.rpms in the advisory.

Whiteboard: MGA5-32-OK MGA5-64-OK => MGA5-32-OK MGA5-64-OK advisory

Comment 7 claire robinson 2015-12-21 00:50:34 CET
Looks good. Well done :)
Comment 8 Mageia Robot 2015-12-23 21:13:26 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0209.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.