Can "gnome-network-displays" work on a Ubuntu 20.04.3 running on Oracle VM VirtualBox

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?

1

1 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 build

Then you have to switch virtualbox network adapter to bridge as shown below

bridged networking in Virtualbox machine settings

and it should work.


Note for Ubuntu 18.04 LTS users - here packages from some PPA instead of compiling.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like