[CentOS] virt-install message regarding Spice and TLS

Thu Sep 3 13:53:05 UTC 2015
Mike - st257 <silvertip257 at gmail.com>

On Wed, Sep 2, 2015 at 1:59 PM, Leonard den Ottolander <
leonard at den.ottolander.nl> wrote:

> Hello Mike,
>
> On Wed, 2015-09-02 at 13:05 -0400, Mike - st257 wrote:
> > I've been through the virt-install manpage a few times now to no avail.
> > What is wrong with my syntax here (seen below)?
>
> > ~]# virt-install --connect qemu:///system -n blahhost -r2048 --vcpus=4
> > --arch=x86_64 --video qxl --graphics spice,port=5931 --noautoconsole
> > --os-type linux --accelerate --network=bridge:kickstart_br0 --hvm --disk
> > path=/dev/vmdisks/fedora-test2,bus=virtio --cdrom /tmp/fedora.iso
>
>
To also reply to nevis2us:
I have the Spice TLS config commented presently so it is not active (afaik).
At one point I did try switching the value from 1 to 0 when I did have it
uncommented.


> See if adding tlsport=0 to the --graphics option fixes your problem?
>
> --graphics spice,port=5931,tlsport=0
>

I did try that before (though didn't note it in my first message).

ERROR    Error in graphics device parameters: TLS port must be a number
between 5900 and 65535, or -1 for auto allocation

~]# cat /etc/redhat-release
CentOS release 6.7 (Final)
~]# yum info libvirt | egrep 'Name|Version|Release'
Name        : libvirt
Version     : 0.10.2
Release     : 54.el6


>
> Compare
> http://www.spice-space.org/page/Features/Xspice#--tls-port_0_required
>


Any other thoughts? :-/
I can't be the only person that wants to use Spice with out TLS for some
testing/labbing. ;-)

Thanks!

-- 
---~~.~~---
Mike
//  SilverTip257  //