2017-09-20 14:39:14 |
Didier Roche-Tolomelli |
bug |
|
|
added bug |
2017-09-20 14:39:37 |
Didier Roche-Tolomelli |
tags |
|
rls-aa-incoming |
|
2017-09-20 14:55:30 |
Didier Roche-Tolomelli |
summary |
Ensure wayland -> xorg fallabck to the corresponding session |
Ensure wayland -> xorg fallback to the corresponding session |
|
2017-09-27 20:34:51 |
Will Cooke |
tags |
rls-aa-incoming |
rls-bb-incoming |
|
2017-09-27 20:34:59 |
Will Cooke |
tags |
rls-bb-incoming |
rls-aa-notfixing rls-bb-incoming |
|
2017-09-29 20:23:19 |
Sebastien Bacher |
gdm3 (Ubuntu): importance |
Undecided |
High |
|
2017-09-29 20:23:19 |
Sebastien Bacher |
gdm3 (Ubuntu): assignee |
|
Olivier Tilloy (osomon) |
|
2017-10-04 10:57:58 |
Olivier Tilloy |
gdm3 (Ubuntu): status |
New |
Confirmed |
|
2017-10-04 21:29:40 |
Olivier Tilloy |
gdm3 (Ubuntu): status |
Confirmed |
In Progress |
|
2017-10-04 21:31:55 |
Launchpad Janitor |
branch linked |
|
lp:~osomon/gdm/ubuntu-xorg-fallback-session |
|
2017-10-05 09:54:25 |
Olivier Tilloy |
bug watch added |
|
https://bugzilla.gnome.org/show_bug.cgi?id=788552 |
|
2017-10-05 13:46:42 |
Olivier Tilloy |
bug task added |
|
gdm |
|
2017-10-06 10:56:37 |
Bug Watch Updater |
gdm: status |
Unknown |
Confirmed |
|
2017-10-06 10:56:37 |
Bug Watch Updater |
gdm: importance |
Unknown |
Medium |
|
2017-10-11 16:22:45 |
Launchpad Janitor |
branch linked |
|
lp:~osomon/gnome-session/fix-1718446 |
|
2017-10-11 17:07:20 |
Launchpad Janitor |
branch linked |
|
lp:~osomon/gdm/fix-1718446 |
|
2017-10-17 23:28:10 |
Bug Watch Updater |
gdm: status |
Confirmed |
Fix Released |
|
2017-10-18 07:56:19 |
Olivier Tilloy |
description |
Use case:
1. install gnome-session or gnome-classic or unity, you will end up with additional xorg session.
2. Log in on a system you don't have wayland capability
-> you will be fallback to a random xorg session, being vanilla gnome, or ubuntu-xorg, or gnome-classic or even unity.
-> we should insert "-xorg" flavor for current session on fallback to get that one on the stack and ensuring we possibly fallback to a compatible session. |
[Impact]
Users upgrading to artful on a system that cannot run wayland may be logged into an unexpected session at the next boot.
[Steps to reproduce]
1. On a system with wayland capability, log into the "Ubuntu" session.
2. Install gnome-session if it wasn't already installed (this adds two sessions, "GNOME" and "GNOME on Xorg").
3. Disable wayland (uncomment WaylandEnable=false in /etc/gdm3/custom.conf) and reboot.
Expected result: at the greeter, the "Ubuntu on Xorg" session is selected by default (falling back from "Ubuntu" to "Ubuntu on Xorg").
Actual result: at the greeter, the "GNOME on Xorg" session is selected by default.
[Fix]
The fix consists in using the default fallback mechanism in gdm3, i.e. /usr/share/wayland-sessions/ubuntu.desktop falls back to /usr/share/xsessions/ubuntu.desktop, adding corresponding "-xorg.desktop" session files, and having gdm3 ignore them under wayland. This was discussed and approved upstream (https://bugzilla.gnome.org/show_bug.cgi?id=788552).
The fix involves a distro-patch in gdm3 (already merged upstream, will go away with the next release) and changes to the packaging of gnome-session (added symlinks).
[Test Case]
see [Steps to reproduce]
[Regression Potential]
The gdm3 patch has been thoroughly tested and merged upstream. Since this is C glib code, reviewers should carefully look for possible memory leaks, as strings are being allocated.
If a package installs /usr/share/xsessions/foo-xorg.desktop without a corresponding /usr/share/xsessions/foo.desktop, the session will be ignored if wayland is disabled. It is however considered a standard practice that foo-xorg is a fallback for foo, so it wouldn't make much sense to have the former without the latter.
In case of a partial upgrade:
- only gdm3 upgraded: nothing user-visible should happen, as gdm will ignore the foo-xorg session only if the corresponding foo session file exists
- only gnome-session upgraded: with wayland disabled, at the greeter the user might see two sessions that are in fact the same thing: "Ubuntu" and "Ubuntu on Xorg" (but logging into any of the two will work)
One minor gotcha with this patch: if, with wayland enabled, one intentionally selects ubuntu-xorg, then disables wayland, then reboots, in the login screen no session is selected in the dropdown (because gdm ignored ubuntu-xorg). However this will still launch the ubuntu-xorg session by default (which effectively is the same as the ubuntu session), so all is good (except for the fact that no session appears selected in the dropdown). This has the advantage of retaining the "ubuntu-xorg" session selected by the user if wayland is re-enabled later, though.
This is a regression in the sense that no session is visually selected in the dropdown, but it doesn't affect the default session selection. |
|
2017-10-18 09:13:19 |
Sebastien Bacher |
gdm3 (Ubuntu): status |
In Progress |
Fix Committed |
|
2017-10-18 10:44:19 |
Adam Conrad |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-10-18 10:44:22 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2017-10-18 10:44:25 |
Adam Conrad |
tags |
rls-aa-notfixing rls-bb-incoming |
rls-aa-notfixing rls-bb-incoming verification-needed verification-needed-artful |
|
2017-10-18 10:45:39 |
Adam Conrad |
bug task added |
|
gnome-session (Ubuntu) |
|
2017-10-18 10:46:17 |
Adam Conrad |
gnome-session (Ubuntu): status |
New |
Fix Committed |
|
2017-10-18 18:52:30 |
Jeremy Bícha |
tags |
rls-aa-notfixing rls-bb-incoming verification-needed verification-needed-artful |
rls-aa-notfixing rls-bb-incoming verification-done verification-done-artful |
|
2017-10-23 11:11:33 |
Launchpad Janitor |
gdm3 (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2017-10-23 11:11:36 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-10-23 11:11:39 |
Launchpad Janitor |
gnome-session (Ubuntu): status |
Fix Committed |
Fix Released |
|