joonas-fi / joonas-sys

My personal system installation (Ubuntu + programs & conf I use) as code.
https://joonas.fi/
Apache License 2.0
8 stars 1 forks source link

Moonlight / Sunshine #51

Open joonas-fi opened 2 months ago

joonas-fi commented 2 months ago

Overview

Moonlight = client for "video-accelerated VNC" Sunshine = server for "video-accelerated VNC"

Client

Moonlight on Raspberry Pi (model 4 or newer required by reasonable perf)

Had to use it from tty, on GUI it:

tty quote:

For best performance, run Moonlight directly from a console/TTY. If you are currently in a desktop environment, you should be able to switch using Ctrl+Alt+(F1-F7). Usually your desktop will be at Ctrl+Alt+F1 or Ctrl+Alt+F7, so you can pick a different TTY that's not being used.

source

Server

Sunshine run via Flatpak: https://flathub.org/apps/dev.lizardbyte.app.Sunshine

(there would be a Ubuntu package available, but looks like the releases only target LTS versions? I tried to get it to work on 23.10 but had multiple errors with dependencies and gave up..)

Note the Flatpak description for the launch instructions (udev perms, PulseAudio ENVs)

After launch the log messages point you out to URL for web UI.

You'll have to visit that URL to accept pairing request from a client (you'll need to enter a PIN indicated by the client).

The client should auto-discover the server from you LAN assuming you have working multicast and such.