Pārlūkot izejas kodu

dbus restart after vncserver is brought up

pull/1/head
vecāks
revīzija
141fa1d231
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      templates/vnc/vncserver.service.j2

+ 1
- 0
templates/vnc/vncserver.service.j2 Parādīt failu

@@ -26,6 +26,7 @@ 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 restart dbus.service
ExecStartPost=systemctl --user start xsession.target

[Install]