Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue with VNC?

Featured Replies

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!

Looks right.  You could try autoport no and a specific vnc port and a websocket that's 200 less.

  • Author

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.

  • Author

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>

Do you need to specify an IP address?  In Xen you need to specify the listening IP address.

Make port 5900 and try using the tiger vnc client to connect.

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.

  • Author

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.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.