this post was submitted on 07 Feb 2025
15 points (100.0% liked)

Linux

49687 readers
1779 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I am relatively new to linux and would like to learn how to troubleshoot things like this. I'm not sure whether the title is indeed correct, but I've had it happen twice now that I was on discord with friends, and suddenly my whole system freezes. When I restart, the official discord client says it has an update.

Has anyone else have this happen? How do I best look for the actual cause? Or at least some error message I can google?

I am on vanilla arch, running plasma on wayland, and I've got the AUR enabled using yay. Discord is installed from the arch extra repo though.

top 6 comments
sorted by: hot top controversial new old
[–] eldavi@lemmy.ml 1 points 46 minutes ago

like others have said; the logs are your friends here; but you can also help narrow it down. the next time it happens, see if you can confirm how your system has frozen by doing these things:

if it's well and truly frozen, nothing will happen when you tap the caps lock key; as in your key led won't light up or you don't get any response at all.

if it does light up; then it might be your xwindows environment and you might be able to switch to a virtual terminal. most distributions have setup alt+ctrl+f1 through f7 to let you switch to one of them and some distros have setup alt+ctrl+backspace to restart your xwindows. if you're in this situation, then it's a safe bet that an application is causing your problem and you can narrow your focus on the logs there.

[–] Jumuta@sh.itjust.works 1 points 1 hour ago (1 children)

try having a look at the logs from the end of previous boot, I think it's journalctl -eb -1.

journalctl is afaik systemd's log management thingy, and any software issue should be able to be found there.

if it's a hardware/driver issue it might be a bit harder to troubleshoot though, what hardware (cpu/motherboard mainly) are you using?

[–] meekah@lemmy.world 1 points 51 minutes ago (1 children)

ah, that's a handy command, thanks. I should probably start noting down some useful commands somewhere persistent..

anyways, I'm using a Ryzen 5 5600X on an B550 Aorus Pro motherboard.

[–] Jumuta@sh.itjust.works 2 points 31 minutes ago

I've heard amd 5000 series had some freezing problems because of the core voltage being lower on linux, maybe try installing the microcode package?

https://wiki.archlinux.org/title/Ryzen#Troubleshooting

Honestly, this just happens with Electron apps. Just nuke everything and reinstall. Don't forget the XDG directories.

[–] infeeeee@lemm.ee 7 points 4 hours ago

Obviously ArchWiki has a guide where to look for information: https://wiki.archlinux.org/title/General_troubleshooting

Look for errors in logs, a lot of things can do that.

Update discord, there was a news about that recently: https://archlinux.org/news/glibc-241-corrupting-discord-installation/