[SOLVED] "Oh no! Something has gone wrong" right after login (GNOME Shell SEGV) – fixed by resetting and reinstalling Zorin extensions

Zorin OS 18.1 login crash on X11 fixed by resetting and reinstalling three extensions

Hi all,

Sharing what got my desktop working again in case someone else runs into the same issue.

After I entered my password, GNOME showed the “Oh no! Something has gone wrong” screen. Autostart apps such as OneDrive opened without window decorations. The desktop had worked earlier that morning, and I hadn’t changed any settings.

System — Zorin OS 18.1, kernel 7.0.0-42-generic, Lenovo ThinkPad P50 with an NVIDIA driver, X11, GNOME Shell 46.0 and Mutter 46.2. The system was fully up to date.

What the log showed

I checked the GNOME Shell service log after a failed login:

journalctl --user -b 0 -u org.gnome.Shell@x11.service --no-pager | tail -40

The last shell message was Trying to set label on QuickToggle. Use title instead. The service then reported Main process exited, code=killed, status=11/SEGV. After three restart attempts, it reported Start request repeated too quickly.

How I got back into the desktop

Disabling user extensions with gsettings set org.gnome.shell disable-user-extensions true didn’t help on my system. Moving three Zorin extensions out of the system extensions directory let me log in. All three had been updated on Nov 2, and putting any one of them back before the fix brought the crash back in my tests.

If you’re stuck at the login screen, press Ctrl+Alt+F3, sign in at the text console, and run:

backup_dir=$(sudo mktemp -d /root/zorin-extensions-backup.XXXXXX) &&
sudo mv -- \
  /usr/share/gnome-shell/extensions/zorin-connect@zorinos.com \
  /usr/share/gnome-shell/extensions/zorin-desktop-icons@zorinos.com \
  /usr/share/gnome-shell/extensions/zorin-tiling-shell@zorinos.com \
  "$backup_dir"

Once the move succeeds, reboot and log in again:

sudo reboot

What fixed it for me

From a terminal in the working desktop, I reset the three extensions’ saved preferences. You can list the saved settings directories first:

dconf list /org/gnome/shell/extensions/

These are the paths I reset. Run these commands as your desktop user, since they reset that user’s preferences:

dconf reset -f /org/gnome/shell/extensions/zorin-tiling-shell/
dconf reset -f /org/gnome/shell/extensions/zorin-desktop-icons/
dconf reset -f /org/gnome/shell/extensions/zorin-connect/

Then I reinstalled the packages to put fresh copies of the extensions back in place:

sudo apt install --reinstall \
  gnome-shell-extension-zorin-tiling-shell \
  gnome-shell-extension-zorin-desktop-icons \
  gnome-shell-extension-zorin-connect

If you ran the gsettings command above to disable user extensions and they were previously enabled, turn them back on before logging out:

gsettings set org.gnome.shell disable-user-extensions false

After logging out and back in, desktop icons, tiling, and Zorin Connect all worked again, and the crash stopped. A saved setting may have been incompatible with the updated extensions. I applied both the settings reset and the reinstall before verifying the fix, so the individual cause is still unclear.

Hope this helps someone!

5 Likes

Thank You, I'm sure it could help many of us :wink:

2 Likes

I had this exact same issue pop up today, and I tried fixing it for over an hour. I have no idea what I did that fixed it.

With Ctrl+Alt+F3 I updated everything, rebooted, and it was still the same, and after trying different commands I found on other forum posts (dpkg --configure -a, and other commands I didn't fully understand) it finally booted in, but my desktop icons and layout were gone. I thought something was still wrong, so I rebooted and got the same old "Something has gone wrong" error for the next 10 reboots or so.

Then I miraculously got into the bare desktop again. I realized that no files were missing and everything worked except for my desktop layout, so I got into "Zorin Apprearance" and selected my usual layout. IT WORKED. Everything went back to normal. I'm still puzzled by what happened, but I'm glad that it worked out, and I hope my insight will be helpful for others. Cheers!

3 Likes

I have switched the Category to Tutorials & Guides because it fits better.

1 Like

tried all these suggestions and no luck, i can only log into x11 desktop, then i get the oh no message, wayland, just loads and pulls back up the login screen.

any idea what's causing this or if a fix is coming?

1 Like

Ok so are you using an Nvidia vid card? If so it tends to work better in X11 vs wayland

i am and have been for about a year on wayland with no issues

2 Likes

This seems to be related to a known GNOME weather-related crash, where malformed weather data triggers a desktop crash.

https://bugs.launchpad.net/ubuntu/+source/libxkbcommon/+bug/2172923

workaround is just to temporarily disable the top-bar weather integration by running:

3 Likes

WEATHER-RELATED???

Master Shifu Stare GIF

Gnome shell extension weather, if you read well ! so related...

just saw 3 updates for gnome shell....maybe a fix?

1 Like

My desktop looked like this when I booted into Zorin today (the last two days I had not booted into Zorin because I had read about the problems):


The wallpaper was not loaded (I use the bing wallpaper gnome extension for the desktop background image), but the extension manager showed no errors. I disabled all extensions in the extension manager (turned the slider off at "use extensions") and then turned it on again, and this helped to get the background back. Then I made all updates and rebooted, and the laptop worked fine so far.

2 Likes

There might come an Explanation. I wait for an Answer.

1 Like

FYI Ubuntu updated today to 7.0.0.43...so possible kernel update coming soon

And yes @Ponce-De-Leon Im sure all are wondering as well

I contacted the Dev's and got something. I only wait if I can use it or if they want do a Statement by themself.

3 Likes

Good plan

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:

  1. 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).
  2. 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.
  3. Use the up/down arrow keys to select "Advanced options" under the "Zorin" option and press the Enter key to navigate into it.
  4. Select the highest "(recovery mode)" option in the list and press the Enter key.
  5. 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.
  6. When prompted with a "Yes" or "No" question, keep the highlight on the "Yes" option and press the Enter key again.
  7. 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.
  8. Press the Enter key again when prompted at the bottom of the screen.
  9. When you see the text prompt, enter the following command before pressing the Enter key: apt update
  10. Next, enter this command: apt dist-upgrade
  11. 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.
  12. After the system finishes installing the package updates, please enter these two commands:
    • apt reinstall zorin-os-desktop zorin-os-overlay
    • apt autoremove
  13. 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.

4 Likes

Thank you, perfect !

1 Like

Thank you for the fix and the explanation. :+1:

But I don't remember making any modification on the system. What kind of modification can delete zorin-os-overlay or zorin-os-patches.pref ?

2 Likes