mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-05 21:48:49 +01:00
vncserver: refactor
This commit is contained in:
parent
649868241c
commit
895f8bc10d
@ -35,9 +35,6 @@
|
||||
|
||||
&CreateDotVncDir();
|
||||
|
||||
$displayNumber = &DetectDisplayNumberFromCliArgs() ||
|
||||
&GetLowestAvailableDisplayNumber();
|
||||
&CheckCliOptionsForBeingValid();
|
||||
$vncPort = 5900 + $displayNumber;
|
||||
|
||||
$desktopName = $opt{'-name'} || "$host:$displayNumber ($ENV{USER})";
|
||||
@ -1045,4 +1042,7 @@ sub ParseAndProcessCliOptions {
|
||||
&ParseOptionsAndRemoveMatchesFromARGV(@supportedOptions);
|
||||
&ProcessCliOptions();
|
||||
&CheckGeometryAndDepthAreSensible();
|
||||
$displayNumber = &DetectDisplayNumberFromCliArgs() ||
|
||||
&GetLowestAvailableDisplayNumber();
|
||||
&CheckCliOptionsForBeingValid();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user