pop-os / beta

Pop!_OS Beta
358 stars 19 forks source link

Default session/desktop environment changed after upgrade #236

Closed SanderBlom closed 2 years ago

SanderBlom commented 2 years ago

How did you upgrade to 21.10? (Fresh install / Upgrade)

Upgraded from 21.04 with sudo pop-upgrade release upgrade -f

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

sander@t14-sander:~$ apt policy pop-cosmic pop-cosmic: Installed: 0.1.0~1634308107~21.10~ea74293 Candidate: 0.1.0~1634308107~21.10~ea74293 Version table: *** 0.1.0~1634308107~21.10~ea74293 1001 1001 http://apt.pop-os.org/release impish/main amd64 Packages 1001 http://apt.pop-os.org/release impish/main i386 Packages 100 /var/lib/dpkg/status sander@t14-sander:~$

Issue/Bug Description: After upgrading the desktop where pretty broken. Screenshot: https://imgur.com/a/9izFj3J Then I got this error: https://github.com/pop-os/beta/issues/209, and after this fix got merged and I updated, the error went away but the desktop is still broken.

Both pop cosmic and vertical overview are in a error state in gnome extensions.

Steps to reproduce (if you know): Just did the upgrade. The only modifications I had in 21.04 was Orchis-theme and papirus icon pack.

Expected behavior:

jacobgkau commented 2 years ago

Are you using GNOME Flashback or another session intentionally? If not, do you have a gear icon on the login screen (after clicking your name, but before typing your password) that you can use to switch to the Pop session?

SanderBlom commented 2 years ago

Are you using GNOME Flashback or another session intentionally? If not, do you have a gear icon on the login screen (after clicking your name, but before typing your password) that you can use to switch to the Pop session?

This was embarrassing.... Your right i just had to log out and change to pop. I was not using GNOME Flashback on purpose and I had no idea that it even was a thing.

Thx for the help!

jacobgkau commented 2 years ago

Thanks for following up. It must have been installed before the upgrade. I've also seen the default session change to LXQt if lxqt-session was installed before the upgrade. It might be a good idea for pop-upgrade to set Pop as the default session.

jacobgkau commented 2 years ago

This turned out to be caused by the Pop!_OS gdm3 package not building. The Ubuntu version was being used instead, which didn't have the override setting the Pop session as default.

This was fixed by https://github.com/pop-os/gdm3/commit/2615df80c797f5c60f9d25acfb2d26a86c6b6c30 (since superseded by a rebase), and I confirmed on two test machines that this is no longer happening. A user can still set their desktop environment as desired using GDM, and their preference will stick, but the default if the preference hasn't been set is once again Pop.