diff --git a/unix/vncserver b/unix/vncserver index 34a45ad..71e1b64 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -33,8 +33,6 @@ &ParseAndProcessCliOptions(); -&CheckGeometryAndDepthAreSensible(); - &CreateDotVncDir(); $displayNumber = &DetectDisplayNumberFromCliArgs() || @@ -1046,4 +1044,5 @@ sub ParseAndProcessCliOptions { my @supportedOptions = ("-geometry",1,"-depth",1,"-pixelformat",1,"-name",1,"-kill",1,"-help",0,"-h",0,"--help",0,"-fp",1,"-list",0,"-fg",0,"-autokill",0,"-noxstartup",0,"-xstartup",1); &ParseOptionsAndRemoveMatchesFromARGV(@supportedOptions); &ProcessCliOptions(); + &CheckGeometryAndDepthAreSensible(); }