You are not logged in.

#1 2023-08-13 18:51:32

F5DEB3
Member
Registered: 2023-08-13
Posts: 4

[SOLVED] Can’t run X server twice without locking up entire system

Hello all, I have a new install, when I start the X server with startx or xinit, I can successfully run twm, xterm etc for a while and use the desktop. I have also launched xfce this way successfully. But if I kill the X server and all related processes, when I go to start it again, the system locks up entirely and I have to hard reboot. I can’t find any logs that catch this issue, because the whole system becomes unresponsive. Or maybe I’m looking in the wrong places.
I’ve checked journalctl and /var/ Xorg logs.

Any help would be appreciated!

I’ve installed the full set of nvidia proprietary drivers and I wonder if that is causing these issues. nvidia, nvidia-utils, and the multilib utils package.

Alternate title: Xorg locking up system on relaunch

Last edited by F5DEB3 (2023-08-14 20:09:59)

Offline

#2 2023-08-13 19:33:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: [SOLVED] Can’t run X server twice without locking up entire system

https://wiki.archlinux.org/title/Keyboa … el_(SysRq)
You could also try to ssh in and the log after terminating the 1st server might already hold a clue on what's wrong.

Please post your complete system journal after terminating X11:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2023-08-13 22:34:13

F5DEB3
Member
Registered: 2023-08-13
Posts: 4

Re: [SOLVED] Can’t run X server twice without locking up entire system

Hi Seth, thanks for your reply!
By enabling the SysRq key, I was able to break out of the frozen screen.
Here’s the journalctl log before and after the SIGTERM
http://0x0.st/H_FW.txt

Offline

#4 2023-08-14 07:35:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: [SOLVED] Can’t run X server twice without locking up entire system

You've loaded nouveau and nvidia, read up https://wiki.archlinux.org/title/NVIDIA#Installation and pay special attention to the step that talks about nouveau.

Edit: you also run systemd-network and dhcpcd in parallel, pick one, disable the other.

Last edited by seth (2023-08-14 07:37:40)

Offline

#5 2023-08-14 16:57:05

F5DEB3
Member
Registered: 2023-08-13
Posts: 4

Re: [SOLVED] Can’t run X server twice without locking up entire system

Thanks! Disabling Nouveau following those steps in the Install Wiki seems to have fixed the issue.

When I was running just systemd-networkd, ipv4 addresses were not loading, only ipv6, so someone recommended dhcpcd alongside(?) it. Any ideas on that?

Offline

#6 2023-08-14 19:50:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: [SOLVED] Can’t run X server twice without locking up entire system

You'll have to open a new thread w/ a meaningful subject and post a clean system journal (ie. from a boot w/o dhcpcd) and also the outputs of "ip a; ip r" there.
Most likely you're not getting a lease via systemd-network and only have the LL IPv6 - you can also only just use dhcpcd (along iwd) instead of systemd-networkd/resolved

As for this thread, 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

#7 2023-08-14 20:10:57

F5DEB3
Member
Registered: 2023-08-13
Posts: 4

Re: [SOLVED] Can’t run X server twice without locking up entire system

Post updated. Thanks again, much appreciated.

Offline

Board footer

Powered by FluxBB