centos에서 google-chrome-stable을 시작하면 브라우저가 성공적으로 시작될 수 있지만 페이지가 충돌하고 표시됩니다. aw,snap!
이 오류를 해결하는 방법은 무엇입니까?
운영 체제:
CentOS Linux release 7.2 (Final)
크롬 버전:
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