vncserver: refactor
This commit is contained in:
@@ -38,7 +38,7 @@ use Time::HiRes qw (sleep);
|
||||
|
||||
&PrepareDefaultsForPassingToXvnc();
|
||||
|
||||
&DisableVncAuth();
|
||||
&DisableLegacyVncAuth();
|
||||
&EnsureAtLeastOneKasmUserExists();
|
||||
|
||||
&SetupXauthorityFile();
|
||||
@@ -769,7 +769,7 @@ sub LoadSystemThenUserThenMandatoryConfigs {
|
||||
LoadConfig($vncSystemConfigMandatoryFile, 1);
|
||||
}
|
||||
|
||||
sub DisableVncAuth() {
|
||||
sub DisableLegacyVncAuth() {
|
||||
# Disable vnc auth, kasmvnc uses https basic auth
|
||||
system("echo 'WrLNwLrcrxM=' | base64 -d > $vncUserDir/passwd");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user