Score:0

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

fr flag

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?

muru avatar
us flag
Where is the sink located? How is networking set up for your VM?
Score:0
zw flag

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 https://gitlab.gnome.org/GNOME/gnome-network-displays
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.

nnov avatar
cn flag
with the current meson version 0.61.2 i can not compile: ERROR: Current directory is not a meson build directory: `/home/.../Downloads/gnome-network-displays`. Please specify a valid build dir or change the working directory to it. It is also possible that the build directory was generated with an old meson version. Please regenerate it in this case.
wondering avatar
ne flag
@nnov Same here.
Grief avatar
tr flag
Try `meson build && cd build && meson install`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.