Cocoa-Way: Rust-Based Wayland Compositor Brings Linux Apps to macOS Without VMs

2026-03-28T11:24:41.235Z·1 min read
Cocoa-Way is an open-source Wayland compositor written in Rust that enables running Linux applications on macOS as native windows — eliminating the need for XQuartz, VNC, or full virtual machines.

Native macOS Wayland Compositor Enables Seamless Linux Desktop Streaming

Cocoa-Way is an open-source Wayland compositor written in Rust that enables running Linux applications on macOS as native windows — eliminating the need for XQuartz, VNC, or full virtual machines.

Architecture

The system uses the Wayland display protocol over Unix sockets (via waypipe) to stream Linux application windows to macOS:

  1. Linux host: waypipe server forwards the Wayland protocol from any application
  2. macOS client: Cocoa-Way composites streams using Metal/OpenGL
  3. Transport: SSH or Unix sockets bridge the two sides

Technical Highlights

Installation

brew tap J-x-Z/tap
brew install cocoa-way waypipe-darwin
cocoa-way  # Start compositor
./run_waypipe.sh ssh user@linux-host firefox

Roadmap

The project plans Windows (win-way) and Android NDK backends, plus multi-monitor support and clipboard synchronization.

GitHub: github.com/J-x-Z/cocoa-way (143+ stars)

← Previous: CERN Burns Tiny AI Models into Silicon for Real-Time LHC Collision FilteringNext: Europe's Residential Solar Boom: Householders Embrace Energy Independence →
Comments0