From 13f4ce0fbab5b8b051dc27311440904ccca3cd94 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Tue, 10 Aug 2021 21:11:51 +1200 Subject: [PATCH] vncserver: refactor --- unix/vncserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver b/unix/vncserver index 5992cdd..5abaecc 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -36,9 +36,9 @@ $desktopName = $opt{'-name'} || "$host:$displayNumber ($ENV{USER})"; &CreateDotVncDir(); &PrepareDefaultsForPassingToXvnc(); -&DisableVncAuth(); $kasmAuthEnabled = 1; +&DisableVncAuth(); $kasmPasswdFile = "$ENV{HOME}/.kasmpasswd"; @kasmPasswdUsers = &LoadKasmPasswdUsers();