[Interest] Running Qt application on Linux without screen

Christian Gagneraud chgans at gmail.com
Tue Jun 19 03:39:17 CEST 2018


On 18 June 2018 at 23:26, Tomasz Olszak <olszak.tomasz at gmail.com> wrote:
> Hello,
>
> Has anyone of you needed to handle following use case?
>
>
> 1. Linux
> 2. Full screen GUI app -  fast as much as possible so no X, considered eglfs
> over drm and wayland
> 3. It starts as a service without screen
> 4. Screen can be connected at any time - app should be visible on screen
>
> 3 seems currently impossible with Qt 5.10 (is there a point updating it to
> 5.11).
>
> What I tried so far:
> 1. Eglfs app works ok with screen connected
> 2. Eglfs crashes when no screen connected in egl qpa
> 3. Eglfs work ok when I add in eglfs configuration file
> (QT_QPA_EGLFS_KMS_CONFIG) certain modeline string as mode. However when
> screen is connected there is no QGuiApplication::screenAdded signal so I
> can't show application on different screen.
> 4. on Qt Wayland app exits with "Running on a compositor with no screens is
> not supported". It comes from QWaylandIntegration::initialize() and
> compositor is weston

I use Xvfb + VNC server + noVNC, this allows me to run on headless
servers and remotely interact/monitor the UI within a web browser.

https://github.com/novnc/noVNC

No sure about OpenGL

Chris

>
> Any ideas how to approach such case?
>
>
>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list