Pducharme Posted December 7, 2014 Share Posted December 7, 2014 Hi, I'm trying to create a new VM for Linux (OpenMediaVault). I can't even connect to VNC. Is this good entry in the XML : <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> Thank you! Link to comment
dmacias Posted December 7, 2014 Share Posted December 7, 2014 Looks right. You could try autoport no and a specific vnc port and a websocket that's 200 less. Link to comment
Pducharme Posted December 7, 2014 Author Share Posted December 7, 2014 Both doesn't work I can create a VM, but can't connect to it, so I can't install anything Always say : Server Disconnected: Code 1006. Link to comment
Pducharme Posted December 7, 2014 Author Share Posted December 7, 2014 Here is my Full XML, VNC can't connect. : <domain type='kvm'> <name>OMV</name> <uuid>69a3437d-d3ff-1355-2fa7-b43be1e62d36</uuid> <description>OMV</description> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> </features> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='yes'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/mnt/cache/VM/OMV.qcow2'/> <target dev='hda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/user'/> <target dir='/data'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </filesystem> <interface type='bridge'> <mac address='52:54:00:24:d3:71'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='tablet' bus='usb'/> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> </domain> Link to comment
dlandon Posted December 7, 2014 Share Posted December 7, 2014 Do you need to specify an IP address? In Xen you need to specify the listening IP address. Link to comment
jonp Posted December 7, 2014 Share Posted December 7, 2014 Make port 5900 and try using the tiger vnc client to connect. Link to comment
johnodon Posted December 7, 2014 Share Posted December 7, 2014 This is from my WIN8 VM: <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='9216' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> I think I made the websocket 5700 because I had other VMs at the time using 5900 and 5800 (I just move down 100 at a time). I should probably make the port 5700 also for consistency but I really only ever use the websocket anyway. Link to comment
Pducharme Posted December 8, 2014 Author Share Posted December 8, 2014 it works now, when I specify a Port, AutoPort to No and a Websocket port. Don't know why it wasn't working before... but now it work. It didn't solve my main issue with the limited FTP server included in Unraid. I was trying to use the Excellent "OpenMediaVault" in a VM with 9p sharing enabled to use their FTP server with Lots of webGUI configuration. Finally, OMV doesn't recognize the 9p sharing, the only option in OMV is to add Storage and it looks for devices, so except using that on the server itself instead of using Unraid, OMV is not my solution. Instead, I finally end up using a Win8.1 VM with BulletProof FTP Server and I added a \\Unraid\Folder share to the config. It's far from ideal because it goes thru SMB before being served by FTP. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.