Skip to content

Instantly share code, notes, and snippets.

@bzub
Last active January 24, 2024 12:15
  • Star 18 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bzub/65aabace4a60874c61ece4838b6219f3 to your computer and use it in GitHub Desktop.
Fix Crostini Wayland/X (sommelier) service

If you can't get X11 or Wayland GUI Linux apps to start anymore on Chrome OS, try the following.

In the Terminal app, this will show the status of your systemd user services/units:

systemctl --user

If sommelier@0.service and sommelier-x@0.service show a failed status, the following worked for me:

sudo ln -s /opt/google/cros-containers/bin/sommelier.elf /usr/bin/
systemctl --user restart sommelier@0.service
systemctl --user restart sommelier-x@0.service
export DISPLAY=:0

Check again to see if those services are started now:

systemctl --user

Hopefully now X/Wayland apps work again.

xclock
@DarkevilPT
Copy link

and how to fix the android container if it freezes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment