After conducting tests on multiple computers with different hardware and driver configurations running unmodified copies of Zorin OS 18.1 with the latest updates, but weren't able to reproduce this error. However, based on our analysis, we suspect we've found the source of this issue as well as the resolution to it:
The apparent issue
The Ubuntu developers recently released an update to the GNOME Shell package, which typically gets deferred in Zorin OS until we update our version of it shortly thereafter. That's because we include some patches to the GNOME Shell package with specific improvements and changes to make it integrate with the rest of Zorin OS.
This package update deferral is enforced by the /etc/apt/preferences.d/zorin-os-patches.pref file, which only allows the system to update patched packages (like GNOME Shell) from our official Zorin OS Patches repository. Deleting this file, or the zorin-os-overlay package which provides it, disables this deferral.
If the user removes it and the system updates to Ubuntu's version of the GNOME Shell package, it could lead to integration issues and errors causing the desktop not to work anymore. This could also inadvertently cause conflicts with other packages and lead to the removal of some required system components. I remember this issue being reported before when similar GNOME Shell package updates became available upstream, so it's likely to be the same case again here.
The fix
We've since released a new patched version of the GNOME Shell package in the Zorin OS Patches repository, so the new correct version should now take precedence over Ubuntu's new GNOME Shell package (that causes issues) in the latest software updates.
If you're experiencing this issue but aren't able to access the desktop to install updates, you can follow these steps to repair the system:
- Restart your computer. If you're unable to access the power options in Zorin OS, you can restart the system manually either by:
- Holding down the Alt+Print Screen keys while tapping the R+E+I+S+U+B keys individually (recommended).
- Pressing and holding the computer's power button until it switches off (fall back to this if the above method doesn't work for you).
- When your computer switches back on, you should see the boot selection menu with the options to boot Zorin OS or your other installed operating systems (if any). If this menu doesn't appear automatically on your computer, press the Esc key at start-up to show the boot menu.
- Use the up/down arrow keys to select "Advanced options" under the "Zorin" option and press the Enter key to navigate into it.
- Select the highest "(recovery mode)" option in the list and press the Enter key.
- After the loading process completes, you should see a purple screen with a text-based menu. Use your down arrow key to select the "network" option in this list and press the Enter key.
- When prompted with a "Yes" or "No" question, keep the highlight on the "Yes" option and press the Enter key again.
- After it finishes loading the network option, it should return to the purple menu screen. From here, use the down arrow key to select the "root" option in this list and press the Enter key.
- Press the Enter key again when prompted at the bottom of the screen.
- When you see the text prompt, enter the following command before pressing the Enter key:
apt update - Next, enter this command:
apt dist-upgrade - During this package upgrade process, you may be prompted whether you wish to proceed with modifying a system configuration file. At this prompt, press the "Y" key and then Enter to continue.
- After the system finishes installing the package updates, please enter these two commands:
apt reinstall zorin-os-desktop zorin-os-overlayapt autoremove
- Finally, enter this command to restart your computer:
reboot
You should now be able to boot into your Zorin OS 18 system normally.
Nevertheless, our general guidance remains the same as before: please don't make modifications to the system unless you're fully aware and are comfortable with repairing the system if issues occur.