Use below script for finding VNC port of all Guest Machines running on the Oracle VM server.
xm list > temp
y=`xm list | wc -l`
z=`expr $y - 2`
while [ $y -gt 1 ]
do
x=`awk -F" " '{print $1}' temp | sed -n "${y}p"`
echo -e '\E[32m'
y=`expr $y - 1`
xm list $x -l |grep 0.0:|awk -v Host=$x -F[:\)] '{print "Vnc Port for " Host " :" $2 }'
echo -e '\E[37m'
done
Hi Rohan,
ReplyDeleteThis article was very helpful. Have seen other articles too related to OVM and found very informative and helpful.
I have one question, in my case, i am trying to launch vncviewer with respective port from my local laptop, but it is crashing..
Please help.
Also, please share ur gmail.. would feel glad to be connected..
ReplyDeleteHi Rohan,
ReplyDeleteNeeded your advice. I have OVM server 3.2.2 i need to install X window or GNOME on this. from where i can download the .RPM and which compatible versions?
Regards,
Sidharth M.