[Bug 253277] x11/xtrans: Don't unlink existing UNIX sockets => allows multiple X sessions from sddm
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 8 16:43:46 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253277
--- Comment #3 from Olivier Certner <olivier.freebsd at free.fr> ---
Amusingly, I found this code at start of 'startx':
# Automatically determine an unused $DISPLAY
d=0
while true ; do
[ -e "/tmp/.X$d-lock" -o -S "/tmp/.X11-unix/X$d" ] || break
d=$(($d + 1))
done
defaultdisplay=":$d"
unset d
This is exactly what the proposed change makes X (launched with '-displayfd')
do.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list