The experimental XNU Linux project has successfully launched the macOS 27 desktop on ARM64 Linux systems. This approach allows macOS processes to run natively on host hardware without traditional virtualization, utilizing a modified version of Apple's open-source XNU kernel as a loadable Linux module.
The architecture consists of two primary components: xnu.ko, which manages the hosted XNU kernel, and fki.ko, which provides an interface for accessing Linux resources such as memory, storage, networking, and timers. This design enables direct interaction between macOS processes and the host hardware.
Testing has been conducted on an NVIDIA DGX Spark running Ubuntu and an Apple Silicon Mac running Linux within a virtual machine. The system successfully displays the Finder, Dock, WindowServer, and login screen, with functional support for Safari and Chrome browsers, as well as Spotlight and file system operations.
Graphics support is implemented via a bridge layer that forwards macOS Metal workloads to Vulkan and Mesa for host GPU processing. Currently, this requires a compatible Virtio-GPU configuration, while the NVIDIA DGX Spark demonstration relied on CPU-based rendering.
The project requires an ARM64 processor with pointer authentication, 4 KB memory pages, and a minimum of 16 GB of RAM. Users must provide their own macOS 27 installation media. Due to specific optimizations for Apple M-series chips, the solution does not support traditional x86 architecture PCs.





