The RDP package has no ties to Apple's systems, so the client the Mac and iPhone apps use runs on Linux as it is. Apps/Linux puts it in a GTK 4 window: a window to say which PC and who to sign in as, and one for the session, with the desktop made the size of the window in the screen's pixels, keys, the pointer, the wheel and the PC's pointer shapes, the clipboard both ways when asked for, and the PC's certificate shown the first time and asked about again if it changes. The computers connected to and their certificates are kept in ~/.config/OpenScreens; passwords never are. GTK names a released key by what it would type at that moment, so a key is released as what it was pressed as. Characters outside Latin-1 come from GTK as X's older keysyms and go as Unicode ones. The package's socket stream is a product now, for an app that has no other. Tried against Windows 11: signing in, a wrong password, typing symbols, Turkish and accented letters, resizing, the clipboard both ways.
OpenScreens for Linux
A preview: the Remote Desktop client of the Mac, iPhone and iPad apps, in a GTK 4 window. It connects to a Windows PC over Remote Desktop, with nothing installed on the PC, and does what the other apps do over Remote Desktop:
- signs in with Network Level Authentication, with the PC's account: its
name,
DOMAIN\name, or a Microsoft account's email and password; - shows the PC's certificate the first time, as an SSH key is shown, and asks again if it ever changes;
- makes the Windows desktop the size of the window, in the screen's pixels, and again whenever the window changes size;
- types what the keyboard types, whatever the PC's keyboard layout, and sends shortcuts with Ctrl, Alt or the Windows key as keys;
- shares the clipboard both ways, when asked to.
It does not do VNC, or Macs, yet. Those come from the rest of the project's engine, which is still tied to Apple's systems; see issue #3.
Running it
From a release, unpack OpenScreens-<version>-linux-x86_64.tar.gz and run
./openscreens, or ./install.sh to add it to your applications. It needs
GTK 4.12 or newer: Ubuntu 24.04, Debian 13, Fedora 39, Arch and anything
newer.
Settings, the computers you connected to and the certificates they
presented, are in ~/.config/OpenScreens. Passwords are never saved.
Building it
With Swift 6 and GTK 4's development files (libgtk-4-dev on Debian and
Ubuntu, gtk4 on Arch and Fedora):
swift build -c release --package-path Apps/Linux
Apps/Linux/.build/release/openscreens
scripts/release-linux.sh builds the release in a container of Ubuntu
24.04, with the Swift runtime linked in, so that it runs on that and
anything newer.