Sfoglia il codice sorgente

set xdg session type earlier

pull/1/head
parent
commit
9a86cb769c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      templates/vnc/vncserver.service.j2

+ 1
- 1
templates/vnc/vncserver.service.j2 Vedi File

@@ -26,9 +26,9 @@ 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=fish -c "set -x XDG_SESSION_TYPE x11; systemctl --user import-environment XDG_SESSION_TYPE"

[Install]
WantedBy=default.target