Installing Fernsicht¶
With the AppImage (recommended)¶
One file contains everything: the app, the stream window, the host and the web viewer.
- Download the file
Fernsicht-<Version>-x86_64.AppImagefrom the Releases page, make it executable (file manager: Properties › Permissions, orchmod +x Fernsicht-*.AppImage) and start it. - On the computer you want to control: in the bottom left, under “Dieser Rechner” (this computer), click “Diesen Rechner freigeben” (share this computer). This asks for the administrator password once.
- After that, the host runs as a system service (
fernsicht-host-agent). It starts at boot and runs independently of the app. It is installed in/opt/fernsicht. - “Freigabe beenden” (stop sharing) removes it again. Keys and
pairings in
/var/lib/fernsichtare kept. - If you later start a newer AppImage, the app offers to update the host.
- On the computer you connect from: start the same AppImage. The shared computer appears in the list. Then pair (see section 4, “Pair and connect”) and connect.
The AppImage bundles its own libraries (FFmpeg, SDL3 for gamepads, WebKit). It takes the
graphics drivers (Mesa/VAAPI, NVIDIA, Vulkan) from the system, so that
hardware encoding matches the installed drivers. Its FFmpeg (9.0) is built
for it with only what Fernsicht uses (packaging/ffmpeg.sh): the
distribution it is built on (Ubuntu 24.04, for a wide range of systems)
has one too old for Vulkan Video.
On a server, over SSH¶
For a computer you only reach over SSH, a server with a desktop but no one sitting at it: the host alone, without the app, in one command.
Fernsicht-Host 0.1.7 läuft.
Gerät koppeln: sudo fernsicht-host-agent pair
Im Browser: http://192.168.178.20:47800
Log: journalctl -u fernsicht-host-agent.service -f
Entfernen: sudo /opt/fernsicht/host/install.sh --uninstall
Then sudo fernsicht-host-agent pair shows a PIN; enter it in a browser at
the address shown (web viewer) or pair the app with it.
- What it does: it downloads
fernsicht-host-<version>-x86_64.tar.gzfrom the release, checks it against the release'sSHA256SUMS, puts it in/opt/fernsicht/host, links/usr/local/bin/fernsicht-host-agent, sets up and starts thefernsicht-host-agentservice (the same unit as the app's) and opens TCP and UDP port 47800 if firewalld runs. A host shared from the AppImage before is replaced. - To read it first: download
install.shfrom the release, read it, and runsudo sh install.sh. Run from an unpacked archive, it installs that one instead of downloading. - Update:
sudo /opt/fernsicht/host/install.sh(the latest release, orFERNSICHT_VERSION=0.1.7before it for a given one). Remove:sudo /opt/fernsicht/host/install.sh --uninstall. Keys and pairings in/var/lib/fernsichtstay either way. - Any distribution: one build for all, x86_64 with systemd and glibc 2.39
or newer (Arch, Fedora 40+, Debian 13, Ubuntu 24.04 and newer; the release
installs it on these four in CI). It carries its own FFmpeg; the graphics
drivers' libraries come from the system:
libvaandlibdrm(the script names the packages if they are missing). - A monitor must be on. The host streams what the graphics card shows
(KMS capture): a desktop (or the login screen) on an
active output. Without a monitor, an HDMI or DisplayPort dummy plug keeps
one on; set up automatic login if you want the desktop rather than the
login screen. The graphics card needs a hardware video encoder (VAAPI or
NVENC;
vainfo | grep EncSliceshows it). The AMD RX 6500 XT and 6400, for example, have none.
As a .deb or .rpm¶
The release also has the host as a package, with the same files, for systems whose package manager should own it:
sudo apt install ./fernsicht-host_0.1.7-1_amd64.deb # Debian, Ubuntu
sudo dnf install ./fernsicht-host-0.1.7-1.x86_64.rpm # Fedora
It installs to /usr/lib/fernsicht-host, the service to
/usr/lib/systemd/system, pulls in libva and libdrm, and enables and
starts the service. Updating and removing go through apt or dnf;
install.sh then leaves the host alone. A host installed before by the app
or by install.sh is replaced. The app shows a packaged host as installed;
“Diesen Rechner freigeben” there would put its own copy in front of it.
From source¶
There are two parts:
- The app on every computer you connect from. It finds the computers on the network, pairs with them and opens sessions.
- The host service on every computer you connect to. It starts with the computer and runs in the background.
A computer can have both.
1. Build¶
Do this once per computer (or after a git pull). The script runs in the
Distrobox fernsicht and enters it by itself:
Bazzite ships FFmpeg, libva and WebKitGTK itself. The programs built in the box therefore run directly on the system.
2. Install the app¶
Without sudo, for your own user:
After that, Fernsicht appears in the start menu. The script puts the
app and the client into ~/.local/bin and sets up the start menu entry and
the icon. With --uninstall it removes both again.
3. Install the host service¶
On the computer you want to control remotely:
The script does the following:
- It copies the program to
/usr/local/bin. - It sets up the
fernsicht-host-agentservice (unit) and starts it. - If firewalld is running and UDP port 47800 is closed, it opens the port.
Updating works the same way: build again and run the scripts again.
This is how the service runs:
- Video: The service captures the monitor over KMS. For this it runs as root.
- Encoder: The service picks the encoder that matches the graphics card (
--encoder auto): VAAPI on AMD/Intel, NVENC on NVIDIA. Both take the screen straight from the GPU (KMS capture, no CPU copy); on NVIDIA the picture goes from KMS through Vulkan to CUDA (KMS capture). So a computer with an NVIDIA card works as a host as well as a client. - Mouse and keyboard: The service accepts input from paired devices (
--input). - Audio: The service takes the audio and the monitor layout from the logged-in user. So it captures what runs on that user's desktop.
- Graphics card: During a session the service keeps the graphics card
at full clock speed (AMD:
power_dpm_force_performance_levelset tohigh, Intel: minimum clock raised). Otherwise the card would clock down between two frames, and encoding would take longer. Afterwards the service restores everything, also when it is stopped or restarted mid-session; after a crash or a kill it does so when it starts again (it notes the old values in/var/lib/fernsicht/gpu-power.json). To turn this off: in the app under “Einstellungen › Dieser Rechner als Host” (settings › this computer as host), or with--no-gpu-boost.
4. Pair and connect (in the app)¶
- On the host: open Fernsicht and, in the bottom left under “Dieser Rechner” (this computer), click “Gerät koppeln” (pair device). The app shows a 6-digit PIN that is valid for 5 minutes.
- On the other computer: open Fernsicht. The host appears in the list. Click “Koppeln” (pair) there and enter the PIN.
- Connect: click Desktop. The video opens in its own window, and the app shows the latency.
- Ctrl+Alt+Shift+F toggles full screen.
- Ctrl+Alt+Shift+Q or “Trennen” (disconnect) in the app ends the session.
You only pair once per pair of devices. You can do the same in the terminal, as the following sections show.
In the browser¶
You can also connect from a browser, without installing anything, from any computer, tablet or phone on the same network. See the web viewer page.
Gaming¶
In the app, choose Gaming for a device:
- Mouse pointer: A click into the window captures the pointer. It then moves relatively, as games need it. Ctrl+Alt+Shift+M captures and releases the pointer, also in desktop mode.
- Controllers on the client computer are passed through automatically, up to four. On the host they appear as Xbox 360 controllers, PlayStation pads as DualSense pads with gyro and touchpad.
- Settings (the “Einstellungen” (settings) page): resolution, frame rate (up to 144) and a bitrate limit. The host lowers the bitrate by itself when the network cannot keep up.
Find hosts on the network¶
On a client computer:
The client sends a broadcast query into the local network and also asks the paired hosts directly. No extra port is needed for this; it runs over the same UDP port 47800. If a paired host has a new address in the meantime (DHCP), the client remembers the new one.
The answers are not authenticated. Only the key check during connection verifies that the other end really is the paired host. So a fake entry in the list cannot do any harm.
Pair devices¶
On the host, without sudo:
Pairing open for 5 minutes. PIN: 482913
Auf dem neuen Gerät: fernsicht-client pair <diese Adresse> <PIN>
On the new device, with the name from discover or the address:
Only root and the user logged in at the desktop may pair. The service
checks this through the Unix socket (/run/fernsicht/control.sock). Other
users on the same computer are rejected.
Overview and removing devices¶
Host zentrale (key 3f2a-…)
Connected: bazzite (192.168.178.20:51234), 2560×1440 at 60 fps, encrypted
Paired devices: 1
bazzite 9c41-…
To remove a device:
After that, this device can no longer connect until it is paired again.
Log, stop, uninstall¶
journalctl -u fernsicht-host-agent -f # follow the log
sudo systemctl stop fernsicht-host-agent # stop (starts again at the next boot)
sudo systemctl disable --now fernsicht-host-agent # stop and no longer start automatically
sudo ./packaging/install-host.sh --uninstall # remove completely (built from source)
sudo /opt/fernsicht/host/install.sh --uninstall # remove completely (installed with install.sh)
Keys and pairings are stored in /var/lib/fernsicht and are kept when you
uninstall. If you delete the file host.json there, the host gets a new
key. All devices must then be paired again.
If the service, built from source, reports
libavcodec.so.NN: cannot open shared object file after a Bazzite update,
the FFmpeg major version has changed (the AppImage and the release's host
carry their own FFmpeg). Then update the box
(dev/setup.sh), build again and install again.