[pve-devel] r5463 - qemu-server/pve2/PVE/API2/Qemu

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jan 28 10:39:48 CET 2011


Author: dietmar
Date: 2011-01-28 10:39:47 +0100 (Fri, 28 Jan 2011)
New Revision: 5463

Modified:
   qemu-server/pve2/PVE/API2/Qemu/VNC.pm
Log:
make it work again


Modified: qemu-server/pve2/PVE/API2/Qemu/VNC.pm
===================================================================
--- qemu-server/pve2/PVE/API2/Qemu/VNC.pm	2011-01-28 09:26:58 UTC (rev 5462)
+++ qemu-server/pve2/PVE/API2/Qemu/VNC.pm	2011-01-28 09:39:47 UTC (rev 5463)
@@ -64,7 +64,7 @@
 	# fixme: select fastest chipher (none?)
 	my $remcmd = $remip ? ['/usr/bin/ssh', '-T', '-o', 'BatchMode=yes', $remip] : [];
 
-	my $timeout = 1; 
+	my $timeout = 10; 
 
 	my $realcmd = sub {
 	    my $upid = shift;
@@ -90,9 +90,7 @@
 	    return;
 	};
 
-	#my $upid = $rpcenv->fork_worker('vncproxy', "", $realcmd);
-	my $upid = "TESTID";
-	$port = 5910;
+	my $upid = $rpcenv->fork_worker('vncproxy', "", $realcmd);
 
 	return {
 	    user => $user,



More information about the pve-devel mailing list