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.

Mouse quits working eventually with macOS Mojave

Featured Replies

tl;dr: macOS VM virtual mouse eventually stops responding.

 

I have macOS Mojave 10.14.1 (I haven't quite figured out how to successfully update to 10.14.2 yet) working very smoothly, thanks to the excellent @SpaceInvaderOne guide at: 

 

I'm accessing this VM purely through VNC, and I'm passing through no USB ports, nor even any audio or graphics.

 

My <input>, <graphics> and <video> XML looks like this:

...
<input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
...

and my usb-mouse and use-kbd XML looks like this:

...
<qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
...

After some time, some number of VNC connections/disconnections (I sometimes use RealVNC viewer and sometimes the built-in "noVNC" VNC Remote), or some other factor I haven't considered, the mouse stops responding, but the keyboard continues to work.

 

At this point, I can't figure out any way to get it going again, except to reboot the VM.

 

The mouse always works after a fresh boot.

 

Any thoughts on what I might try, or other information that might be valuable to help others help me? Thanks, all!

Edited by bland328

  • Author

Thanks very much, @SpaceInvaderOne! I will.

 

Also, I'm a little embarrassed that I figured out the source of the problem--I hadn't disabled sleep under Mojave.

 

So, though I'd like to think that mouse support would survive sleep, I'm not shocked that it doesn't, and setting sleep to Never fixed my mouse woes.

 

I hope this post helps some other macOS KVM noob ;) 

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.