Solved mate-session issue with DBus?

`Orum

Well-Known Member

Reaction score: 42
Messages: 267

I'm trying to get lightdm to start mate, but every time I log in I see two error boxes pop up, and then get kicked back to the login screen. More detail is given on the console:
Code:
Feb 19 11:22:50 dkpc mate-session[94678]: WARNING: Could not make bus activated clients aware of DISPLAY=:0 environment variable: Could not connect: No such file or directory
Feb 19 11:22:50 dkpc mate-session[94678]: WARNING: Could not make bus activated clients aware of MATE_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Could not connect: No such file or directory
Feb 19 11:22:50 dkpc mate-session[94678]: dconf-WARNING: failed to commit changes to dconf: Could not connect: No such file or directory
Feb 19 11:22:50 dkpc mate-session[94678]: WARNING: Could not make bus activated clients aware of SESSION_MANAGER=local/dkpc:/tmp/.ICE-unix/94678 environment variable: Could not connect: No such file or directory
Feb 19 11:23:55 dkpc mate-session[94678]: Gtk-CRITICAL: gtk_main_quit: assertion 'main_loops != NULL' failed
Feb 19 11:23:55 dkpc mate-session[94678]: CRITICAL: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
Feb 19 11:23:56 dkpc mate-session[94678]: Gtk-CRITICAL: gtk_main_quit: assertion 'main_loops != NULL' failed
Feb 19 11:23:56 dkpc mate-session[94678]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Feb 19 11:23:56 dkpc mate-session[94678]: WARNING: Could not make bus activated clients aware of GTK_OVERLAY_SCROLLING=0 environment variable: Could not connect: No such file or directory
Feb 19 11:23:56 dkpc mate-session[94678]: CRITICAL: error getting session bus: Failed to connect to socket /tmp/dbus-CSABBwcUw2: No such file or directory
Feb 19 11:23:56 dkpc mate-session[94678]: WARNING: Unable to register presence with session bus
Feb 19 11:23:56 dkpc mate-session[94678]: CRITICAL: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed
Feb 19 11:23:56 dkpc mate-session[94678]: CRITICAL: error getting session bus: Failed to connect to socket /tmp/dbus-CSABBwcUw2: No such file or directory
Feb 19 11:23:57 dkpc devd[72693]: check_clients:  dropping disconnected client


I've got dbus & hald both running (though I'm not sure if the latter is necessary), procfs mounted on /proc in case that is needed, my username and lightdm are part of the 'video' group, and I even have MATE working on a different machine (with vastly different hardware) using SLiM instead of LightDM. However, I still can't figure out why these sockets aren't appearing in /tmp for this machine using LDM instead of SLiM.

Any ideas?
 
OP
`Orum

`Orum

Well-Known Member

Reaction score: 42
Messages: 267

I should note that I've since removed lightdm, installed slim, and the issue persists. Things are fine (other than lacking the login screen) when I run startx. It's just whenever I try to log in via a graphical manager that the problem appears.

Edit: Nevermind, found the issue, and it's working now. DBus was compiled without X11. I must have fat-fingered it when trying to turn off the other two options.
 
Top