XNU Linux: Full OS X GUI Userspace on Linux

mmastrac 98 points 33 comments November 23, 2026
github.com · View on Hacker News

Discussion Highlights (13 comments)

johng

This is awesome.

natas

I'm afraid that, unfortunately, Apple may not like this.

probablyStimmed

Cool, but why?

jsomedon

so this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?

Nezk

Very cool, but I really wish it were OS X 10.9 instead of the hideous macOS 27 (for x86_64, of course, not ARM)

zakisaad

If you presented this to me 4-5 years ago (and the method by which it was likely built), I would have been speechless. The fact that these kinds of projects have been normalised is frankly insane. Nowadays with a skilled operator, there really are no bounds on what can be pulled off it seems.

jauntywundrkind

also NextBSD is back! https://www.nextbsd.org/ https://hn.algolia.com/?q=nextbsd a freebsd built around mach, launchd, and xpc maybe still gcd. afaik not xnu though (i should look).

pcwalton

Makes me wonder if the next frontier is going to be something like “the OS is shipped encrypted with keys that only exist in hardware, and all the CPU knows how to do is to decrypt blocks and put them in the i-cache where it will not let you look at them”, to prevent you from doing anything with the OS executables other than running them on Apple chips.

hn_submit

Has anyone run XCode on this and built iOS apps with it? I just purchased a Macbook Air just so I could make iPhone apps, but with this distro I could've saved myself the $1500.

bradfitz

But can I run more than two macOS guest VMs at the same time? :)

darksim905

This is pretty cool that this could be done. the whole xnu.so drive file bit (I think?) ... could that same theory be applied to Windows? I know NTOSKRNL isn't quite the same, but could it be redesigned/recompiled/re-written to function and loaded as a module that way? I feel like on the newer Macs when I tried doing whatever the bootcamp functionality was, I learned quickly that didn't exist/was removed and I couldn't just boot/install Windows easily. With this AI tooling now, and functionality like this, could you bring that back on a Mac? (And yes, derp, I realize this is Mac OS X GUI on Linux)

boredatoms

Oh I hope someone tries this on a dgx spark

pmkary

This is beyond irony and mind blowing, I'm literally shocked and speachless. But you know the funniest thing is that XNU itself is designed to emulate Open BSD on a Mach kernel :))) this is Incepetion taken too deeply...

Semantic search powered by Rivestack pgvector
3,874 stories · 35,194 chunks indexed