Hello All! 2012/9/28 Peeters Simon <[email protected]>: >> Second question - I've lost all /etc/profile stuff which was set up >> somehow in the depths of Xorg-related script's swamp. I'd like to run >> it (as well as some other shell scripts) and borrow its envvars (at >> least for some applications) - is it possible? > > systemd currently does not parse /etc/profile (and never will?) > you can work around by creating a shell script like this: > > cat <<EOF > /bin/systemd-session > #!/bin/bash -l > exec /usr/bin/systemd --user $@ > EOF > > and point your xdm-config to /bin/systemd-session > (this lets bash start a 'login' shell, thus parsing /etc/profile. and > exec's systemd afterwards)
Thanks! Works like a charm. -- With best regards, Peter Lemenkov. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
