Hello all:
I am trying to install CentOS 5.4 as a KVM guest. The host is running CentOS 5.4 and does not have X installed.
I used ssh to connect to the host and ran this command (I formatted it for readability, it is all on one line):
virt-install -n jamm12e -r 1024 --vcpus=1 --check-cpu --os-type=linux --os-variant=rhel5 --hvm --accelerate --cdrom=/tmp/CentOS-5.4-x86_64-netinstall.iso -f /usr/local/virt/jamm12e.img -s 20 -b br0 --vnc --vncport=5903
When I do that, I get this error:
(virt-viewer:3083): Gtk-WARNING **: cannot open display: Domain installation still in progress. You can reconnect to the console to complete the installation process.
I did not expect the installation to try connect to the display since I told it to use VNC.
Next, I tried to connect TightVNC viewer from my Windows XP laptop. I entered 192.168.2.200:3 as the server and tried to connect, but that failed.
Did I miss something in the VNC configuration? I don't see any other parameters to use.
Thanks, Neil
-- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, fire, or other disaster? If so, ask about our geographically redundant database system.
From: "Neil Aggarwal", Tuesday, October 20, 2009 12:35 PM
... When I do that, I get this error:
(virt-viewer:3083): Gtk-WARNING **: cannot open display: Domain installation still in progress. You can reconnect to the console to complete the installation process. ...
include the --noautoconsole option on your virt-install command
... Next, I tried to connect TightVNC viewer from my Windows XP laptop. I entered 192.168.2.200:3 as the server and tried to connect, but that failed. ...
Did you open the VNC port in iptables in dom0?
Did you add (vnc-listen '0.0.0.0') in /etc/xen/xend-config.sxp?
Please consider adding a vncpasswd config item in your xend-config.sxp
Ed:
include the --noautoconsole option on your virt-install command
That worked.
Did you open the VNC port in iptables in dom0?
Everything was set to accept, but it was still not working. I tried setting up an SSH tunnel to the VNC port from my local machine and that worked.
So, I am back on track.
Thank you for your help, Neil
-- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, fire, or other disaster? If so, ask about our geographically redundant database system.