Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2706

Raspberry Pi OS • can't run chromium browser on bookworm like I used to

$
0
0
A couple of years ago I used this service file to run a browser window on a headless pi running raspberry pi OS lite. And it was working perfectly.

Code:

[Unit]Description=browser serviceWants=network-online.targetAfter=network-online.target[Service]ExecStart=/bin/bash -c "xinit /usr/bin/chromium-browser \                       -no-sandbox \                       --enable-features=OverlayScrollbar \                       --window-size=1920,1080 \                       --start-fullscreen \                       --kiosk \                       --incognito \                       --noerrdialogs \                       --no-first-run \                       --fast \                       --fast-start \                       --disable-infobars www.google.com -- -nocursor"Restart=alwaysStandardError=append:/var/log/browser_standard_error.log[Install]WantedBy=multi-user.target
It's been a few days now that I'm trying to setup the whole thing again on bookworm on a pi 3, but I get these errors.

Code:

pi@raspberrypi:~ $ tail -f /var/log/browser_standard_error.logKernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=245edfa9-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GBxorg-server 2:21.1.7-3+rpt1+deb12u4 (https://www.debian.org/support)Current version of pixman: 0.42.2        Before reporting problems, check http://wiki.x.org        to make sure that you have the latest version.Markers: (--) probed, (**) from config file, (==) default setting,        (++) from command line, (!!) notice, (II) informational,        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan  7 08:01:20 2024(==) Using system config directory "/usr/share/X11/xorg.conf.d"dpkg-query: no packages found matching bluealsa[6395:6449:0107/080132.287815:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6449:0107/080132.311887:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6449:0107/080132.312054:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6449:0107/080132.312173:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6395:0107/080132.789514:ERROR:policy_logger.cc(156)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-management` command line flag to enable it if you are not using the official Google Chrome build.[6463:6463:0107/080133.268195:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: dri2_create_context[6463:6463:0107/080133.577093:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: dri2_create_context[6395:6449:0107/080133.800872:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6449:0107/080133.801157:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6449:0107/080135.380915:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6395:6449:0107/080135.381232:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")[6463:6463:0107/080136.534246:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: dri2_create_context[6395:6510:0107/080136.786530:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files[6395:6510:0107/080136.788382:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files[6395:6510:0107/080136.790386:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files[6395:6395:0107/080138.842148:ERROR:interface_endpoint_client.cc(702)] Message 0 rejected by interface blink.mojom.WidgetHost
Any idea on what I can try to fix this?

Statistics: Posted by aristosv — Sun Jan 07, 2024 6:09 am



Viewing all articles
Browse latest Browse all 2706

Trending Articles