Logging in sometimes fails in Xorg and Wayland, and disables all extensions

At any point, did you change user permissions?

  1. Aug 16 18:09:19 mazinEyatroupiz-IdeaPad-5-15ITL05 gnome-shell[860]: Failed to create color profile from colord profile: Error opening file /home/REDACTED/.local/share/icc/edid-1833bc5fa0d71017fe1671374eaa6c77.icc: Permission denied

Yes, when I have my laptop locked and disconnected from the Internet. It usually requests root for something. I simply dismiss it and type my password to log in.

Need more information on what you mean by this...
You can check if you have ownership of the necessary user Gnome configurations with

sudo chown -R $(whoami):$(whoami) ~/.config/dconf

sudo chown -R $(whoami):$(whoami) ~/.local/share/gnome-shell

Returns nothing. Both of them

I can give you a picture by what I mean. I am not sure if you can see or not. You ignored the image I sent before.

Sorry, I worded that badly. What the command does is assign your ownership for your user account to those files in your home directory.

My problem should be fixed?

If the problem was caused by a permissions issue, that can fix it. However, this:

remains unaddressed.

Also, I am still going over your pasted log - it is quite long... and keywords like "coredump" have not found anything, suggesting that there are no segfaults or other serious crashes. While that is good, it also makes narrowing down the cause harder.

1 Like


This happens when I lock the laptop and press the icon on the right bottom to go to users.

I also noticed that after update, safe mode triggers immediately. It doesn't even give me the sad face screen or zooms my wallpaper then goes blank for three times.

Also, do you think that a 2 monitor setup is the issue?

I think that your dual-monitors are unlikely to cause the issue, at this time.
It looks more like a gnome policy or permissions thing, to me. There is an extension/shell conflict. If the Just perfection ext. was disabled during these symptoms, I am leaning toward checking your user permissions. If you are using KDE wallet to store Gnome passwords, that could definitely cause issues.
You may need to reinstall Gnome Policy kit

sudo apt install --reinstall policykit1 policykit1-gnome ca-certificates

In the meantime, open Network Manager and ensure that the checkbox for "Allow all users to use" is checked...

1 Like
E: Unable to locate package policykit1
E: Unable to locate package policykit1-gnome

This happens when I run:
sudo apt install --reinstall policykit1 policykit1-gnome ca-certificates

I do not.

There is a - missing. The Package Names are policykit-1 and policykit-1-gnome

2 Likes

Where is that??

You should be able to find Network Manager from the Settings in the app menu, in the left pane list.
Other than that, I am not able to give a detailed path, since I am not using Zorin OS (Core).

This issue happened again.

I tried too much to find the reason.
But I couldn't.

I was able to consistently reproduce the issue by using a wireless mouse and a wired keyboard, and also having an external display connected. To trigger the problem, I would close the laptop lid, turning off the internal monitor and relying on the external monitor. After that, I would shut down the laptop using the external monitor. Upon logging in, the system will be in safe mode and rest the style, regardless of whether I was using Wayland or Xorg.

Xorg:
Wallpaper zooms 3 times and then gives me a sad computer face and a logout button. I'm required to log in again. Safe mode is triggered after my second log in.

Wayland:
Immediate log out, and then I'm required to log in again. Safe mode is triggered after my second log in.

This problem can occur even when no USB devices are connected, including the charger and external display. However, it is less likely to occur in such cases. The issue seems to be random and harmless but annoying.

And regarding the permission problems mentioned by @Aravisian you able to make any progress?

Have you tried leaving all the extensions you installed disabled? In other words, do not reactivate after the problem occurs, to check whether the reset of style continues.

No, I don't know what the hell is that network manager.

No, but i will disable all user installed extension

You can find it in Settings -> Network. The option in particular that Aravisian is talking about should be behind the little cog icon:

Note that in this screenshot I don't have Wi-Fi enabled, so yours might be different. If you're on Wi-Fi you would do the same but on the section that appears as Wireless or something similar.

I have this on.

https://pastebin.com/41ywabZR

The error happened on wayland. This is the log just immediately after it happened.
Its compressed because it was big for pastebin by some kilobytes

Apparently pastebin doesn't like anything that is not plain text, it says:

Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it.

I'll try to check again tomorrow but for sharing large files you can use something like ffsend. Choose one of the instances from this list. Another option you can try is Wormhole.


Now, from the previous log that you shared I noticed an error message that makes me think the culprit is actually one of ZorinOS's extensions. Let's try disabling "Zorin Appindicators":

I'm not sure what this extension does exactly, probably handles the system tray icons for certain programs running in the background and such. If you can live without that for a while, we could confirm this at least has something to do with it.