How to mirror iPad screen to Linux over WiFi - lmmx/devnotes GitHub Wiki

As described here, there is software called UxPlay which will mirror your screen, its only requirement is 5GHz Wifi (not 2.4GHz), and works on Ubuntu 18 and up.

  • People always say this, but sudo apt update; sudo apt upgrade before this!
sudo apt install cmake
sudo apt install libssl-dev libavahi-compat-libdnssd-dev 
sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav
sudo apt install gstreamer1.0-vaapi # For Intel graphics

After these prerequisites are installed, clone the repo and build

git clone [email protected]:antimof/UxPlay.git
cd UxPlay
mkdir build
cd build
cmake ..
make

Then just call the uxplay executable (that's gone in the build/ subdirectory) and you're away.

I put this in ~/opt/ so that I could then symlink in ~/opt/bin/

  • use readlink -f to give the full path: ln -s doesn't expand a relative link path
ln -s $(readlink -f uxplay) ~/opt/bin/uxplay

Now uxplay is available on the command line!