[Bug 253277] x11/xtrans: Don't unlink existing UNIX sockets => allows multiple X sessions from sddm

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253277

--- Comment #14 from Olivier Certner <[email protected]> ---
For the record, on "stale" socket files:
- Xorg has a signal handler to clean up sockets on abnormal termination.  So,
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.