Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2023 14:34:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 253277] x11/xtrans: Don't unlink existing UNIX sockets => allows multiple X sessions from sddm
Message-ID:  <bug-253277-7141-cquVmXzKb3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253277-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253277-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253277

--- Comment #14 from Olivier Certner <olivier.freebsd@free.fr> ---
For the record, on "stale" socket files:
- Xorg has a signal handler to clean up sockets on abnormal termination.  S=
o,
unless the process is killed with SIGKILL or something else is very wrong,
abnormal termination doesn't leave stale sockets.
- The automatic display selection ('-displayfd' and no explicit display ID
passed) will automatically skip the stale socket and associated display ID =
and
assign another ID.
- Reboot leads to socket cleanup, as Gleb pointed out.

That's why I've never had the slightest problem with this patch and why you
most probably won't either (unless you love to kill your Xorg and insist on
explicitly reusing such a killed display without an intervening reboot).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253277-7141-cquVmXzKb3>