尝试运行别名命令,该命令应在Ubuntu中通过bash在chrome中打开两个标签。
alias mb="google-chrome url; google-chrome url"
执行别名后,我将收到此错误消息:
[1520:1520:0822/202900.742938:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[1520:1520:0822/202900.838165:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
由于这是某种gpu问题,因此我尝试了params:
--disable-gpu
--disable-software-rasterizer
他们都不起作用。
预期结果:将在一个浏览器中打开两个标签。
实际结果:将打开一个选项卡,命令将停留在错误消息上,而第二个选项卡将不会打开。必须手动终止进程。
答案 0 :(得分:0)
就我而言,当我使用Xorg启动Xorg时,此错误未出现在.xsession-errors中。
/usr/bin/startx -- -extension GLX
从以下答案中得到答案:https://unix.stackexchange.com/questions/408582/how-to-disable-hardware-acceleration-in-linux。