Conversation
…w images use runtime option `-e XHCI_STRING="-device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0"`
sleeyax
approved these changes
Nov 22, 2024
jlucfarias
reviewed
May 14, 2025
| && tee -a Launch.sh <<< '-smp ${CPU_STRING:-${SMP:-4},cores=${CORES:-4}} \' \ | ||
| && tee -a Launch.sh <<< '-device qemu-xhci,id=xhci \' \ | ||
| && tee -a Launch.sh <<< '-device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0 \' \ | ||
| && tee -a Launch.sh <<< '${XHCI_STRING:--usb -device usb-kbd -device usb-tablet} \' \ |
There was a problem hiding this comment.
Only worked for me this way
Suggested change
| && tee -a Launch.sh <<< '${XHCI_STRING:--usb -device usb-kbd -device usb-tablet} \' \ | |
| && tee -a Launch.sh <<< '-usb -device usb-kbd -device usb-tablet \' \ |
Machine information
Linux pop-os 6.12.10-76061203-generic #202412060638~1743109366~22.04~1fce33b SMP PREEMPT_DYNAMIC Thu M x86_64 x86_64 x86_64 GNU/Linux
:1
1
NAME="Pop!_OS"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
Sist. Arq. Tam. Usado Disp. Uso% Montado em
/dev/nvme0n1p1 219G 58G 151G 28% /
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.26)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.0.0
total usada livre compart. buff/cache disponível
Mem.: 7,6Gi 3,3Gi 2,0Gi 356Mi 2,3Gi 3,4Gi
Swap: 7,7Gi 2,6Gi 5,1Gi
4
8
crw-rw----+ 1 root kvm 10, 232 mai 14 10:17 /dev/kvm
total 912K
drwxrwxrwt 2 root root 4,0K mai 14 08:03 .
drwxrwxrwt 28 root root 904K mai 14 10:13 ..
srwxrwxrwx 1 jlucfarias jlucfarias 0 mai 14 08:03 X1
root 1422 1.8 0.6 3588068 54256 ? SNsl 08:01 2:38 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
jlucfar+ 31798 0.0 0.0 19036 2396 pts/2 S+ 10:20 0:00 grep --color=auto dockerd
Run command
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e SHORTNAME=high-sierra -e RAM=6 docker-osx
rafaelplacidopanin664-max
approved these changes
Feb 2, 2026
rafaelplacidopanin664-max
left a comment
There was a problem hiding this comment.
**_Install_** kali __
### linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per @gilelias comment #766 (comment)
I introduced a bug with mouse on old versions by switching
-usb -device usb-kbd -device usb-tabletto
-device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0This PR reverts the Dockerfile to use in the launch script:
And adds runtime option for newer machines:
-e XHCI_STRING="-device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0"Untested.