diff --git a/x11/misc/lightdm/lightdm-session.sh b/x11/misc/lightdm/lightdm-session.sh index 7232b7ed..fcfd1598 100644 --- a/x11/misc/lightdm/lightdm-session.sh +++ b/x11/misc/lightdm/lightdm-session.sh @@ -1,4 +1,7 @@ #!/bin/sh +source /etc/profile +mkdir -p ~/.cache/ +exec &> ~/.cache/lightdm-user.log if [ ${XDG_SESSION_TYPE} == "wayland" ] ; then # Wait until the Xorg process for the user finishes while pgrep -u 0 Xorg > /dev/null; do @@ -11,4 +14,4 @@ if [ ${XDG_SESSION_TYPE} == "wayland" ] ; then exec env dbus-run-session $@ else exec /etc/X11/xinit/Xsession $@ -fi \ No newline at end of file +fi