Failed to connect to session manager

#1

i have this errors in my home .xsession-errors:
Failed to connect to session manager: Impossibile connettersi al gestore della sessione: SESSION_MANAGER environment variable not defined
Windows manager openbox
I only use polybar, someone knows how to solve.
I have this error on all of the archlabs I have installed
Thank
Cheers

#2

what is the contents of ~/.xsession

#3

thank

  GNU nano 4.2                 /home/don/.xsession                              
#!/bin/sh

#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#

XDG_CONFIG_HOME="$HOME/.config"
export XDG_CONFIG_HOME
#4

are you using lightdm ?

#5

Hi, yes

#6

Im not real sure what is going on there sorry ector, last time i used an .xsession file i was using lxdm to start xfce4, i think you put like startxfce4 or in your case exec openbox-session or exec openbox.

#7

Hi,bump.