smd*_*dbh 6 x11 user-interface visual-studio-code codespaces
一些 opencv 代码在执行时需要显示 GUI 窗口。相反,它显示Gtk-WARNING **: xxx: cannot open display:. 它发生在网络和桌面应用程序中。是否可以使用 x11 转发之类的功能来启用此功能?谢谢。
Gtk-WARNING **: xxx: cannot open display:
小智 3
使用 x11 转发。
在代码空间上,默认启用 ssh X11 转发。只需确保安装xauth软件包,然后使用gh cs ssh -- -X.
xauth
gh cs ssh -- -X
归档时间:
4 年,3 月 前
查看次数:
2535 次
最近记录:
3 年,11 月 前