Browse Source

dbus restart after vncserver is brought up

pull/1/head
parent
commit
141fa1d231
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      templates/vnc/vncserver.service.j2

+ 1
- 0
templates/vnc/vncserver.service.j2 View File

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