Check that gnome is running before attempting to set the DBUS
session address.