|
|
@ -76,11 +76,7 @@ chop($host = `uname -n`);
|
|
|
|
&CheckGeometryAndDepth();
|
|
|
|
&CheckGeometryAndDepth();
|
|
|
|
|
|
|
|
|
|
|
|
# Create the user's vnc directory if necessary.
|
|
|
|
# Create the user's vnc directory if necessary.
|
|
|
|
if (!(-e $vncUserDir)) {
|
|
|
|
&CreateDotVncDir();
|
|
|
|
if (!mkdir($vncUserDir,0755)) {
|
|
|
|
|
|
|
|
die "$prog: Could not create $vncUserDir.\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$selectDeCmd = "builder/startup/deb/select-de.sh";
|
|
|
|
$selectDeCmd = "builder/startup/deb/select-de.sh";
|
|
|
|
if (!$skipxstartup) {
|
|
|
|
if (!$skipxstartup) {
|
|
|
@ -947,3 +943,11 @@ sub ProcessCliOptions {
|
|
|
|
$fpArgSpecified = 1;
|
|
|
|
$fpArgSpecified = 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sub CreateDotVncDir {
|
|
|
|
|
|
|
|
if (!(-e $vncUserDir)) {
|
|
|
|
|
|
|
|
if (!mkdir($vncUserDir,0755)) {
|
|
|
|
|
|
|
|
die "$prog: Could not create $vncUserDir.\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|