When shutting down a X user session system hangs with black screen not reaching the shell prompt in tty0. The system is completely inresponsive to keyboard or mouse events. Black screen with cursor in upper left corner and unmovable mouse-pointer in the middle.
I now upgraded x11-servers/xorg-server 1.20.11_3,1 -> 1.20.13,1 but the problem was there for some weeks before, persisting this upgrade.
Searching for solutions I found others having exactly the same problem too:
There I learned that first switching to tty0 and killing X there at least gives me a terminal prompt again:
(II) AIGLX: Suspending AIGLX clients for VT switch
^Cxinit: connection to X server lost
waiting for X server to shut down XIO: fatal IO error 4 (Interrupted system call) on X server ":0"
after 179932 requests (179929 known processed) with 0 events remaining.
xinit: X server slow to shut down, sending KILL signal
waiting for server to die
xinit: unexpected signal 2
No clues in the xorg logfile.
looking at ps aux after shutdown (via ssh from other box) shows no more X-related processes.
(In reply to p5B2E9A8F from comment #0)
> exactly the same problem too:
> <https://forums.freebsd.org/threads/i-cannot-stop-x.82545/> …
There are a mixture of systems.
Which version of FreeBSD do you run, exactly?
> pkg info xorg-server
Name : xorg-server
Version : 1.20.13,1
Installed on : Sat Oct 23 19:04:09 2021 UTC
Origin : x11-servers/xorg-server
Architecture : FreeBSD:12:i386 <------
Prefix : /usr/local
Categories : x11-servers
Licenses : MIT
Maintainer : x11@FreeBSD.org
WWW : http://www.freedesktop.org/Software/xorg
Comment : X.Org X server and related programs
DEVD : off
SUID : on
UDEV : on
Shared Libs required:
Shared Libs provided:
built_by : poudriere-git-126.96.36.19911017_2
cpe : cpe:2.3:a:x.org:xorg-server:1.20.13:::::freebsd12:x86
port_git_hash : 59fea54dcf
repo_type : binary
repository : local
Flat size : 4.38MiB
This package contains the X.Org X server and some associated programs.
(In reply to p5B2E9A8F from comment #2)
Does not tell the exact version.
> freebsd-version -kru
(In reply to p5B2E9A8F from comment #4)
Thanks, that's somewhat outdated. Is the issue reproducible with an up-to-date release?
I do not think that my system is "outdated". I patch my systems only if they are affected and not for looking better.
What has changed is the version of the port.
If you can tell me which release patch solves the port problem, I'll spend you a beer.