coldspark29
Posts: 11
Joined: Tue Aug 10, 2021 10:35 am

Can't run Qt apps from SSH on the Pi

Tue Aug 10, 2021 10:38 am

I can run the apps from the x session, but not from the terminal via SSH. All the solutions for this problem I have found, do no work for me.

This is the console output

```
Failed to move cursor on screen HDMI1: -13
Failed to move cursor on screen HDMI1: -13
Could not set cursor on screen HDMI1: -13
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
Could not set cursor on screen HDMI1: -13
Could not set cursor on screen HDMI1: -13
Could not set DRM mode for screen HDMI1 (Permission denied)
Could not queue DRM page flip on screen HDMI1 (Permission denied)
Could not queue DRM page flip on screen HDMI1 (Permission denied)
```

Here is the Qt issue I have made. Maybe anyone has experiences here

https://bugreports.qt.io/browse/QTBUG-95654

heedaf
Posts: 27
Joined: Thu Apr 30, 2015 4:29 pm

Re: Can't run Qt apps from SSH on the Pi

Tue Sep 21, 2021 7:25 am

Have you tried enabling X11 forwarding in the SSH menu?
Untitled.jpg
Untitled.jpg (101.86 KiB) Viewed 437 times

Return to “Graphics programming”