You are not logged in.

#26 2024-03-18 00:18:17

hlechner
Member
Registered: 2017-02-15
Posts: 8

Re: [Solved] Gnome freezes sometimes after typing password after login

That's awesome that worked! Not necessary that SDDM is the problem, it was just a part of troubleshooting.

I'm not a developer but I do know a little bit of programming and when I tried to develop in Javascript (which I believe most gnome-shell is made of) it is asynchronous language which sometimes some stuffs can be loaded before another one which is needed. obviously I'm not experience on that but I believe could be something related.

the logs shows that it do not find the "org.gnome.Shell.ScreenShield", so maybe, it needed to be loaded before, maybe thats why GDM loads "/usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver" and if I kill it and tries to login it most of the time freezes too.

If you want to stay with SDDM I would try to load this ScreenSaver while you in SDDM and try to login:

/usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver

and see how it goes.

Offline

#27 2024-03-18 00:19:49

freewick
Member
Registered: 2023-02-07
Posts: 56

Re: [Solved] Gnome freezes sometimes after typing password after login

I think so. Maybe GDM is using wayland and sddm is using x11 and that is why this is happening? I will see if switching them causes issue. I also switched to SDDM just now again to see if I get freezes but I logged in and rebooted like 4 5 times and never got a freeze with sddm. I changed back to gdm and still no freeze. It seems like no more freezes are happening. But it is too soon to say it and I will test and tinker for a day and then update what I found big_smile

Offline

#28 2024-03-18 00:32:27

freewick
Member
Registered: 2023-02-07
Posts: 56

Re: [Solved] Gnome freezes sometimes after typing password after login

Thanks I will try and see what happens for now freeze is gone and I am happy big_smile

Last edited by freewick (2024-03-18 00:34:07)

Offline

#29 2024-03-20 22:48:48

freewick
Member
Registered: 2023-02-07
Posts: 56

Re: [Solved] Gnome freezes sometimes after typing password after login

Ok after 3 days of testing and trying to understand what seems to be the issue here is what I did and my findings

I used gdm for 2 days and  I think gdm  by default is in wayland mode and when ever I login to gnome wayland session it never froze.

Then I installed all  the applications and services @seth told me to remove to if they are the problem and they are not. Even with other xdg-desktop-portal-*s it wayland gnome login never froze with gdm.


Then I switched to SDDM and I got a freeze. Then I switched to wayland sddm mode and even then I got freeze. Then I only uninstalled xdg-desktop-portal-gnome and no more login freeze. I logged in back and reinstalled xdg-desktop-portal-gnome and for some reason there is no more freeze again. Then I uninstalled and I got freeze again.

So I think there is some inherent issue with sddm and gnome-wayland session. I dont think its xdg-portals or other flatpak or docker etc. May be gnome wayland dont like SDDM?


For now I will use GDM and whenever sddm updates and test it back.



Also one thing to note is that gdm has single option for gnome wayland session. But sddm even wayland option has 2 options for gnome wayland session.


So the probable solution for my case is switch to GDM ( personally I hate gdm cause of less customization but it is working and stable than sddm so I will stick with that).

Thanks @seth and@hlechner for your valuable time and inputs smile

Offline

#30 2024-03-20 22:56:14

seth
Member
Registered: 2012-09-03
Posts: 63,005

Re: [Solved] Gnome freezes sometimes after typing password after login

Do you still have the session definitions in /usr/local lingering around?
Does lightdm work?

Offline

#31 2024-03-21 11:53:12

freewick
Member
Registered: 2023-02-07
Posts: 56

Re: [Solved] Gnome freezes sometimes after typing password after login

I went into the /usr/local/folder and didnt found any

❯ cd /usr/local/share/
❯ ls
 man -> ../man

I didn't check lighdm

Offline

Board footer

Powered by FluxBB