google-chrome-stable ああ、スナップ?

google-chrome-stable ああ、スナップ?

centosでgoogle-chrome-stableを起動すると、ブラウザは正常に起動できますが、ページがクラッシュして表示されます。aw,snap!このエラーを解決するには?

オペレーティングシステム:

CentOS Linux release 7.2 (Final)

Chrome版:

Google Chrome 111.0.5563.146 

注文する:

google-chrome-stable --autoplay-policy=no-user-gesture-required --mute-audio=false --window-size=1920,1080 http://douyin.com

出力:

google-chrome-stable --autoplay-policy=no-user-gesture-required --mute-audio=false --window-size=1920,1080 http://douyin.com
[742794:742820:0331/103754.452327:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742825:0331/103754.509872:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742825:0331/103754.509920:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742820:0331/103754.511707:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[742794:742820:0331/103754.511750:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[742794:742820:0331/103754.526791:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[742794:742820:0331/103754.526818:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[742794:742820:0331/103754.584518:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[742794:742820:0331/103754.584545:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[742794:742912:0331/103754.779461:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742912:0331/103754.779498:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742912:0331/103754.779570:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742912:0331/103754.779589:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742794:742912:0331/103754.779604:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[742833:742833:0331/103754.780520:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[742916:742916:0331/103754.891348:ERROR:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
[742864:7:0331/103754.892920:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[0331/103755.989434:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0331/103755.996041:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0331/103755.996073:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[742834:742852:0331/103804.844167:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -100
[742834:742852:0331/103814.894472:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -100

ベストアンサー1

--no-sandboxログによると、D-Bus通信とGPUプロセスに問題がある可能性があります。エラーを調査するには、サンドボックスモードのセキュリティ(GPUを含むまたは除く)なしでChromeを実行してください。--disable-gpu

google-chrome-stable --autoplay-policy=no-user-gesture-required --mute-audio=false --window-size=1920,1080 --no-sandbox --disable-gpu http://douyin.com

それでも機能しない場合は、新しい一時構成ファイルを作成し、その構成ファイルからインポートされたことを確認することもできます。google-chrome-stable --user-data-dir=/tmp/chrome-temp-profile --autoplay-policy=no-user-gesture-required --mute-audio=false --window-size=1920,1080 http://douyin.com

おすすめ記事