Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2021 16:43:46 +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-7RHBQd8Q6y@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 #3 from Olivier Certner <olivier.freebsd@free.fr> ---
Amusingly, I found this code at start of 'startx':

# Automatically determine an unused $DISPLAY
d=3D0
while true ; do
    [ -e "/tmp/.X$d-lock" -o -S "/tmp/.X11-unix/X$d" ] || break
    d=3D$(($d + 1))
done
defaultdisplay=3D":$d"
unset d

This is exactly what the proposed change makes X (launched with '-displayfd=
')
do.

--=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-7RHBQd8Q6y>