ITA*_*ITA 7 xorg google-chrome x11-forwarding
因此,经过多次反复试验,我设法获得了 X11 转发工作。我办公室的桌面是 Ubuntu 16.04 LTS,我使用 XQuartz 从我的 MacBook Pro ssh 进入。当我 ssh 进入时,我在终端上得到以下信息:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-128-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Run Code Online (Sandbox Code Playgroud)
我知道 X11 转发工作正常,因为我可以让 FireFox 转发,但它非常慢且有问题。
但我无法让谷歌浏览器转发。终端在运行命令时提供以下信息google-chrome:
ATTENTION: default value of option force_s3tc_enable overridden by environment.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[10497:10497:0702/053002.891053:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[10497:10497:0702/053002.891090:ERROR:gpu_info_collector.cc(63)] gl::GLContext::MakeCurrent() failed
[10455:10549:0702/053003.740008:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Run Code Online (Sandbox Code Playgroud)
XQuartz 只显示一个空白窗口。在ctrl-c处理过程并退出终端时会进一步发出更多错误消息(如果需要,我可以发布)。但是有人可以帮助我并告诉我我做错了什么,或者我没有正确设置 x11 转发吗?我基本上遵循了这里的过程(也xauth已经为我安装了),所以我只是编辑了配置文件。
尝试使用SwiftShader软件渲染器启动Chrome——它于 2017年集成到 Chrome中:
chromium-browser --use-gl=swiftshader
Run Code Online (Sandbox Code Playgroud)
小智 5
默认情况下,Chrome 已启用硬件加速,我认为这是导致您出现问题的原因。尝试从以下开始:
google-chrome --disable-gpu
Run Code Online (Sandbox Code Playgroud)