Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make qubes-session inherit the systemd user session variables. #151

Merged
merged 2 commits into from Mar 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions appvm-scripts/usrbin/qubes-session
Expand Up @@ -27,6 +27,14 @@

loginctl activate "$XDG_SESSION_ID"

# Now import the environment from the systemd user session.
# This is necessary to enable users to configure their
# Qubes environment using the standard environment.d
# facility. Documentation for the facility is at:
# https://www.freedesktop.org/software/systemd/man/environment.d.html
eval $(systemctl --user show-environment | sed 's/^/export /')


if qsvc guivm-gui-agent; then
if [ -e "$HOME/.xinitrc" ]; then
. "$HOME/.xinitrc"
Expand Down