[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954783: marked as done (Non-functioning gnome-apps after mate-session due to surviving CLUTTER_BACKEND env var)



Your message dated Sat, 24 Jun 2023 19:47:10 +0000
with message-id <E1qD9Dy-006hdf-T6@fasolo.debian.org>
and subject line Bug#954783: fixed in mate-session-manager 1.26.0-1+deb12u1
has caused the Debian Bug report #954783,
regarding Non-functioning gnome-apps after mate-session due to surviving CLUTTER_BACKEND env var
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
954783: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954783
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libclutter-gtk-1.0-0
Version: 1.8.4-4

Package: gnome-session-common
Version: 3.30.1-2


In short: When running a mate session the environment-variable CLUTTER_BACKEND=x11 is set. This variable survives a logout and relogin into the GNOME wayland-session, which doesn't override it. The result is a bunch of not launchable clutter-gtk applications.

To reproduce the issue:
 * Install debian 10.3.0 with gnome and mate environment
 * Optional:
     * Login into GNOME (wayland) Session
         * Run `env | grep -Ei 'x11|wayland'`
            XDG_SESSION_TYPE=wayland
            WAYLAND_DISPLAY=wayland-0
         * Note: CLUTTER_BACKEND is not set
         * Launch `gnome-control-center` via graphical environment or console
            * Works fine
         * Logout
 * Login into MATE session
     * `env | grep -Ei 'x11|wayland'`
        CLUTTER_BACKEND=x11
        XDG_SESSION_TYPE=x11
     * `sudo grep -Ri CLUTTER_BACKEND /etc/`
        /etc/X11/Xsession.d/99mate-environment:    export CLUTTER_BACKEND=x11
     * Logout
 * Login into GNOME (wayland) session
     * `env | grep -Ei 'x11|wayland'`
        CLUTTER_BACKEND=x11 # <- survived!
        XDG_SESSION_TYPE=wayland
        WAYLAND_DISPLAY=wayland-0
     * Launch `gnome-control-center` via graphical environment or console
     * Observe it doesn't startup
        (gnome-control-center:4399): Clutter-Gtk-ERROR **: 12:23:42.914: *** Unsupported backend.
     * In fact all of the following apps terminate the same way
         * `compgen -c | while read cmd; do [ -n "$(which $cmd)" ] && ldd $(which $cmd) | grep -q clutter-gtk && echo $cmd; done`
            cheese
            totem
            evolution
            gnome-control-center
            gnome-contacts
            cheese
            totem
            evolution
            gnome-control-center
            gnome-contacts
            gnome-nibbles
            swell-foop
            lightsoff
            quadrapassel
     * Now launch `CLUTTER_BACKEND=wayland gnome-control-center`
        * Works fine

So I suppose the surviving of session-variables is the core issue here. In case of it beeng rather a feature than a bug, I suppose gnome should set CLUTTER_BACKEND explicitly aswell. Or maybe clutter-gtk shall respect this constellation of CLUTTER_BACKEND and GDK_WAYLAND_DISPLAY?
--- End Message ---
--- Begin Message ---
Source: mate-session-manager
Source-Version: 1.26.0-1+deb12u1
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
mate-session-manager, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 954783@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated mate-session-manager package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 20 Jun 2023 08:10:18 +0200
Source: mate-session-manager
Architecture: source
Version: 1.26.0-1+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 954783 1038638
Changes:
 mate-session-manager (1.26.0-1+deb12u1) bookworm; urgency=medium
 .
   * debian/patches:
     + Add 0007_Fix-memory-leaks-284.patch and 0008_mate-session-fix-memory-
       leak.patch. Fix various memory leaks. (Closes: #1038638).
     + Cherry-pick 0009_main-fix-double-free-on-gl_renderer.patch from upstream's
       1.26 branch. Regression fix for 0008_mate-session-fix-memory-leak.patch.
   * debian/default-settings/X11/Xsession.d/99mate-environment:
     + Allow clutter backends other than x11 (while preferring x11). (Closes:
       #954783).
Checksums-Sha1:
 5525b796b5606487015336cf1002bb62b3481488 2749 mate-session-manager_1.26.0-1+deb12u1.dsc
 2950cb6e45600c7a5ffc3853d00757fd58189bca 15244 mate-session-manager_1.26.0-1+deb12u1.debian.tar.xz
 0b85909b9150ebd712c63ec2841e9c5001d1daea 16703 mate-session-manager_1.26.0-1+deb12u1_source.buildinfo
Checksums-Sha256:
 8adf0a40bc39de7fc137ea84af7de4b33c3f4f938eed32b588cb7ad1ef75c36b 2749 mate-session-manager_1.26.0-1+deb12u1.dsc
 c82df4be3ea8cae1e79752a0d2cddcd7c6feab2dcb7e432de81e229173184f6a 15244 mate-session-manager_1.26.0-1+deb12u1.debian.tar.xz
 57ebf9455f1f8edfb0fc92d4e142d86948224bbb3520399df4abc41c6aed2d46 16703 mate-session-manager_1.26.0-1+deb12u1_source.buildinfo
Files:
 1dd43d18f55877c4316c8ce536d23c52 2749 x11 optional mate-session-manager_1.26.0-1+deb12u1.dsc
 dae1358f224d720e1804695585e7eabf 15244 x11 optional mate-session-manager_1.26.0-1+deb12u1.debian.tar.xz
 ea3d5af8368071ad4e0abd8d6d2552ca 16703 x11 optional mate-session-manager_1.26.0-1+deb12u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmSRhH0VHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxfLYP/0NYGI9PEuEkRI8LhNPz37ZIyPr7
D4KQRLZoSKgoaap5kvhezQyqvQpDvv/AGNU0GkYwCJkPlXAvoCe/KQuz9kB9Y9M2
6Zs0IvbqCaSbd7dnd3DWsLWRKQNgE1J5EWoraHj/v+zvPbOq26f78taEg9hwMHo9
LkzkHcLe2+CTt16dm5oQxGJYioaVD8huSyL2aWz7AAjr7pfbeNwVICVBNQd/46qF
XJuPUp9SJ/MgP1MkKlnQ25Ip+3evRaoKBPCrZf2ukWUlI0wwD5Z+y7SYOJn3P0UV
0yWSSxoue+K4G7J4WAcKXJA6A7arL1hscu7bEFSQDoMAwg0H4UsUtpjjf2ZjoWgp
bMtJ7x8l8lP4A7E1bEjaiL7BU+IHnZKO10n2eCUN5hRfe87oEctqisZMUKMZhh3H
CEcIgZRd2uN8mXtSczf97EZjiAR+89YPVDlID0X2JPvL+7Xg03FKKXLQUg9UIuGU
hTYZ+zN6mKHgxEYzNO1B3Q4tmvio18TDOTmIKUO9kwyO2CkpuoiZvYGevSeSR4GJ
dfLmF2BEJ9mJ7yueKfihy7U4aUIbaOTZQD56p9Q++7TQw3i7B1f8INWkyCX0jOGQ
eyyWhrWBRdNTPNWPSpNJAKMXrxViB6+wYt4dr0DJH6UR9Ps3ZsGb6Cjnyuz9OXb0
OHsXzhSEKfzGGr99
=D8Nk
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: