Debian Jessie systemd autologin xfce4 polkit permission fix

9 06 2014

Recently things have changed in regard to policies and the way one logs in.

If your one of the few, like me, who doesn’t use a *dm for login and has suffered the polkit hassle of no suspend/hibernate or shutdown/reboot with Xfce4, there is a simple fix.

Parse a ‘– vt1’ to startx. In your .bashrc or .bash_profile, use the line,

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx -- vt1

Advertisements