google-trogdor: Gnome fails to load after upgrading to postmarketos-base-32-r0
Describe your issue
What's the expected behaviour?
The device boots into the Gnome login screen
What's the current behaviour?
The console login screen appears briefly (this seems new) and after 1 or 2 seconds, a blinking cursor appears. After some more seconds it stops to blink and that's it.
One can use ttyescape
to get back to a virtual terminal.
During the short period where the console login screen is shown there is an opportunity to switch to another TTY using Alt+Arrow-right before one gets stuck on the failing Gnome session.
How to reproduce your issue?
$ sudo apk upgrade -avvs
(1/4) Upgrading postmarketos-base-nofde (31-r1 -> 32-r0)
(2/4) Upgrading postmarketos-base (31-r1 -> 32-r0)
(3/4) Upgrading postmarketos-base-mesa (31-r1 -> 32-r0)
(4/4) Upgrading postmarketos-base-nftables (31-r1 -> 32-r0)
OK: 976 packages, 3527 dirs, 63516 files, 3869 MiB
Then reboot
What device are you using?
google-trogdor (Wormdingler variant)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v23.12
-
v23.06
(supported until 2024-01-18) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
Here is a logfile from /var/log/gdm/greeter.log
: greeter_32-r0.log
On IRC it was suggested to set permissions on the X11-related files in /tmp
. Doing sudo chmod -R a+rwx /tmp/.X1*
and then sudo rc-service gdm restart
indeed improves the situation: the login screen appears, but logging in fails. Maybe I was missing /tmp/.ICE-unix
. This second logfile is from that situation.
greeter_32-r0_777.log
I think the ownership of /tmp/.{X11,ICE}-unix
was changed from root:root to gdm:gdm?
Ah, could it have something to do with 1229616e?
Plasma Mobile doesn't seem to be affected, I did a quick test with pmbootstrap install
on an SD card