mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-08 15:08:47 +01:00
vncserver: refactor
This commit is contained in:
parent
79c9c7157b
commit
08ede14dfe
@ -125,9 +125,8 @@ unless (&IsXvncRunning()) {
|
|||||||
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
|
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
|
||||||
warn "\nUsername: $vncUserName\n\n";
|
warn "\nUsername: $vncUserName\n\n";
|
||||||
|
|
||||||
# Create the user's xstartup script if necessary.
|
|
||||||
if (! $skipxstartup) {
|
if (! $skipxstartup) {
|
||||||
&CreateXstartup();
|
&CreateXstartupIfNeeded();
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create the user's config file if necessary.
|
# Create the user's config file if necessary.
|
||||||
@ -618,7 +617,7 @@ sub SanityCheck
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub CreateXstartup
|
sub CreateXstartupIfNeeded
|
||||||
{
|
{
|
||||||
if ((-e "$xstartupFile")) {
|
if ((-e "$xstartupFile")) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user