|
|
@@ -21,14 +21,14 @@ After=syslog.target network.target |
|
|
|
[Service] |
|
|
|
WorkingDirectory=%h |
|
|
|
Environment=DISPLAY=%i |
|
|
|
Environment=XAUTHORITY=%h/.Xauthority |
|
|
|
Environment=XAUTHORITY=%h/.Xauthority%i |
|
|
|
ExecStart=Xtigervnc $DISPLAY {{vncserver_options|replace('\n',' ')|trim}} |
|
|
|
ExecStartPost=fish -c "while not xdpyinfo > /dev/null 2> /dev/null; sleep 0.1; end" |
|
|
|
ExecStartPost=xrandr --output VNC-0 --primary |
|
|
|
ExecStartPost=systemctl --user import-environment DISPLAY XAUTHORITY |
|
|
|
ExecStartPost=fish -c "set -x XDG_SESSION_TYPE x11; systemctl --user import-environment XDG_SESSION_TYPE" |
|
|
|
ExecStartPost=systemctl --user restart dbus.service |
|
|
|
ExecStartPost=systemctl --user start xsession.target |
|
|
|
#ExecStartPost=systemctl --user import-environment DISPLAY XAUTHORITY |
|
|
|
#ExecStartPost=fish -c "set -x XDG_SESSION_TYPE x11; systemctl --user import-environment XDG_SESSION_TYPE" |
|
|
|
#ExecStartPost=systemctl --user restart dbus.service |
|
|
|
#ExecStartPost=systemctl --user start xsession.target |
|
|
|
|
|
|
|
[Install] |
|
|
|
WantedBy=default.target |