vncserver: extract PrintLogFilenameAndConfiguredUsersAndStuff()

This commit is contained in:
Dmitry Maksyoma 2021-08-13 19:17:44 +12:00
parent c6f7d2eff0
commit ded3840f6b

View File

@ -43,9 +43,7 @@ use Time::HiRes qw (sleep);
&PrepareDefaultsForPassingToXvnc();
&StartXvncOrExit();
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
&PrintKasmUsers();
warn "Log file is $desktopLog\n\n";
&PrintLogFilenameAndConfiguredUsersAndStuff();
&CreateUserConfigIfNeeded();
@ -1087,3 +1085,9 @@ sub PrepareLoggingAndXvncKillingFramework {
sub AllowXProgramsToConnectToXvnc {
&SetupXauthorityFile();
}
sub PrintLogFilenameAndConfiguredUsersAndStuff {
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
&PrintKasmUsers();
warn "Log file is $desktopLog\n\n";
}