From 6044b3dacf299208dddb0521b20e65b2cae51787 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 25 Apr 2020 10:21:26 -0400 Subject: [PATCH] Fix $_display in x11vnc service --- installJRMC | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/installJRMC b/installJRMC index 291ab20..f7bc484 100755 --- a/installJRMC +++ b/installJRMC @@ -1143,6 +1143,8 @@ EOF" _setX11VNCPass + [[ -z $_display ]] && _display="${DISPLAY:-":0"}" + # Get current desktop resolution # TODO: may need to break this out into its own function and get smarter at identifying multi-monitors local _res @@ -1216,6 +1218,10 @@ EOF" : } + _containerMC() { + : + } + _uninstall() { @@ -1348,6 +1354,9 @@ EOF" mediacenter-vncserver) _containerVNC ;; + mediacenter) + _containerMC + ;; *) esac done