aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/wsys-xorg.service
blob: 8c7a43af7aa4f7acd5d880f25d1937974aa82645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Ensure you are allowed to run X.org as a regular non-console user!

# /etc/X11/Xwrapper.conf
#   allowed_users=anybody
#   needs_root_rights=yes

[Unit]
Description=Xorg server at display :0

Requires=wsys-xorg.socket
After=wsys-xorg.socket
Before=wsys.target

[Service]
Type=simple
SuccessExitStatus=0 1

ExecStart=/usr/bin/Xorg :0 -nolisten tcp -noreset -verbose 2 "vt1"
ExecStartPost=systemctl --user import-environment DISPLAY
ExecStartPost=systemctl --user import-environment XAUTHORITY