Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

Mouse does not work

Open daniiii5 opened this issue 1 year ago • 1 comments

Mouse does not work when running the docker, I even tried with this:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
    -e DISPLAY=:0 \
    -e SHORTNAME=sequoia \
    -e EXTRA="-device usb-tablet" \
    -e XHCI_STRING="-device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0" \
    sickcodes/docker-osx:latest

OS related issued, please help us identify the issue by posting the output of this

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

Output:

PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc        251G   11G  228G   5% /
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.24)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.0.0
               total        used        free      shared  buff/cache   available
Mem:            14Gi       1.0Gi       3.0Gi       4.0Mi        10Gi        13Gi
Swap:          4.0Gi          0B       4.0Gi
16
16
crw-rw---- 1 root kvm 10, 232 Dec  2 09:12 /dev/kvm
total 4.0K
drwxrwxrwx  2 root root   60 Dec  2 08:38 .
drwxrwxrwt 11 root root 4.0K Dec  2 09:08 ..
srwxrwxrwx  1 dani dani    0 Dec  2 08:38 X0
root       331  2.0  0.6 3170196 104952 ?      Ssl  08:38   0:42 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
dani      3602  0.0  0.0   4032  2084 pts/2    S+   09:13   0:00 grep --color=auto dockerd
kvm:x:109:
docker:x:999:dani

daniiii5 avatar Dec 02 '24 08:12 daniiii5

Maybe you can try this: #870

Uoghluvm avatar Mar 18 '25 19:03 Uoghluvm