/* * Plugin Name: StarNet Store * Plugin URI: https://www.starnet.com * Description: This is the StarNet Store * Version: 1.0 * Author: StarNet Communications Corp * License: Proprietary * Network: true */ Could not acquire name on session bus when launching Gnome – Welcome to the StarNet Knowledge Base

Could not acquire name on session bus when launching Gnome


On some OSes (for example ubuntu) when launching the gnome-session command you may receive the error

Could not acquire name on session bus

This error comes from the remote system failing to connect to the a lock file which is managing the session.

To solve this issue, edit the command to the following

unset DBUS_SESSION_BUS_ADDRESS; gnome-session

unsetting the DBUS_SESSION_BUS_ADDRESS will cause a different lock file to be created and then the session will launch properly