notAperson535 / OneClick-macOS-Simple-KVM

Tools to set up a easy, quick macOS VM in QEMU, accelerated by KVM. Works on Linux AND Windows.
https://notAperson535.github.io/OneClick-macOS-Simple-KVM
MIT License
661 stars 52 forks source link

VNC Server Version #122

Closed alicangnll closed 3 weeks ago

alicangnll commented 1 month ago

VNC Server Version

Summary by Sourcery

New Features:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request introduces a new bash script named 'basic-vnc.sh' that sets up a QEMU-based virtual machine with VNC server capabilities. The script configures various parameters for running a macOS virtual machine with specific hardware settings and network configurations.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Creation of a new bash script for setting up a QEMU-based virtual machine
  • Define OSK (One-Time Secret Key) for Apple SMC device
  • Set up directory paths for VM and firmware
  • Configure QEMU arguments for hardware emulation (CPU, memory, devices)
  • Set up storage drives (OpenCore, InstallMedia, SystemDisk)
  • Configure networking with vmxnet3 device
  • Enable VNC server for remote access
basic-vnc.sh
Configuration of QEMU parameters for macOS virtual machine
  • Enable KVM acceleration
  • Set up 4GB of RAM and 2 CPU cores
  • Configure Haswell CPU with specific features
  • Add Apple SMC device with OSK
  • Set up OVMF firmware for UEFI boot
  • Configure audio, USB, and network devices
  • Set up storage drives for OpenCore, InstallMedia, and SystemDisk
basic-vnc.sh
Implementation of VNC server functionality
  • Disable local display output
  • Enable VNC server on all interfaces (0.0.0.0) with display number 0
basic-vnc.sh

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. - **Generate a pull request title:** Write `@sourcery-ai` anywhere in the pull request title to generate a title at any time. - **Generate a pull request summary:** Write `@sourcery-ai summary` anywhere in the pull request body to generate a PR summary at any time. You can also use this command to specify where the summary should be inserted. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
notAperson535 commented 3 weeks ago

Thanks, but this is already integrated into basic.sh with the HEADLESS=1 argument.