chromium startup failure

Gary Aitken freebsd at dreamchaser.org
Sat Aug 29 22:32:37 UTC 2020


I may need to run chromium to manage some gcloud boxes.
I was having trouble getting the ssh session to open properly from firefox
with noscript, although I've resolved that for now.  But just in case, I'd
like to get chromium working.

FreeBSD 11.3-RELEASE-p6 #0: Tue Jan 28 09:55:39 UTC 2020     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

An older version of chromium seemed to run fine, but since reinstalling all
packages a few days ago, it starts but can't connect:

$ chrome
[7362:562126848:0828/213439.205744:ERROR:browser_dm_token_storage_linux.cc(100)] Error: /etc/machine-id contains 0 characters (32 were expected).
[7362:598023168:0828/213439.243376:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7362:598023168:0828/213439.243502:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7362:598023168:0828/213439.267648:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7362:598023168:0828/213439.267774:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7362:632281088:0828/213439.747456:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.518" (uid=1001 pid=7362 comm="") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.UPower" (uid=0 pid=807 comm="")
[7362:632281088:0828/213439.747852:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.518" (uid=1001 pid=7362 comm="") interface="org.freedesktop.UPower" member="GetDisplayDevice" error name="(unset)" requested_reply="0" destination="org.freedesktop.UPower" (uid=0 pid=807 comm="")
[7362:632281088:0828/213439.748102:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.518" (uid=1001 pid=7362 comm="") interface="org.freedesktop.UPower" member="EnumerateDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.UPower" (uid=0 pid=807 comm="")
[7364:562126848:0828/213439.950737:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization

$ pkg info | grep chrom
chromium-84.0.4147.135         Google web browser based on WebKit

There is a machine-id file in /var/lib/dbus, but as nearly as I can tell from
various posts that is not the problem.  I suspect it is the failed to parse server
address that's the issue.

I don't know squat about dbus, but the following packages are installed:

$ pkg info | grep dbus
dbus-1.12.20                   Message bus system for inter-application communication
dbus-glib-0.110                GLib bindings for the D-BUS messaging system
py37-dbus-1.2.16               Python bindings for the D-BUS messaging system
py37-qt5-dbussupport-5.13.1_1  Qt event loop support for dbus-python
pydbus-common-1.2.16           Common files for the Python bindings for the D-BUS messaging system
qt5-dbus-5.14.2                Qt D-Bus inter-process communication module

and the following processes are running:

$ ps ax | grep dbus
   214  -  Is        0:00.27 /usr/local/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
   217  -  S         0:00.60 /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork
   604  -  Is        0:00.76 /usr/local/bin/dbus-daemon --system
   213 v4  I         0:00.00 /usr/local/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session
  9945  8  S+        0:00.00 grep dbus

Is anyone else seeing this and have a solution?

Thanks,

Gary


More information about the freebsd-questions mailing list