Package: lutris
Version: 0.5.12-1
Followup-For: Bug #1028543
X-Debbugs-Cc: [email protected]

I also ran into this problem recently (being unable to start lutris).
This gitlab issue seems somewhat relevant[1]. I think the actual bug is caused
by gdm3.

After finding your bug report, I was able to find out that /usr/games was also
missing from my $PATH under certain circumstances. The circumstances were
running a wayland kde plasma session that was launched through GDM on a Debian
system where games are in /usr/games. I was also unable to start five-or-more
or gnome-chess, as those are also located in /usr/games.

However, I am able to start lutris under GNOME through GDM; my PATH appears to 
be
set properly: `/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games`.

Whereas SDDM handles the PATH environment variable properly, something about
specifically launching the plasma wayland session (or sway) through GDM leads
to PATH being set to:
`/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin`.

The issue persists on a fresh install of Debian 12 bookworm.

I still do not know why this happens, but I assume it is related to GDM's 
handling
of wayland sessions. 

Jaycee

1: https://gitlab.gnome.org/GNOME/gdm/-/issues/692

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

Kernel: Linux 6.1.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lutris depends on:
ii  cabextract            1.9-3
ii  curl                  7.88.1-1
ii  fluid-soundfont-gs    3.1-5.3
ii  gir1.2-gtk-3.0        3.24.36-4
ii  gir1.2-webkit2-4.1    2.38.5-1
ii  mesa-utils            8.5.0-1
ii  p7zip                 16.02+dfsg-8
ii  psmisc                23.6-1
ii  python3               3.11.2-1
ii  python3-dbus          1.3.2-4+b1
ii  python3-distro        1.8.0-1
ii  python3-gi            3.42.2-3+b1
ii  python3-lxml          4.9.2-1+b1
ii  python3-magic         2:0.4.26-3
ii  python3-pil           9.4.0-1.1+b1
ii  python3-requests      2.28.1+dfsg-1
ii  python3-setproctitle  1.3.1-1+b2
ii  python3-yaml          6.0-3+b2
ii  unzip                 6.0-28
ii  x11-xserver-utils     7.7+9+b1

Versions of packages lutris recommends:
ii  gvfs-backends        1.50.3-1
ii  libwine-development  7.22~repack-2
ii  python3-evdev        1.6.1+dfsg-1+b1
ii  winetricks           20220411-1

Versions of packages lutris suggests:
pn  gamemode   <none>
ii  gamescope  3.11.49-1

-- no debconf information

Reply via email to