vncserver: refactor

This commit is contained in:
Dmitry Maksyoma 2021-08-13 19:02:25 +12:00
parent 34565c5950
commit 5635096978

View File

@ -47,12 +47,10 @@ warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
&PrintKasmUsers();
warn "Log file is $desktopLog\n\n";
if (! $skipxstartup) {
&CreateXstartupIfNeeded();
}
&CreateUserConfigIfNeeded();
if (! $skipxstartup) {
&CreateXstartupIfNeeded();
&RunXstartup();
}