#!/bin/sh # Import environemnt to systemd user session systemctl --user import-environment DISPLAY XAUTHORITY PATH # Run graphical-session.target systemctl --user start --wait xorg.target