<div dir="ltr">Nahum, thank you!<div>Chicken client resolved the problem!<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-02 17:45 GMT+03:00 Nahum Shalman <span dir="ltr"><<a href="mailto:nshalman@omniti.com" target="_blank">nshalman@omniti.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Have you tried Chicken of the VNC?<div>I seem to recall people in the SmartOS community having to be particular about which VNC client worked.</div><div>Since the code is pretty much the same, I think OmniOS has the same issue...</div><div><br></div><div>-Nahum</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Dec 2, 2016 at 7:18 AM, Daniil V. Landau <span dir="ltr"><<a href="mailto:daniil.landau@gmail.com" target="_blank">daniil.landau@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><font face="arial, helvetica, sans-serif">Hi!</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I have a clearly installed OmniOS <span style="color:rgb(0,0,0)">r151020 and trying to setup a KVM virtual machine but can't connect to it's console using VNC client.</span></font></div><div><span style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I created a simple script to start my VM following the instructions on the OmniOS site:</font></span></div><div><span style="color:rgb(0,0,0);font-family:menlo;font-size:11px"><br></span></div><div><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">#!/usr/bin/bash</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">HDD=/dev/zvol/rdsk/rpool/vmdis<wbr>ks/mds-system<br></font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">CD=/export/vm-distr/CentOS-6.7<wbr>-x86_64-bin-DVD1.iso</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">VNC=0</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">MEM=4096</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1"><br></font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">mac1=`dladm show-vnic -po macaddress $VNIC1`</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">mac2=`dladm show-vnic -po macaddress $VNIC2`</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1"><br></font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">/usr/bin/qemu-system-x86_64 \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -name "$(basename $CD)" \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -boot cd \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -enable-kvm \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -vnc 0.0.0.0:$VNC \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -smp 2 \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -m $MEM \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -no-hpet \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -localtime \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -drive file=$HDD,if=ide,index=0 \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -drive file=$CD,media=cdrom,if=ide,in<wbr>dex=2  \</font></p><p style="margin:0px;line-height:normal;font-family:menlo;color:rgb(0,0,0)"><font size="1">        -vga std </font></p></div><div><br></div><div>When I start it looks like the VM starts normally:</div><div><br></div><div><div><font size="1"># ./mds-kvm.sh.tmp </font></div><div><div><font size="1">Start bios (version 0.6.1.2-20110201_165504-titi)</font></div><div><font size="1">Ram Size=0xe0000000 (0x0000000020000000 high)</font></div><div><font size="1">CPU Mhz=2096</font></div><div><font size="1">PCI: pci_bios_init_bus_rec bus = 0x0</font></div><div><font size="1">PIIX3/PIIX4 init: elcr=00 0c</font></div><div><font size="1">PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237</font></div><div><font size="1">PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000</font></div><div><font size="1">PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010</font></div><div><font size="1">region 4: 0x0000c000</font></div><div><font size="1"><br></font></div><div><font size="1"><---skipped---></font></div><div><font size="1"><br></font></div><div><font size="1">Booting from Hard Disk...</font></div><div><font size="1">Boot failed: not a bootable disk</font></div><div><font size="1"><br></font></div><div><font size="1">enter handle_18:</font></div><div><font size="1">  NULL</font></div><div><font size="1">Booting from DVD/CD...</font></div><div><font size="1">3714MB medium detected</font></div><div><font size="1">Booting from 0000:7c00</font></div></div></div><div><font size="1"><br></font></div><div>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:</div><div><br></div><div><font size="1"><14> 2016-12-02T12:15:23.963Z Fingolfin vncviewer[2568]: Child: CConnection: close: [EndOfStream] The connection closed unexpectedly.<br></font></div><div><br></div><div>What could be the reason of this problem?</div><span class="m_159445319743442803HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Daniil</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.co<wbr>m</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailma<wbr>n/listinfo/omnios-discuss</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>