Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Raspberry pi App works correctly from SSH but not from local command line
QtWS25 Last Chance

Raspberry pi App works correctly from SSH but not from local command line

Scheduled Pinned Locked Moved Unsolved General and Desktop
sshraspberry piqxcbintegration
3 Posts 2 Posters 708 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eli_a_n
    wrote on last edited by
    #1

    I have a strange behaviour when i start the app from raspberry pi using a keyboard (not ssh) I'm getting an error message: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

    However, when i use windows putty or Ubuntu command line to ssh into the same raspberry pi, the error doesn't happen and i get the app as i designed it on Ubuntu in Qt Creator.

    i tried searching on forums and google but i couldn't find much about this specific case.

    Do you have any idea what i can try?

    jsulmJ 1 Reply Last reply
    0
    • E Eli_a_n

      I have a strange behaviour when i start the app from raspberry pi using a keyboard (not ssh) I'm getting an error message: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

      However, when i use windows putty or Ubuntu command line to ssh into the same raspberry pi, the error doesn't happen and i get the app as i designed it on Ubuntu in Qt Creator.

      i tried searching on forums and google but i couldn't find much about this specific case.

      Do you have any idea what i can try?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Eli_a_n Do you have a window manager running on RPi? X11?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Eli_a_n
        wrote on last edited by
        #3

        @jsulm said in Raspberry pi App works correctly from SSH but not from local command line:

        window manager

        hi, Thank you for the fast reply. Fairly new to raspberry pi.

        What i did was to :

        • download a full image of Buster and flash it on a sd card;
        • Boot to Desktop
        • Install qt following this tutorial : https://www.kampis-elektroecke.de/raspberry-pi/qt/
        • Run App from ssh
        • Run app from raspberry pi command line (not ssh)

        How can i check for window manager ?

        Thank you

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved