Struggling with vnc and virt-install [closed]

asked 2014-07-16 18:13:06 -0500

morrisjones gravatar image

As an exercise, I'm working to create a CentOS 7.0 guest image for use on an Openstack cluster.

Because of permissions and NFS mounts and such, I'm unable to use the virt-manager GUI console, but I can use virt-install and virsh to see my hosts.

I'm trying to use the example described here: http://docs.openstack.org/grizzly/openstack-image/content/virt-install.html (http://docs.openstack.org/grizzly/ope...)

The host starts up, and shows running with virsh list

Here's my virt-install command:

virt-install --virt-type=kvm --name=CentOS-7.0-1406-mojo --ram=1024 \
--cdrom=CentOS-7.0-1406-x86_64-DVD.iso \
--disk CentOS-7.0-1406-mojo.qcow2,format=qcow2 \
--network network=default \
--graphics vnc,listen=0.0.0.0 --noautoconsole \
--os-type=linux --os-variant=rhel7

So now the example page says: "In the example above, the guest centos-6.4 uses VNC display :1, which corresponds to tcp port 5901. You should be able to connect to a VNC client running on your local machine to display :1 on the remote machine and step through the installation process."

When I start vncviewer on my host machine, I prompts for the VNC Server specification, and the Encryption. I'm not sure what to use. localhost doesn't work. 172.20.254.1 (the IP gateway for the default network) doesn't work. :1 doesn't work.

If I use 172.20.254.1, it prompts me for a username and a password, which I don't know (there's no authentication on the vnc server). If I specify 127.0.0.1:1 it gives a warning about being unencrypted, and then vncviewer terminates abruptly.

Can someone add some clarity to how to connect to the guest VNC server?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-12-07 15:55:58.900494

Comments

This question is about a version of OpenStack which has been EOL'ed. Closing.

rbowen gravatar imagerbowen ( 2016-12-07 15:55:55 -0500 )edit