X2go client issue after upgrading to 24.04

When X2Go client is started to log in to machine, the message is that"could not acquire name on the session bus" in Ubunti-MATE 24.04. cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.1 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.1 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian

1 Like

Hi, @rnsarma and welcome to the Ubuntu MATE Community!

1 Like

Edit /etc/X11/Xsession.d/80mate-environment

add unset DBUS_SESSION_BUS_ADDRESS before the closing fi

restart client, try again.

3 Likes

Thank you. It is working

3 Likes

In case somebody was wondering:
It solves the issue when the Ubuntu Mate 24.04 is stuck on the black screen login window with no actual login in place and minutes later it shows “could not acquire name on the session bus” (while no x2go connection involved, the client is only installed on that machine and not actually used).

The whole more complete fix for beginners:

as root do:

nano /etc/X11/Xsession.d/80mate-environment

make sure it looks like this:

# This file is sourced by Xsession(5), not executed.
if [ "x$DESKTOP_SESSION" = "xmate" ] || [ "x$XDG_SESSION_DESKTOP" = "xmate" ]; then
    # Ensure GTK accessibility modules are active.
    if [ -z "$GTK_MODULES" ]; then
        GTK_MODULES=gail:atk-bridge:canberra-gtk-module
    else
        GTK_MODULES="$GTK_MODULES:gail:atk-bridge:canberra-gtk-module"
    fi
    export GTK_MODULES

    # Disable GTK3 overlay scrollbars
    export GTK_OVERLAY_SCROLLING=0

    # Instruct Compiz which configuration profile to use
    export COMPIZ_CONFIG_PROFILE="mate"
unset DBUS_SESSION_BUS_ADDRESS
fi

(The fix is the 2nd row to the end).

1 Like