Sorry for this silly question, but is consolekit installed ?
Additionally, how do you start your X session ? Using a login manager
(xenodm ?), or from the console using `startx` ?
The script below requires the variable `XFCE4_SESSION_WITH_CK` is set to
`1` to run the session through consolekit. If you use `startx`, could
you try to `export XFCE4_SESSION_WITH_CK=1` ?
Le 04/13/18 à 12:38, Olivier REGNIER a écrit :
After xfce was installed, I used the xinitrc file found in
It is very complete.
Xfce runs but ck-launch-session is not executed.
Here is the script related to ck-launch-session:
# run xfce4-session if installed
if which xfce4-session ›/dev/null 2›&1; then
# check if we start xfce4-session with ck-launch-session. this is only
# required for starting from a console, not a login manager
if test "$XFCE4_SESSION_WITH_CK" = "1"; then
if which ck-launch-session ›/dev/null 2›&1; then
echo "You have tried to start Xfce with consolekit support, but"
echo "ck-launch-session is not installed."
echo "Aborted startup..."
# start xfce4-session normally
Thanks for your help.