Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2021 14:25:22 +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-lNnvkoY2hL@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 #5 from Jan Beich <jbeich@FreeBSD.org> ---
+1. Prevents Plasma/Wayland (debug session) destroying X11 socket used by S=
way
(dogfood session) at least until
https://invent.kde.org/plasma/kwin/-/commit/9f0f4527029a. Both run Xwayland
with different flags e.g.,

[kernel]
- /sbin/init
|-- login [pam] (login)
| `-- sway
|-- Xwayland :0 -rootless -terminate -core -listenfd 35 -listenfd 37 -wm 40
...
|-- login [pam] (login)
| `-- ck-launch-session dbus-run-session startplasma-wayland
|   `-- dbus-run-session startplasma-wayland
|     |-- dbus-daemon --nofork --print-address 4 --session
|     `-- startplasma-wayland
|       `-- kwin_wayland_wrapper --xwayland
../libexec/startplasma-waylandsession (kwin_wayland_wrappe)
|         `-- kwin_wayland --wayland_fd 4 --xwayland
../libexec/startplasma-waylandsession
|           `-- Xwayland -displayfd 49 -rootless -wm 52 -auth
/var/run/user/1234/xauth_XOBvXm

Notice, Sway doesn't use -displayfd unlike Plasma but simply checks locks.
https://github.com/swaywm/wlroots/blob/0.13.0/xwayland/sockets.c#L130-L186

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