mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
No mouse control when trying to run preinstalled catalina #587
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Niedzwiedzw on GitHub (May 7, 2024).
❯ uname -a
; echo "${DISPLAY}"
; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
; grep NAME /etc/os-release
; df -h .
; qemu-system-x86_64 --version
; libvirtd --version
; free -mh
; nproc
; egrep -c '(svm|vmx)' /proc/cpuinfo
; ls -lha /dev/kvm
; ls -lha /tmp/.X11-unix/
; ps aux | grep dockerd
; docker ps | grep osx
; grep "docker|kvm|virt" /etc/group
Linux manjaro 6.1.85-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Apr 10 20:05:44 UTC 2024 x86_64 GNU/Linux
:1
1
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/luks-c63ed8cc-789d-4a83-bae1-a63c1254d646 1,8T 1,3T 396G 78% /
QEMU emulator version 8.2.2
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 10.1.0
total used free shared buff/cache available
Mem: 125Gi 43Gi 4,9Gi 1,8Gi 80Gi 82Gi
Swap: 17Gi 1,2Mi 17Gi
24
egrep: warning: egrep is obsolescent; using grep -E
24
Permissions Size User Date Modified Name
crw-rw-rw- 10,232 root 7 maj 18:43 /dev/kvm
Permissions Size User Date Modified Name
srwxrwxrwx 0 root 3 maj 14:14 X0
srwxr-xr-x 0 niedzwiedz 5 maj 11:22 X1
root 5487 0.1 0.0 3992344 94400 ? Ssl maj03 6:31 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
niedzwi+ 728779 0.0 0.0 9112 2560 pts/20 S+ 19:02 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
1d55b7d69195 sickcodes/docker-osx:auto "/bin/bash -c 'echo …" 45 seconds ago Up 45 seconds 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp upbeat_williamson
kvm:x:992:libvirt-qemu,qemu,niedzwiedz
docker:x:973:niedzwiedz
libvirt:x:959:niedzwiedz
libvirt-qemu:x:956:
@Niedzwiedzw commented on GitHub (May 7, 2024):
the mouse cursor is displayed but I'm unable to move it... keyboard seems to work
@Niedzwiedzw commented on GitHub (May 7, 2024):
@samuelzurowski commented on GitHub (May 8, 2024):
I'm noticing this as well.
@Niedzwiedzw commented on GitHub (May 8, 2024):
@samuelzurowski have you found any solution? are you on wayland by any chance?
@bgola commented on GitHub (May 14, 2024):
same here, archlinux on wayland + sway.
@bgola commented on GitHub (May 14, 2024):
I just tried with Xorg as well and same issue.
@samuelzurowski commented on GitHub (May 19, 2024):
I ended up just using the vnc version of the container and preinstalled it. I do not use wayland.
@wgetgoose commented on GitHub (Jun 4, 2024):
Same issue. Happened to me when I swapped from the
:latesttag to the:nakedtag after extracting my image. Changing theRAMenv variable did not help. Keyboard works during the boot selection screen, but not on the login screen. Possibly the same issue as #765 ?Edit: Over VNC for my case. The machine running the container is headless.
@gilelias commented on GitHub (Jun 9, 2024):
I had the same issue.
I found a solution:
docker exec -it [container id] bashvim Launch.sh-device qemu-xhci,id=xhci \ -device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0 \with:
-usb -device usb-kbd -device usb-tablet \basically reverting this commit:
756a1c03b9 (diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L200)@erickne commented on GitHub (Jun 11, 2024):
Thanks @gilelias ! The solution worked for me.
@am1006 commented on GitHub (Jul 15, 2024):
Thanks @gilelias! This solution works for me as well! I'm wondering why @sickcodes made the change in
756a1c03b9 (diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L200)@sickcodes commented on GitHub (Sep 3, 2024):
Can anyone confirm if mouse doesn't work on Big Sur or later? Is only Catalina (and below) the version which had the mouse issue from the change I made?
@VictorQueiroz commented on GitHub (Sep 4, 2024):
Thank you @gilelias, your approach fixes the problem.
For those compiling Docker-OSX directly using the
docker-compose.ymlfile at the root of the project. Here's the patch that fixed it for me, based on @gilelias comment:@XaMiNeZH commented on GitHub (Feb 14, 2025):
The solution worked for me!! Thank you so much @gilelias !
@HallexCosta commented on GitHub (Feb 19, 2025):
Work for me, I used the image of the high-sierra
@antme0 commented on GitHub (Apr 22, 2025):
This also worked for me when I made the changes to OpenCore-Boot.sh in OSX-KVM and booting Catalina.