From 6ce517a5111fe76ea2c85432bf7a548caec8d482 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 14 Feb 2012 00:01:07 +0000 Subject: [PATCH] Sometimes vncviewer isn't fast enough, delay removale of the password fillllllllle a little git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/share/xcat/rvid/rvid.kvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/share/xcat/rvid/rvid.kvm b/xCAT-client/share/xcat/rvid/rvid.kvm index 8a021bcef..8c41272c1 100755 --- a/xCAT-client/share/xcat/rvid/rvid.kvm +++ b/xCAT-client/share/xcat/rvid/rvid.kvm @@ -16,7 +16,7 @@ if [ $rvid_vidproto = "vnc" ];then echo -e "$rvid_password\n$rvid_password"|vncpasswd /tmp/rvidpass.$$ > /dev/null #echo $rvid_password|vncviewer :$myport -via $rvid_server AutoSelect=0 FullColor=1 passwdInput=1 >& /dev/null & vncviewer $rvid_server:$myport AutoSelect=0 FullColor=1 passwd=/tmp/rvidpass.$$ >& /dev/null & - sleep 0.2 + sleep 0.4 flock -u 200 rm /tmp/rvidpass.$$ ) 200> /tmp/xcat/virtvnclock