mrclksr/linux-browser-installer

Google Chrome Crash

vermaden opened this issue · 3 comments

On FreeBSD 14.1 - with fresh /compat/ubuntu installed.

% /usr/local/bin/linux-chrome
/compat/ubuntu/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[78788:149817:0703/010912.167639:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Function not implemented (38)
[78788:149819:0703/010912.359048: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")
[78788:149819:0703/010912.359261: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")
[78788:149819:0703/010912.359313: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")
[78788:149819:0703/010912.359353: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")
[78788:149819:0703/010912.451508: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")
[78788:149819:0703/010912.451849: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")
[81372:149842:0703/010912.485946:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Function not implemented (38)
[78788:149838:0703/010912.506694: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")
[78788:149819:0703/010912.543302: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")
[78788:149819:0703/010912.543561: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")
WARNING: Kernel has no file descriptor comparison support: Function not implemented
[78788:78788:0703/010912.773161:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
[78788:149837:0703/010912.774560: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")
[78788:78788:0703/010912.862792:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
[78788:149818:0703/010912.863978: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")
[78788:78788:0703/010912.905847:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
[78788:149828:0703/010912.907097: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")
[78788:78788:0703/010912.921580:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
[78788:149825:0703/010912.922740: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")
[78788:78788:0703/010912.941076:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
[0703/010915.882038:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[0703/010915.882729:ERROR:proc_task_reader.cc(47)] format error
Trace/BPT trap

Not sure how to fix this ...

Hi @vermaden , there's no fix. For no reason I don't know. But is related to the use of linux-steam-utils

You really don't need to use it, or to use these scripts, just follow the point-to-point guide here:

https://forums.freebsd.org/threads/linuxulator-how-to-install-brave-linux-app-on-freebsd-13-0.78879/

Obviously, you need to adapt the wrapper and install commands for Google Chrome, but it works. In writting this from Google Chrome on FreeBSD 14.1. It works like a charm.

PD: For audio, just check mixer pcm is set to 100 on FreeBSD host and install ALSA base packages on Ubuntu chroot.

Best regards and thanks for all your work :)
Screenshot from 2024-08-01 20-24-49
Screenshot from 2024-08-01 20-26-51

If my limited free time allows it, I want to write an automated script to install Chrome in this way, and other related browsers as well.

@Wamphyre thank You for Your reply.

I have used Your 'linux-browser-installer' for quite long time and I am VERY grateful that You made it.

If I would want to add Google Chrome (or other browser) to my FreeBSD system - then it would not work - but I keep my 'old' /compat/ubuntu from previous FreeBSD version - so I can still watch DRM content on an outdated Google Chrome browser.

I wish You that you will overcome that obstacle and make 'linux-browser-installer' great again :)

Regards,
ver