[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 Mon, 19 Jun 2023 12:38:42 +0000
with message-id <E1qBE9a-00GJwE-6j@fasolo.debian.org>
and subject line Bug#954783: fixed in mate-session-manager 1.26.1-1
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.1-1
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: Mon, 19 Jun 2023 13:53:53 +0200
Source: mate-session-manager
Architecture: source
Version: 1.26.1-1
Distribution: unstable
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.1-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #1038638).
     - mate-session-check-accelerated*.c: Fix memory leaks.
     - mate-session/{main.c,gsm-manager.c}: Fix memory leaks.
   * debian/patches:
     + Cherry-pick upstream double-free fix: 0009_main-fix-double-free-on-
       gl_renderer.patch.
     + Trivial rebase of 0005_lock-session-before-user-switch.patch.
   * debian/default-settings/X11/Xsession.d/99mate-environment:
     + Allow clutter backends other than x11 (while preferring x11). (Closes:
       #954783).
   * debian/control:
     + Bump Standards-Version: to 4.6.2. No changes needed.
   * debian/rules:
     + Set libexecdir to /usr/libexec/mate-session-manager.
   * debian/copyright:
     + Update copyright attribution for debian/ folder.
Checksums-Sha1:
 b007d048b57810dd59af658de6fc4865e4b5647d 2717 mate-session-manager_1.26.1-1.dsc
 ed916f690252826ba7055ae95c34f21724f66bad 353980 mate-session-manager_1.26.1.orig.tar.xz
 43a4043c31670cedcde6b30a0cc44a79b04c46df 13812 mate-session-manager_1.26.1-1.debian.tar.xz
 81f46f1255988c7b7c8b03a6d9af741bdee95239 16671 mate-session-manager_1.26.1-1_source.buildinfo
Checksums-Sha256:
 6f1333dd89af9705f7f942339a77a068ce57ebf0f3c2dee045154a1a77ee1665 2717 mate-session-manager_1.26.1-1.dsc
 20f03b0af81388ea596b25fea2ee9c4aaf5dd197de3993ddaae4b4431cb10342 353980 mate-session-manager_1.26.1.orig.tar.xz
 49c6b318c6a9c2a97037cef7db95ec0147e1e9a880e98be47288138d62dbf147 13812 mate-session-manager_1.26.1-1.debian.tar.xz
 1a4f0df64b5c4fd4c8d605b89c76c825139e094fd08f529c2999d1fe99c17934 16671 mate-session-manager_1.26.1-1_source.buildinfo
Files:
 8066dc7aaf06c8a5302533fbd4387ed4 2717 x11 optional mate-session-manager_1.26.1-1.dsc
 223043e4e0c3f210d0da439b18170d92 353980 x11 optional mate-session-manager_1.26.1.orig.tar.xz
 60410050653690f8e55a38279e29990f 13812 x11 optional mate-session-manager_1.26.1-1.debian.tar.xz
 50d906c58ec249b5e9ba0499aa695170 16671 x11 optional mate-session-manager_1.26.1-1_source.buildinfo

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

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmSQRj0VHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxK1gP/Rf+NOzUXW2RT/XjRbpArSIu0a9d
hMxD+/YLeK2lZWGpSkCfvPUkm+ULz1OJsh5bij2+6h1dxvkgUJl/juA+HHmnSvFM
v9dT3rTWWXXR0Gf1kPi+ngKHRQRzBkqNHTC/EyBebuo+YjRFE/moALa9MSuJr5aw
2oS9N2ZxT+7ANburdoTFSRk6VIp5Hp6OcgbkmnI/Ovf6+A3AqoLvyMs1axvRX4bx
4APvGP5HLUCj9mOCWIrZEpuu3ZyOo+LPQ6K9K/DaydfvlOE7T2wi/EzpfKty633P
YLsf3zuCKGAjsvbSN9Iih2wLlGC3legLwc2BkBgBAHqvjEaWKIa0bZcCRjUaE5u5
weJkSrtfHCfTZaSXkbDVK0BHfKB9NIaDVAXRRE6e2Kk9zaumSeI3Yu6cg1Sk990o
A1r+8sTdtaTmxnkWwjWF7WdsPAZFmmsNQI8+sdWZk014mBCFgVL0ds6fObNT6bMA
DrsbLWagf91JgQwHcAPyc7cIHncCBbxVbSKZXz45t4HiY10uI2AVAqghpSNG6wZJ
hBxExIwZlFEooQfcqBGCnNTmtFx8JQqygQ/98gH7lP3ZnfFHXNNeVRhLysxCbaH2
zBi1cZXrAZ514XIF4pkIUaYxkwrMrGCD2IdXx3KcSbtcyZIbRMQd/Z/jzvTlOE05
Qr9UE1s6WsFuNAxn
=am60
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: