From b350557afdccb6a809d7addcb59004698fe25fd9 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Fri, 13 Aug 2021 18:32:02 +1200 Subject: [PATCH] vncserver: refactor --- unix/vncserver | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unix/vncserver b/unix/vncserver index 36c8dcc..a4bc2df 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -36,13 +36,12 @@ use Time::HiRes qw (sleep); &CreateDotVncDir(); -&PrepareDefaultsForPassingToXvnc(); - &DisableLegacyVncAuth(); &EnsureAtLeastOneKasmUserExists(); &SetupXauthorityFile(); +&PrepareDefaultsForPassingToXvnc(); &StartXvncOrExit(); warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";