Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] I broke Plasma again (Read 2574 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] I broke Plasma again

So I am dumb, and somehow I broke Plasma by updating the system, and now when I try to log in it just freezes, I still can access the terminal with Ctrl-Alt-F5 so I can fix this, just do not know how, is there a way of getting "factory settings" of the packages without formating? I do have root access

 

Re: I broke Plasma again

Reply #1
Although I don't know what exactly you mean by "when I try to log in it just freezes", but in my experience, when my plasma gets stuck at startup and the panel area doesn't start, the following will always help me:

1. log in to the terminal
2. rename (or delete) plasma-org.kde.plasma.desktop-appletsrc:
Code: [Select]
mv ~/.config/plasma-org.kde.plasma.desktop-appletsrc plasma-org.kde.plasma.desktop-appletsrc.broke
3. restart sddm (run again your DM)
Code: [Select]
rc-service sddm restart

Re: I broke Plasma again

Reply #2
So, it did not help, And what I mean by it freezes, once I write in the password and press login, the screen locks up, I can move the mouse around but overall is just frozen, the session is selected as Plasma X11



Re: I broke Plasma again

Reply #5
Off topic: threads like these show why not having a DM and instead running X by typing startx (or at least having startx run by your .bash_profile) is better.

Plasma unfortunately can sometimes go wrong by itself. Sometimes it helps to restart it several times in a row (and suddenly it starts up again without any problems) and sometimes it doesn't. As I wrote above, 100% of that procedure will help me. this is probably another problem.

Re: I broke Plasma again

Reply #6
heh, a problem with copying the logs, is, I have only a terminal to work with, I use my other pc to use the forum.
I could try getting the logs of the pc with a pen, but mounting and then copying the data would be another fun journey I don't really like doing. Also I tried running it via startx , it crashed and put out xtern not found, xlcok not found...
To the logs, It seems as soon as the session starts it's closed

Also I have to switch internet cable between my pc and the laptop with the linux any time I wanna do something so I cannot just ftb the files

Re: I broke Plasma again

Reply #7
If you have a USB flash disk, first find out which device it is on when you connect it:

Code: [Select]
$ lsblk -f
Usually it will be /dev/sdb1, but check just in case.

Then (assuming it is /dev/sdb1):
Code: [Select]
$ su
# mount /dev/sdb1 /mnt
# cp /var/log/Xorg.0.log /var/log/messages.log /mnt
# dmesg > /mnt/dmesg.txt
# sync; umount /mnt
and there you go.


Re: I broke Plasma again

Reply #9
Looking at your logs (especially Xorg.0.log), I don't see anything that stands out as an error, except maybe the fact that there are no lines about your mouse, only touchpad, which seems weird because you said that you have a mouse and you could move your pointer with it.

I suggest also uploading your sddm.log as alium said.


Re: I broke Plasma again

Reply #11
Code: [Select]
 (II) HELPER: [PAM] Starting...
[09:41:06.322] (II) HELPER: [PAM] Authenticating...
[09:41:06.322] (II) HELPER: [PAM] Preparing to converse...
[09:41:06.322] (II) HELPER: [PAM] Conversation with 1 messages
[09:41:08.658] (WW) HELPER: [PAM] authenticate: Permission denied
[09:41:08.658] (II) HELPER: [PAM] returning.
[09:41:08.658] (WW) DAEMON: Authentication error: "Permission denied"

some is wrong here.
did you added some scripts or command for KDE's autologin?

that is my log:
Code: [Select]
[20:46:28.157] (II) HELPER: [PAM] Starting...
[20:46:28.157] (II) HELPER: [PAM] Authenticating...
[20:46:28.157] (II) HELPER: [PAM] Preparing to converse...
[20:46:28.157] (II) HELPER: [PAM] Conversation with 1 messages
[20:46:28.158] (II) HELPER: [PAM] returning.
[20:46:28.158] (II) DAEMON: Authenticated successfully

Re: I broke Plasma again

Reply #12
I do not know, I think I might have by accident at some point

Re: I broke Plasma again

Reply #13
can you try downgrade to  https://archive.artixlinux.org/packages/p/plasma-workspace/plasma-workspace-5.21.3-1-x86_64.pkg.tar.zst ? and try if problem is not with last update? It should not be, but to be sure ...

in terminal
Code: [Select]
wget  https://archive.artixlinux.org/packages/p/plasma-workspace/plasma-workspace-5.21.3-1-x86_64.pkg.tar.zst
Code: [Select]
sudo pacman plasma-workspace-5.21.3-1-x86_64.pkg.tar.zst
restart sddm

we added in last change of workspace "dbus-run-session " command
Code: [Select]
[09:41:18.594] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "dbus-run-session /usr/bin/startplasma-x11"
but that should caused no troubles...

Re: I broke Plasma again

Reply #14
I'll try to do it in a little bit, I have a little problem, as I cannot set up the wifi getting an
Code: [Select]
essid Host name lookup  failure
and the cable is connected to my main pc I cannot disconnect for next 3 hours

Ah no I am dumb again was using wrong command