Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created October 21, 2020 02:30
Show Gist options
  • Select an option

  • Save awesomebytes/25bcbd75e3fd8c1ea44ea6ca2ef43a06 to your computer and use it in GitHub Desktop.

Select an option

Save awesomebytes/25bcbd75e3fd8c1ea44ea6ca2ef43a06 to your computer and use it in GitHub Desktop.
ssh -X with opengl Qt enabled app solution to neither GLX nor EGL are enabled

ssh -X Qt OpenGL error solution

To avoid the following error: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled when doing X forwarding via SSH one needs to install the following (in the remote machine where you are sshing into). This also solves black screen for me.

# This is needed in the remote machine
sudo apt-get install libegl-mesa0 libglx-mesa0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment