From fad0b9720f0f94e452feeb947c422b021bc5f5fe Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 9 Nov 2023 12:59:43 -0500
Subject: linhes-system: x11vnc.override.conf: fix starting error

---
 linhes/linhes-system/PKGBUILD             | 4 ++--
 linhes/linhes-system/x11vnc.override.conf | 4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index 72dbd80..ef0f834 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-system
 pkgver=9.0.0
-pkgrel=63
+pkgrel=64
 arch=('x86_64')
 #install=$pkgname.install
 pkgdesc="Everything that makes LinHES a system"
@@ -74,7 +74,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             '6c42b2920c6a37bf3dd05755b9e3fdd80137708cc55a7d1bef2234c17dff0349'
             '1c2870087ebef43ffb69d422b6a8bfd687e0f3a955c4f186f8f6b8bb0de96557'
             'efc2a04b67ea76661157e154228d4b58ae2e1b652f8ce41bc001a5a863d13573'
-            '7f5b366075fa61fadfcdbab2837f0c58f3a8004a59fc8948fec1647d2573ffaa'
+            '67d0cb111d47609de4c60b84dc617fc817fdf092763fbd0cef270b5ee650d702'
             '023cba18580819018413608ec055d5ff8166b69525c32aa728ad1ecd7cf00aca'
             'dae799f09a076e0f573ea516bc357f56f2fd3aa8e35ec0cf54b6b62282960ee0'
             'ce36da1ca439ad45864cf8ab1372640e517084ec26a01d1df455d8d9d7b75f01'
diff --git a/linhes/linhes-system/x11vnc.override.conf b/linhes/linhes-system/x11vnc.override.conf
index a1d5b39..b1d657d 100644
--- a/linhes/linhes-system/x11vnc.override.conf
+++ b/linhes/linhes-system/x11vnc.override.conf
@@ -1,10 +1,8 @@
 [Service]
 ExecStart=
-Type=forking
-ExecStart=/usr/bin/x11vnc -nap -wait 50 -noxdamage -rfbauth /home/mythtv/.vnc/passwd -display :0 -forever -o /home/mythtv/.vnc/x11vnc.log -bg
+ExecStart=/bin/bash -c "/usr/bin/x11vnc -auth /var/run/sddm/* -display :0 -forever -loop -noxdamage -repeat -rfbauth /home/mythtv/.vnc/passwd -shared"
 Restart=on-failure
 RestartSec=10
-User=mythtv
 
 [Install]
 WantedBy=graphical.target
-- 
cgit v0.12

