我正在尝试通过 ssh 使用 putty 在我的 Windows 计算机上启动程序的 GUI。
我下载了 Xterm 并运行它,然后在 putty 选项中,选中了 X11 转发框。
当我尝试运行我的程序时,它出现了,但全部显示为灰色。他们终端说:
failed to get the current screen resources
QXcbConnection: XCB error: 170 (Unknown), sequence: 170, resource id: 90, major code: 146 (Unknown), minor code: 20
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
Xlib: extension "MIT-SHM" missing on display "localhost:24.0".
它不断重复这个直到我 cntl+c 退出。
有什么想法可能导致这种情况吗?