Explorar el Código

set vncserver Xauthority

pull/1/head
padre
commit
3f728e811e
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

@@ -21,6 +21,7 @@ After=syslog.target network.target
[Service]
WorkingDirectory=%h
Environment=DISPLAY=%i
Environment=XAUTHORITY=%h/.Xauthority
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