vncserver: extract AllowXProgramsToConnectToXvnc()

This commit is contained in:
Dmitry Maksyoma 2021-08-13 19:00:35 +12:00
parent 3522000d1f
commit 34565c5950

View File

@ -36,7 +36,7 @@ use Time::HiRes qw (sleep);
&PrepareLoggingAndXvncKillingFramework();
&DisableLegacyVncAuth();
&SetupXauthorityFile();
&AllowXProgramsToConnectToXvnc();
&EnsureAtLeastOneKasmUserExists();
@ -1084,3 +1084,7 @@ sub PrepareLoggingAndXvncKillingFramework {
&CreateDotVncDir();
&DefineLogAndPidFilesForDisplayNumber();
}
sub AllowXProgramsToConnectToXvnc {
&SetupXauthorityFile();
}