Expose any Qt5 program via VNC - Raymii.org

submited by
Style Pass
2021-09-24 13:00:07

A few months ago I wrote about Microsoft Teams running on a coffee machine. That was a fun work experiment where I got a VNC client running on the linux-based coffee machines that we produce at work. In the comments on hackernews Jean-Michaël Celerier pointed me to the reverse, a way to expose any Qt application over VNC. This article shows you how I use this feature to work on our Qt 5 based coffee machine frontend as well as how you can use this on your machine, for example, to expose Dolphin, the KDE file manager, over VNC.

Consider sponsoring me on Github. It means the world to me if you show your appreciation and you'll help pay the server costs. You can also sponsor me by getting a Digital Ocean VPS. With this referral link you'll get $100 credit for 60 days.

Our Qt frontend for the coffee machines can run as a local application just fine, it's nothing more than a client towards an HTTP API. One other such client is our touchless feature, that exposes a part of the machine over MQtT to a website.

Leave a Comment