Bug#1031494: gdm3: Support Wayland session for all seats in multiseat setups

2023-09-21 Thread Tino Mettler



> Am 21.09.2023 um 13:33 schrieb Tino Mettler :
> 
> Hi,
> 
> the gdm3 part was merged. The gnome-shell part is still pending.
> 
> 
> https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2230
> 
> Should I open a seperate bug for gnome-shell?
> 
> Regards,
> Tino
> 

Hi,

I just remembered that I already opened a separated bug.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031496

Regards,
Tino



Bug#1031494: gdm3: Support Wayland session for all seats in multiseat setups

2023-09-21 Thread Tino Mettler
Hi,

the gdm3 part was merged. The gnome-shell part is still pending.


https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2230

Should I open a seperate bug for gnome-shell?

Regards,
Tino



Bug#1031494: gdm3: Support Wayland session for all seats in multiseat setups

2023-09-21 Thread Simon McVittie
Version: 45~beta-1

On Fri, 17 Feb 2023 at 09:20:03 +0100, Tino Mettler wrote:
> in multiseat setups, gdm3 is limited to only support Wayland sessions on 
> seat0.
> 
> There are patches for gdm3 and gnome-shell to enable Wayland sessions for all
> seats in a multiseat environment.

As far as I can tell, this was integrated upstream in the 45~beta release,
available in Debian testing/unstable.

smcv



Bug#1031494: gdm3: Support Wayland session for all seats in multiseat setups

2023-02-17 Thread Tino Mettler
Package: gdm3
Version: 43.0-3
Severity: normal
Tags: patch upstream

Dear Maintainer,

in multiseat setups, gdm3 is limited to only support Wayland sessions on seat0.

There are patches for gdm3 and gnome-shell to enable Wayland sessions for all
seats in a multiseat environment. I use these patches on top of the current
Debian sid packages for some months now without any glitches. I also tested
fast user-switching as requested by the author of these patches.

The original source of the patches is here:
https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/174/commits

I'll open a separate bug for the gnome-shell part of this issue.

Regards,
Tino
-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.7 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdm3 depends on:
ii  accountsservice   22.08.8-5
ii  adduser   3.131
ii  dbus [default-dbus-system-bus]1.14.6-1
ii  dbus-bin  1.14.6-1
ii  dbus-daemon   1.14.6-1
ii  dconf-cli 0.40.0-4
ii  dconf-gsettings-backend   0.40.0-4
ii  debconf [debconf-2.0] 1.5.82
ii  fluxbox [x-window-manager]1.3.5-2.1
ii  gir1.2-gdm-1.043.0-1.1
ii  gnome-session [x-session-manager] 43.0-1
ii  gnome-session-bin 43.0-1
ii  gnome-session-common  43.0-1
ii  gnome-settings-daemon 43.0-4
hi  gnome-shell   43.2-1.1
ii  gnome-terminal [x-terminal-emulator]  3.46.7-1
ii  gsettings-desktop-schemas 43.0-1
ii  libaccountsservice0   22.08.8-5
ii  libaudit1 1:3.0.9-1
ii  libc6 2.36-8
ii  libcanberra-gtk3-00.30-10
ii  libcanberra0  0.30-10
ii  libgdk-pixbuf-2.0-0   2.42.10+dfsg-1+b1
ii  libgdm1   43.0-1.1
ii  libglib2.0-0  2.74.5-1
ii  libglib2.0-bin2.74.5-1
ii  libgtk-3-03.24.36-3
ii  libgudev-1.0-0237-2
ii  libkeyutils1  1.6.3-2
ii  libpam-modules1.5.2-6
ii  libpam-runtime1.5.2-6
ii  libpam-systemd [logind]   252.5-2
ii  libpam0g  1.5.2-6
ii  librsvg2-common   2.54.5+dfsg-1
ii  libselinux1   3.4-1+b5
ii  libsystemd0   252.5-2
ii  libx11-6  2:1.8.3-3
ii  libxau6   1:1.0.9-1
ii  libxcb1   1.15-1
ii  libxdmcp6 1:1.1.2-3
ii  lsb-base  11.6
ii  mutter [x-window-manager] 43.2-6
ii  polkitd   122-3
ii  procps2:4.0.2-3
ii  systemd-sysv  252.5-2
ii  sysvinit-utils [lsb-base] 3.06-2
ii  ucf   3.0043+nmu1
ii  x11-common1:7.7+23
ii  x11-xserver-utils 7.7+9+b1
ii  xterm [x-terminal-emulator]   378-1

Versions of packages gdm3 recommends:
ii  at-spi2-core   2.46.0-5
ii  desktop-base   12.0.2
ii  gnome-session [x-session-manager]  43.0-1
ii  x11-xkb-utils  7.7+7
pn  xserver-xephyr 
ii  xserver-xorg   1:7.7+23
ii  zenity 3.44.0-1

Versions of packages gdm3 suggests:
pn  libpam-fprintd
ii  libpam-gnome-keyring  42.1-1+b1
pn  libpam-pkcs11 
pn  libpam-sss
pn  orca  

-- Configuration Files:
/etc/gdm3/daemon.conf changed:
[daemon]
WaylandEnable=true
[security]
[xdmcp]
[chooser]
[debug]
Enable=true


-- debconf information:
  gdm3/daemon_name: /usr/sbin/gdm3
* shared/default-x-display-manager: gdm3
>From 4135ba952ecb75bd53dac14ef10e6bfe1e5c1952 Mon Sep 17 00:00:00 2001
From: msizanoen1 
Date: Mon, 7 Mar 2022 11:34:18 +0700
Subject: [PATCH 1/7] local-display-factory: Acquire seat name properly

systemd-logind escapes the seat name prior to exposing as a DBus object.
As a result, seat names like "seat-name" may be escaped to
"seat_x2dname" when exposed as a DBus object.

Use DBus to acquire the seat name instead of using the last component of
the object path.
---
 daemon/gdm-local-display-factory.c | 32 --
 1 file