) {
if (/Client\s+(\S+)\s+gone/i) {
kill(TERM, $pid);
last;
}
}
close(VNC);
exit;
}
# Run the specified program, using the selected display
$ENV{'DISPLAY'} = "localhost:$num";
system("$config{'program'} >/dev/null 2>&1 $text{'index_warn'}",
"
\n";
}
print "
\n";
print "$text{'index_credits'}\n";
&ui_print_footer("/", $text{'index'});
sub connect_timeout
{
}
sub error_exit
{
print "",@_,"
\n";
&ui_print_footer("/", $text{'index'});
exit;
}