Share iPhone screen to Ubuntu
Firstly, it must be easier than this. Secondly, i have been fixing some green color mirroring problem. i think it is about “GPU Rendering” issue.
Anyway lets take a look.
install all dependencies and compiler cmake and problem fixers.
sudo apt-get install libssl-dev libplist-dev libavahi-compat-libdnssd-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-plugins-bad libx11-dev cmake libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
here is our server for our mirror screening. Clone UxPlay, compile and install
git clone https://github.com/antimof/UxPlay.gitcd UxPlaycmake -DZOOMFIX=ON .make
give permisssion to start globally
sudo chmod +x /usr/local/bin/uxplay
Stop firewall . You can find different solutions without stopping firewall but it was easer way i choosed
sudo service ufw stop
change nvidia-setting to intel and reboot the computer
nvidia-settings
We need to restart avahi-daemon to bind interface. maybe not necessary.
systemctl restart avahi-daemon
Start uxplay
uxplay
now use your iPhone Screen mirroring.


Good luck.