From 7dc12ccb8a62f454e0d0794a631f353c179aca90 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Fri, 13 Aug 2021 18:27:46 +1200 Subject: [PATCH] vncserver: refactor --- unix/vncserver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/vncserver b/unix/vncserver index 8a59ad0..36c8dcc 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -38,7 +38,7 @@ use Time::HiRes qw (sleep); &PrepareDefaultsForPassingToXvnc(); -&DisableVncAuth(); +&DisableLegacyVncAuth(); &EnsureAtLeastOneKasmUserExists(); &SetupXauthorityFile(); @@ -769,7 +769,7 @@ sub LoadSystemThenUserThenMandatoryConfigs { LoadConfig($vncSystemConfigMandatoryFile, 1); } -sub DisableVncAuth() { +sub DisableLegacyVncAuth() { # Disable vnc auth, kasmvnc uses https basic auth system("echo 'WrLNwLrcrxM=' | base64 -d > $vncUserDir/passwd"); }