Noticed this hasn’t been addressed before and I am curious should I run into this situation what the solution entails. I’ve heard others have same issues, so I figured I’d ask.
Verbatim, at the top of the latest Brave browser I see the following message. "You are using unsupported command-line flag:-no sandbox.
Not sure WHY username spaces should be enabled in kernel, to me that’s possible security risk. (I even had security alerts or warnings in Yaourt when trying to build it) I tried installing Brave in Artix linux, MX Linux, Void Linux, and few others… and they all wouldn’t work unless that was enabled.
There’s still one distro where I get the “trace/breakpoint trap” message in terminal trying to run it from terminal.
I also tried… “cd” to get into the /Brave folder and noticed the “brave-bin.sh” script there and tried running it as root or sudo… and it won’t run get error…
Syntax error: "(" unexpected (expecting "then")
So tried “dos2unix” on brave-bin.sh script, still same error. Tried sed -i 's/\r$//' brave-bin.sh and still didn’t work. Lol.
Then even had bunches of other errors already as well… Dunno what’s going on with Brave but something not right.
./brave [1442:1442:1222/235703.489575:ERROR:platform_thread_posix.cc(128)] pthread_create: Invalid argument (22) [1442:1442:1222/235703.490253:ERROR:shutdown_signal_handlers_posix.cc(199)] Failed to create shutdown detector task. [1442:1442:1222/235703.544359:ERROR:browser_dm_token_storage_linux.cc(93)] Error: /etc/machine-id contains 0 characters (32 were expected). [1474:1474:1222/235703.996375:ERROR:gl_implementation.cc(281)] Failed to load /home/dt/Downloads/Brave/swiftshader/libGLESv2.so: /home/dt/Downloads/Brave/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory [1474:1474:1222/235704.029356:ERROR:viz_main_impl.cc(184)] Exiting GPU process due to errors during initialization [1539:1539:1222/235704.705156:ERROR:gl_implementation.cc(281)] Failed to load /home/dt/Downloads/Brave/swiftshader/libGLESv2.so: /home/dt/Downloads/Brave/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory [1539:1539:1222/235704.728983:ERROR:viz_main_impl.cc(184)] Exiting GPU process due to errors during initialization [1442:1462:1222/235704.810625:ERROR:rewards_service_impl.cc(141)] Failed to read file: /home/dt/.config/BraveSoftware/Brave-Browser/Default/ledger_state [1442:1450:1222/235704.837316:ERROR:browser_gpu_channel_host_factory.cc(139)] Failed to launch GPU process. [1442:1442:1222/235705.278021:ERROR:gpu_process_transport_factory.cc(967)] Lost UI shared context. [1442:1442:1222/235705.627649:ERROR:x11_input_method_context_impl_gtk.cc(144)] Not implemented reached in virtual void libgtkui::X11InputMethodContextImplGtk::SetSurroundingText(const base::string16 &, const gfx::Range &)