dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

Bookworm Gnome error: can't start X #4786

Open darrell-k opened 2 years ago

darrell-k commented 2 years ago
name: bookworm
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/bookworm...
crouton: version 1-20220111101058~master:a9eafaee
release: bookworm
architecture: amd64
xmethod: xorg
targets: extension,gnome-desktop,cli-extra
host: version 14816.131.0 (Official Build) stable-channel rammus 
kernel: Linux localhost 4.4.254-21531-g0ff2d4453733 #1 SMP PREEMPT Sun Jul 17 19:27:31 PDT 2022 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/bookworm...

Please describe your issue:

startgnome fails immediately with "Fatal server error".

In /tmp/Xorg.crouton.1.log: modeset(0): drmSetMaster failed: Permission denied

testing as root (exec sudo gnome-session-wrapper gnome) modeset(0): drmSetMaster failed: Invalid argument

If known, describe the steps to reproduce the issue:

sudo enter-chroot
startgnome

Note: I have also applied the fixes I posted here https://github.com/dnschneid/crouton/issues/4782#issuecomment-1201780972 which make Gnome work on Bullseye and Focal:

phdpe commented 2 years ago

I have tried to install Bullseye, then change apt source to Bookworm. Then 'apt update && apt full-upgrade' Everything updates fine.