You are not logged in.

#1 2021-11-24 06:39:50

25hawkeye
Member
Registered: 2021-11-21
Posts: 6

[SOLVED] Sddm freezes when logging in

I have a problem with sddm freezing when I log in. When i type my password in it freezes, take a look, https://imgur.com/a/llF559K Its not very descriptive though. This happened about 3-4 days ago and i can't fix it. I waited for 10+ minutes even with high entropy (whatever that is). I tried restarting sddm using systemctl, Deleting .Xauthority file, starting sddm from bash and none of that worked. One time i got the greeter but it froze too.
Note that I did have add the command "sudo su -s /bin/bash root" to .bashrc

If you need any file results, please get the gui to work on tty2 so i can post pastebins.


!* Im a new Linux user so please be noob friendly*

Last edited by 25hawkeye (2021-11-24 21:32:23)

Offline

#2 2021-11-24 06:42:03

25hawkeye
Member
Registered: 2021-11-21
Posts: 6

Re: [SOLVED] Sddm freezes when logging in

Specs:
Laptop: ToughBook cf-74
128GB dogfish ssd
4gb ram
wifi wlp11s0 or something
KDE SDDM Plasma

Offline

#3 2021-11-24 07:15:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,487

Re: [SOLVED] Sddm freezes when logging in

Post

sudo journalctl -b

and your /var/log/Xorg.0.log after running into such a freeze, you don't need a gui for that: https://wiki.archlinux.org/title/List_o … n_services . Are you trying to start a wayland or x11 session? How sure are you you typed the password correctly? Did you check that the keyboard layout in SDDM matches yours?

Offline

#4 2021-11-24 20:22:15

25hawkeye
Member
Registered: 2021-11-21
Posts: 6

Re: [SOLVED] Sddm freezes when logging in

Okay so i didn't find a Pastebin service that works because I'm lazy but i believe I'm using x11 and i did in fact type the password on my account correctly. But it froze on my other account too so its a system issue.

EDIT: i think ix will work for pastebin

Last edited by 25hawkeye (2021-11-24 20:37:18)

Offline

#5 2021-11-24 20:42:36

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 4,755

Re: [SOLVED] Sddm freezes when logging in

25hawkeye wrote:

Okay so i didn't find a Pastebin service that works because I'm lazy

Until that changes no-one here can help you.
https://bbs.archlinux.org/viewtopic.php?id=57855


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2021-11-24 21:08:22

25hawkeye
Member
Registered: 2021-11-21
Posts: 6

Re: [SOLVED] Sddm freezes when logging in

journalctl -b : ix.io/3G10

Xorg.0.log : ix.io/3G12

Offline

#7 2021-11-24 21:24:38

25hawkeye
Member
Registered: 2021-11-21
Posts: 6

Re: [SOLVED] Sddm freezes when logging in

Omg I'm such an idiot because I'm new. When i edited bashrc it set bash to sign in to root when konsole / bash was open, little me did not know it effected startup and that startup used my account on bash roll

Last edited by 25hawkeye (2021-11-24 21:26:07)

Offline

#8 2021-11-24 21:25:46

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: [SOLVED] Sddm freezes when logging in

Start by removing xf86-video-intel (and all other xf86-video-* packages)

Offline

#9 2021-11-24 21:26:55

25hawkeye
Member
Registered: 2021-11-21
Posts: 6

Re: [SOLVED] Sddm freezes when logging in

Don't worry i fixed it but thanks seth. I see your quite popular
also how do i put solved in the name

Last edited by 25hawkeye (2021-11-24 21:28:38)

Offline

#10 2021-11-24 21:29:57

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: [SOLVED] Sddm freezes when logging in

Ah, you blocked your bashrc w/ an unconditional sudo call…

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#11 2021-11-25 13:07:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,487

Re: [SOLVED] Sddm freezes when logging in

Also note that unconditionally logging you into a root shell every time you open a terminal is plain not a good idea even without running into these kinds of issues. Not everything you ever do in a terminal needs to run as root and you can easily hose your system if you aren't using this correctly.

Offline

Board footer

Powered by FluxBB