vncserver: refactor

This commit is contained in:
Dmitry Maksyoma 2021-08-13 18:32:02 +12:00
parent 7dc12ccb8a
commit b350557afd

View File

@ -36,13 +36,12 @@ use Time::HiRes qw (sleep);
&CreateDotVncDir();
&PrepareDefaultsForPassingToXvnc();
&DisableLegacyVncAuth();
&EnsureAtLeastOneKasmUserExists();
&SetupXauthorityFile();
&PrepareDefaultsForPassingToXvnc();
&StartXvncOrExit();
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";