Ubuntu – Chromium quit working on upgrade to Ubuntu 20.10

20.10chromiumgnomesnapwayland

Opening Chromium via the gui has stopped working. When I try via the command line, I get:

$ /snap/bin/chromium
[15738:15738:1026/130054.950616:ERROR:browser_main_loop.cc(1426)] Unable to open X display.

I'm running Gnome 3 on Wayland. I've got xwayland installed.

Update: this problem seems to effect all my installed snaps.

Any advice appreciated.

Best Answer

  • This is a known bug and a fix will be released shortly. If you don't want to wait you can installe the fixed version already like this:

    $ cat <<EOF | sudo tee /etc/apt/sources.list.d/ubuntu-groovy-proposed.list
    deb http://archive.ubuntu.com/ubuntu/ groovy-proposed restricted main multiverse universe
    EOF
    
    $ cat <<EOF | sudo tee /etc/apt/preferences.d/groovy-proposed
    # Configure apt to allow selective installs of packages from proposed
    Package: *
    Pin: release a=groovy-proposed
    Pin-Priority: 400
    EOF
    
    $ sudo apt upgrade
    $ sudo apt --target-release groovy-proposed install libmutter-7-0
    

    For more information about these configuration and commands, see in Ubuntu Wiki EnableProposed.