Ver código fonte

set vncserver Xauthority

pull/1/head
pai
commit
3f728e811e
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      templates/vnc/vncserver.service.j2

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

@@ -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