I am trying to simulate casting my display to a miracast sink on linux. It seem like gnome-network-displays is a good option. I was having trouble getting it to work and was not sure if the fact I am running linux on a virtual machine on my windows device was the issue. It that an inherent problem?
11 Answer
You have to compile the gnome-network-displays application first as it is does not available in deb-package form for modern Ubuntu releases. One can use PKGBUILD from ArchLinux as prototype.
To compile and install use commands below:
sudo apt-get update
sudo apt-get install git build-essential debhelper gnome-pkg-tools libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstrtspserver-1.0-dev libgtk-3-dev libnm-dev libpulse-dev libx264-dev meson wpasupplicant desktop-file-utils appstream-util
cd ~/Downloads
git clone
cd gnome-network-displays
meson compile
meson test --print-errorlogs
meson install -C buildThen you have to switch virtualbox network adapter to bridge as shown below
and it should work.
Note for Ubuntu 18.04 LTS users - here packages from some PPA instead of compiling.