JBR-6639 Docker images for JBR/JCEF testing
Images on github:
- jetbrains/runtime:jbrTest_ubuntu22.04-arm64v8
- jetbrains/runtime:jbrTest_ubuntu20.04-arm64v8
- jetbrains/runtime:jbrTest_ubuntu20.04-amd64
- jetbrains/runtime:jbrTest_ubuntu22.04-amd64
Next packets are necessary to run cef on ubuntu20.04 (arm64): apt install libnss3 apt install libatk-bridge2.0-0 apt install libgbm1 apt install libxkbcommon0 apt install libasound2
After installing all of them CEF still doesn't starts because of missing DISPLAY. Log:
./cefsimple --url=google.com --no-sandbox --enable-logging=stderr --v=2 --password-store=basic [0213/101650.989811:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. [0213/101651.009944:VERBOSE1:cdm_registration.cc(208)] Widevine enabled but no library found [0213/101651.009946:VERBOSE1:cdm_registration.cc(208)] Widevine enabled but no library found [0213/101651.010414:INFO:cpu_info.cc(53)] Available number of cores: 4 [0213/101651.010414:INFO:cpu_info.cc(53)] Available number of cores: 4 [0213/101651.011366:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates [0213/101651.011368:VERBOSE1:zygote_main_linux.cc(201)] ZygoteMain: initializing 0 fork delegates [0213/101651.018350:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [0213/101651.077687:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY [0213/101651.077717:ERROR:env.cc(257)] The platform failed to initialize. Exiting. [0213/101651.077770:ERROR:main_runner.cc(259)] ContentMainRun failed with exit code 1
Investigation in progress.
./cefsimple --url=google.com --no-sandbox --enable-logging=stderr --v=2 --password-store=basic
Where can I find cefsimple ?
As for packages required for CEF: they were added, docker images were updated on github
./cefsimple --url=google.com --no-sandbox --enable-logging=stderr --v=2 --password-store=basic
Where can I find cefsimple ?
As for packages required for CEF: they were added, docker images were updated on github
It's a native demo app for CEF. Basically it's a very simple browser. It's a window app. It's distributed as part of the Standard Distribution. https://cef-builds.spotifycdn.com/index.html#linux64
E.g. current CEF distribution: https://cef-builds.spotifycdn.com/cef_binary_119.4.7%2Bg55e15c8%2Bchromium-119.0.6045.199_linux64.tar.bz2.
Inside there is a cmake project. cefsimple - is one of the targets in this project.