[OmniOS-discuss] VNC access to KVM
Daniil V. Landau
daniil.landau at gmail.com
Fri Dec 2 15:25:37 UTC 2016
Nahum, thank you!
Chicken client resolved the problem!
2016-12-02 17:45 GMT+03:00 Nahum Shalman <nshalman at omniti.com>:
> Have you tried Chicken of the VNC?
> I seem to recall people in the SmartOS community having to be particular
> about which VNC client worked.
> Since the code is pretty much the same, I think OmniOS has the same
> issue...
>
> -Nahum
>
> On Fri, Dec 2, 2016 at 7:18 AM, Daniil V. Landau <daniil.landau at gmail.com>
> wrote:
>
>> Hi!
>>
>> I have a clearly installed OmniOS r151020 and trying to setup a KVM
>> virtual machine but can't connect to it's console using VNC client.
>>
>> I created a simple script to start my VM following the instructions on
>> the OmniOS site:
>>
>> #!/usr/bin/bash
>>
>> HDD=/dev/zvol/rdsk/rpool/vmdisks/mds-system
>>
>> CD=/export/vm-distr/CentOS-6.7-x86_64-bin-DVD1.iso
>>
>> VNC=0
>>
>> MEM=4096
>>
>>
>> mac1=`dladm show-vnic -po macaddress $VNIC1`
>>
>> mac2=`dladm show-vnic -po macaddress $VNIC2`
>>
>>
>> /usr/bin/qemu-system-x86_64 \
>>
>> -name "$(basename $CD)" \
>>
>> -boot cd \
>>
>> -enable-kvm \
>>
>> -vnc 0.0.0.0:$VNC \
>>
>> -smp 2 \
>>
>> -m $MEM \
>>
>> -no-hpet \
>>
>> -localtime \
>>
>> -drive file=$HDD,if=ide,index=0 \
>>
>> -drive file=$CD,media=cdrom,if=ide,index=2 \
>>
>> -vga std
>>
>> When I start it looks like the VM starts normally:
>>
>> # ./mds-kvm.sh.tmp
>> Start bios (version 0.6.1.2-20110201_165504-titi)
>> Ram Size=0xe0000000 (0x0000000020000000 high)
>> CPU Mhz=2096
>> PCI: pci_bios_init_bus_rec bus = 0x0
>> PIIX3/PIIX4 init: elcr=00 0c
>> PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
>> PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
>> PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
>> region 4: 0x0000c000
>>
>> <---skipped--->
>>
>> Booting from Hard Disk...
>> Boot failed: not a bootable disk
>>
>> enter handle_18:
>> NULL
>> Booting from DVD/CD...
>> 3714MB medium detected
>> Booting from 0000:7c00
>>
>> In the same time I can't connect to VM console using VNC: OS X native
>> client hangs in loop and Real VNC Viewer client just exits. It's log says:
>>
>> <14> 2016-12-02T12:15:23.963Z Fingolfin vncviewer[2568]: Child:
>> CConnection: close: [EndOfStream] The connection closed unexpectedly.
>>
>> What could be the reason of this problem?
>>
>>
>> Daniil
>>
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20161202/67edd390/attachment.html>
More information about the OmniOS-discuss
mailing list