Comment 104 for bug 1951491

Revision history for this message
Antony Shen (antony-shen) wrote :

I've encountered similar issue, and my installation is Ubuntu Mate 22.04. After some tinkering I found a workaround that works for me. On my Ubuntu Mate, there is a file /etc/X11/Xsession.d/80mate-environment containing a command to unset DBUS_SESSION_BUS_ADDRESS, this seems cause the subsequnt call to dbus-launch thought it should use a default value generated by it; so my workaround is to comment the line, from

    unset DBUS_SESSION_BUS_ADDRESS

to

# unset DBUS_SESSION_BUS_ADDRESS

This works for me. Now Firefox or other none-classic snaps like telegram-desktop works fine.