From f6ebe73aea5de99f994585b975d18a6cd1a36a8d Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 24 Oct 2024 10:20:07 +0500 Subject: [PATCH] Simplify VNC server installation and config setup - Streamlined the installation script's messaging for clarity. - Added default SSL certificate path in the config. --- kasmvnc/run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kasmvnc/run.sh b/kasmvnc/run.sh index 89e7d96..15e75c7 100644 --- a/kasmvnc/run.sh +++ b/kasmvnc/run.sh @@ -5,7 +5,7 @@ # Function to check if vncserver is already installed check_installed() { if command -v vncserver &> /dev/null; then - echo "vncserver is already installed." + echo "A binary with name vncserver already installed." return 0 # Don't exit, just indicate it's installed else return 1 # Indicates not installed @@ -155,7 +155,7 @@ if ! check_installed; then ;; esac else - echo "A binary with name vncserver already installed. Skipping installation." + echo "Skipping installation." fi # create the config file as the current user .vnc/kasmvnc.yaml @@ -166,6 +166,7 @@ network: websocket_port: ${PORT} ssl: require_ssl: false + pem_certificate: /etc/ssl/certs/ssl-cert-snakeoil.pem udp: public_ip: 127.0.0.1 EOF