瀏覽代碼

dbus restart after vncserver is brought up

pull/1/head
父節點
當前提交
141fa1d231
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      templates/vnc/vncserver.service.j2

+ 1
- 0
templates/vnc/vncserver.service.j2 查看文件

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