Created attachment 839559 [details, diff] Xephyr patch Mouse and keyboard input in Xephyr (nested Xorg server) is broken in x11-base/xorg-server-21.1.3. This can be tested by running "lightdm --test-mode" as a normal user (requires x11-misc/lightdm). This is fixed in upstart here: https://gitlab.freedesktop.org/xorg/xserver/-/commit/4c03b67d334b05b814239420776f2fdd4c4a98ac I attached a patch for the issue and can confirm that this patch works.
This is still broken in xorg-server-21.1.8 and not merged into upstream’s server-21.1 branch. Applying the patch works, however. See: https://gitlab.freedesktop.org/xorg/xserver/-/blob/server-21.1-branch/hw/kdrive/ephyr/ephyrinit.c https://gitlab.freedesktop.org/xorg/xserver/-/commit/4c03b67d334b05b814239420776f2fdd4c4a98ac
I've made a backport MR: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1192
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4db39b0d72f93d5c46898cb262d8c5349542cc commit 9b4db39b0d72f93d5c46898cb262d8c5349542cc Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-10-25 15:29:54 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-10-25 15:41:30 +0000 x11-base/xorg-server: Version bump to 21.1.9 Bug: https://bugs.gentoo.org/916254 Closes: https://bugs.gentoo.org/884221 Closes: https://bugs.gentoo.org/909092 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-base/xorg-server/Manifest | 1 + ...1.9-xephyr-Don-t-check-for-SeatId-anymore.patch | 66 +++++++ x11-base/xorg-server/xorg-server-21.1.9.ebuild | 194 +++++++++++++++++++++ 3 files changed, 261 insertions(+)