Explorar el Código

import env variables on session start

pull/1/head
padre
commit
f195dbb591
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      templates/vnc/vncserver.service.j2

+ 1
- 0
templates/vnc/vncserver.service.j2 Ver fichero

@@ -24,6 +24,7 @@ Environment=DISPLAY=%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=systemctl --user start xsession.target

[Install]