Using projector via Wi-Fi from Linux laptop running Ubuntu 19.04 (Disco)

4

0

A local bar hosts a programmer's meetup I organize. Recently they switched out their projectors such that the only accessible connections are now Wi-Fi (formerly I used a wire to HDMI/VGA ports.)

How do I go about connecting to a projector via wifi on Linux?

I'm using a Thinkpad T460, with Ubuntu 19.04 (Disco, the current version of Ubuntu).

$ NetworkManager --version
1.16.0

This answer describes solving the problem by installing Miraclecast on Ubuntu.

Unfortunately the MiracleCast PPA it references has builds available for many older versions of Ubuntu, but not for 19.04, which the question specifies.

Jonathan Hartley

Posted 2019-01-15T01:53:35.290

Reputation: 736

1Please edit your question… This is interesting: Do you have any details on the make and model of projector? As well as what the exact version of Ubuntu yo are using? – JakeGould – 2019-09-11T16:39:02.917

My source details added. For the projector, I'll have to visit the venue later today... – Jonathan Hartley – 2019-09-11T16:53:00.020

2

Use nmap while in the shop to find which ports are open on the projector, which can give a hint. You may also try the procedure in this answer which involves installing miraclecast. As a remote possibility for an Epson projector, you might try in Chrome the extension Epson iProjection.

– harrymc – 2019-09-11T17:00:56.983

Thanks @harrymc, I'll try those things out and report back. I'll try them at home first, on my Roku, so I understand how they are meant to work, then I'll try them in the venue with the projector I actually want to use... – Jonathan Hartley – 2019-09-11T17:23:35.407

The miraclecast ppa doesn't have a build for 19.04 (disco) :-( – Jonathan Hartley – 2019-09-11T18:07:58.747

Miraclecast has been open-sourced with FAQ. For installation from source see example1 and example2. Don't forget to check hardware support.

– harrymc – 2019-09-11T18:38:57.927

Thanks for that. I have it installed now, but I'm struggling through the instructions on how to use it. :-) – Jonathan Hartley – 2019-09-11T19:42:04.783

miraclecast author comments that as of Dec 2018 "miraclecast as a source (ie sending computer picture to external display) is still a WIP" https://github.com/albfan/miraclecast/issues/4#issuecomment-447222047 - I'm continuing to dig.

– Jonathan Hartley – 2019-09-12T01:07:39.773

There is a branch which intended to address this issue, but it was HUGE (10,000 lines of diffs) and addressed several large issues all on one branch, and the branch persisted since Sept 2016 to 2019 (!) Surprising no-one, the branch never got merged, has massive conflicts, and is abandoned: https://github.com/albfan/miraclecast/pull/172

– Jonathan Hartley – 2019-09-12T01:11:06.517

The miraclecast repo has a wiki, that lists source implementation as WIP https://github.com/albfan/miraclecast/wiki/Internals#source-implementation

– Jonathan Hartley – 2019-09-12T01:42:02.697

On Apr 29 2019, a commenter asks the project author "What is the status of the WIP on source side Miraclecast? I have tried it and end up with an error...", to which the response was "It is not working for me too." – Jonathan Hartley – 2019-09-12T01:46:38.317

Answers

3

gnome-network-displays is an application that might be applicable.

I can't find a binary of it for Ubuntu. So I grabbed the Fedora .rpm and made a .deb out of it:

sudo apt-get install alien dpkg-dev debhelper build-essential
sudo alien gnome-network-displays-0.90.1-0.fc30.x86_64.rpm

Then installed it:

sudo dpkg -i gnome-network-displays_0.90.1-1_amd64.deb

It needs a shared library that I didn't have installed:

sudo apt install  libgstrtspserver-1.0-0

Then run the application:

gnome-network-displays

This opens a GUI window, and correctly lists my home Roku as an available video streaming sink. Trying to connect to that gave an "Error" dialog (no other content.)

Jonathan Hartley

Posted 2019-01-15T01:53:35.290

Reputation: 736

1OP here. I'll try this out in the venue, with the projector I actually want to use, and report back. – Jonathan Hartley – 2019-09-11T17:22:52.033