Everything stops working after sleep 24 July 2021, 19:47:50 Hello Artix users, I hope you guys can give me a hand with this issue I faced recently. Before going any further though: I'm a fairly experienced linux user and I know how to google, so please keep the "duh just google the problem" replies to yourselves (this issue is already frustrating enough by itself). With that out of the way, I'll add some context first. I recently (aka 2 days ago) swapped my motherboard from a B450 to a B550. I also recently replaced dhcpcd with network manager again (I'm dead sure that mf of a program is the culprit of this but I have no idea how to fix it). So, after waking up from sleep, the hostname would randomly change (because why not) from workstation to DESKTOP-P61T8RE. Trying to change it back running doas hostname workstation breaks literally everything, x11 just suicides and I get an error along the lines of invalid MIT-MAGIC-COOKIE-1 . Existing GUI apps work, I just can't open new ones nor use any of the latte-dock widgets to reboot via KDE-- I need to do it manually from a terminal (If I'm lucky enough to have one already open otherwise I'm screwed and I must switch my UPS off). I faced this issue this morning at first and then it came back today, no problems at all before changing the motherboard and/or switching to networkmanager. The fun part is that /etc/hosts AND etc/hostname both show the correct hostname. Now I'm stuck in a loop of trying to change the damn hostname of this thing and rebooting because doing so breaks everything immedately. I have no clue what to do, running dmesg just shows some app randomly segfault and some others just run for a while and then exit quietly, no idea what that means eitherI'm running this setup:nocturn9x@DESKTOP-P61T8RE ~ neofetch --stdoutnocturn9x@DESKTOP-P61T8RE ------------------------- OS: Artix Linux x86_64 Host: MS-7C56 1.0 Kernel: 5.13.4-artix1-1 Uptime: 12 mins Packages: 1501 (pacman) Shell: zsh 5.8 Resolution: 1920x1080 DE: Plasma 5.22.3 WM: KWin WM Theme: Breeze Theme: Breeze Dark [Plasma], Breeze [GTK2/3] Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] Terminal: kitty CPU: AMD Ryzen 5 3600X (12) @ 3.800GHz GPU: AMD ATI Radeon RX 5500/5500M / Pro 5500M Memory: 1905MiB / 48109MiB EDIT: As expected, it was networkmanager all along, replacing it with dhcpcd (luckily my main internet connection is ethernet) fixed all the issues (apparently). Is it possible that I can't use nm because of how shitty and broken it is? Any hope of debugging it? Last Edit: 24 July 2021, 19:57:36 by nocturn9x
Re: Everything stops working after sleep Reply #1 – 26 July 2021, 22:51:36 Half of our ISOs (the gtk-based ones) use connman, you can give it a try but remember to disable NM.