这似乎是一个X2go服务器问题,如下所述
http://wiki.x2go.org/doku.php/doc:de-compat
引用

Therefore, there are 4 reasons why certain modern “3d-ish” desktops are incompatible with nxagent, and therefore X2Go.
The desktop environment requires a newer version of the X11 extension “GLX” (OpenGL) than nxagent 3.5.0.x and X.org 6.9 provide (version 1.2).

我做了一些测试
Ubuntu 16.04薄荷糖
森托斯6.8
我尝试了Qt 5.8和qt5.5.1的Qt for linux安装
在CentOS 6.8中,Qt 5.8甚至无法安装
对于CentOS 6.8中的Qt5.5.1和Ubuntu16.04Mint中的Qt5.8,在运行QtWebView minimal示例时出现此错误
failed to get the current screen resources
WARNING: Application /data/home002/pvicente/git/star_icvs/tools/build-qt_geo_map-Desktop_Qt_5_5_1_GCC_64bit-Debug/qt_geo_map calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not supported!  This is an application bug!
QSGContext::initialize: stencil buffer support missing, expect rendering errors
QXcbConnection: XCB error: 172 (Unknown), sequence: 163, resource id: 150, major code: 149 (Unknown), minor code: 20

*这似乎是一个纯粹的X2Go错误*,因为在本地终端上尝试(在Ubuntu16.04Mint和Qt5.8中,程序运行良好。

最佳答案

如本文所述
https://github.com/QupZilla/qupzilla/issues/2084
这可以通过使用
/my_QT_程序—禁用gpu
在X2Go会话下

关于linux - 当不支持GLX 1.3时,X2go“qt_geo_map调用GLX 1.3函数“glXCreatePbuffer”!”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/42599096/

10-10 22:32