Last updated March 8th 2021
As a professor in this pandemic days the first issue I faced while I was looking for a good setup to give my classes remotely was: how to mirror the screen of my iPad on Linux?
Currently, I’m using elementaryOS 5, which is based on Ubuntu 18.04, so this tutorial should work on any Ubuntu 18.04 (or later) based distribution.
Installing packages needed
Type the following commands on the Terminal:
sudo apt-get install cmake sudo apt-get install libssl-dev libavahi-compat-libdnssd-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav sudo apt-get install gstreamer1.0-vaapi (For Intel graphics - this is not part of the command, ok?)
Installing UxPlay on Linux
- Download UxPlay zip file (if the link doesn’t work you can clone the git repository visiting https://github.com/antimof/UxPlay)
- Extract the files
- In the Terminal enter the UxPlay’s directory created after the extraction of the Zip file (it should be UxPlay-master)
- Type the commands below
mkdir build cd build cmake .. make
Using the UxPlay
Before you try to mirror be sure of two things:
- All your devices are accessing the same network
- Your iPad/iPhone is connected to 5Ghz WiFi connection
If everything went fine up to this point do:
On your computer. in the build directory type in the Terminal
On your iPad/iPhone: go to the control center -> Screen Mirroring -> UxPlay
Known Issues and Solutions
I’ve made a tutorial with solutions to the most common problems here. It’s been helping a lot of other users, so there is a high chance you can find the solution to your problem there. Read it if you are facing any problem.