Giter Club home page Giter Club logo

linux-browser-installer's Introduction

About

linux-browser-installer is a Bourne shell script to install Linux versions of the Brave, Chrome, Edge, Opera or Vivaldi browsers under FreeBSD into a Linux (Ubuntu Focal) chroot. They allow you to use web services like Netflix, Prime Video, or Spotify which require Widevine. The script is based on the excellent Howto by @patovm04.

If not defined otherwise, Ubuntu Focal ($ubuntu_version) is installed under /compat/ubuntu ($chroot_path). A modified version of FreeBSD's linux rc-script (rc.d/ubuntu) is used to start the linuxulator, and to mount the chroot's filesystems.

System requirements

FreeBSD 12.2-RELEASE or higher

Please Note

You can't run different Linux chroots at the same time. If you want to run CentOS-based applications under /compat/linux, you have to set sysctl compat.linux.emul_path=/compat/linux, and start the linux rc-script (service linux onestart). Depending on which chroot you intend to use by default, set either (not both) linux_enable="YES" or ubuntu_enable="YES" in /etc/rc.conf.

Usage

Clone the repository and change to the linux-browser-installer directory.

$ git clone https://github.com/mrclksr/linux-browser-installer.git
$ cd linux-browser-installer

Proceed as user root with the following steps.

Install Brave, Chrome, Edge, Opera or Vivaldi browser

# ./linux-browser-installer install chrome

and/or

# ./linux-browser-installer install brave

and/or

# ./linux-browser-installer install vivaldi

and/or

# ./linux-browser-installer install edge

and/or

# ./linux-browser-installer install opera

If the chroot is not existing yet, it will be created first.

Run /usr/local/bin/linux-chrome, /usr/local/bin/linux-brave, /usr/local/bin/linux-vivaldi, /usr/local/bin/linux-opera, or /usr/local/bin/linux-edge to start your installed browser.

Deinstall Brave, Chrome, Edge, Opera or Vivaldi browser

# ./linux-browser-installer deinstall chrome

and/or

# ./linux-browser-installer deinstall brave

and/or

# ./linux-browser-installer deinstall vivaldi

and/or

# ./linux-browser-installer deinstall edge

and/or

# ./linux-browser-installer deinstall opera

This command deinstalls the browser, and removes its wrapper scripts from /usr/local/bin and $chroot_path/bin along with its desktop file.

Create chroot

# ./linux-browser-installer chroot create

Upgrade software installed in the chroot

# ./linux-browser-installer chroot upgrade

Delete chroot

# ./linux-browser-installer chroot delete

Before deleting the entire chroot under $chroot_path, this command unmounts all the chroot's filesystems, deletes the rc script, and removes its variable(s) from /etc/rc.conf.

Update symlinks


Note: Symlinks to files outside the chroot will not work when chroot'ing.


For icons
# ./linux-browser-installer symlink icons

This command updates the symlinks from $prefix/share/icons to $chroot_path/usr/share/icons. Use this after installing new icons to make them available to applications in the chroot.

For themes
# ./linux-browser-installer symlink themes

This command updates the symlinks from $prefix/share/themes to $chroot_path/usr/share/themes. Use this after installing new themes to make them available to applications in the chroot.

Delete working files from current directory

# ./linux-browser-installer clean

linux-browser-installer's People

Contributors

bsdlme avatar dgalaktionov avatar megastallman avatar mrclksr avatar patovm04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linux-browser-installer's Issues

Can't install to LINUX

In GhostBSD the 'default' Linux used is C7. When you install Linux programs via pkg they use that version of Linux.
This installer uses the UBUNTU Linux and the documentation seems to imply that you can change that but looking at the code that does not appear to be true.
I looked at the code to see if I could change it myself but I'm afraid I don't quite understand it enough.
I would really like to be able to run Vivaldi & Beyond Compare.

can't login in google accounts.

I can't log into Google accounts.
in brave and chrome.
Login failed
The browser or application may not be secure. More information
Try another browser. If you are already using a supported browser, you can refresh the screen and try logging in again.

someone with the same problem? how did you solve it?

Google Chrome: sound out: nothing audible

I get video playback at pages such as https://www.itv.com/hub/itv (sign in required) and https://www.ted.com/talks/james_geary_metaphorically_speaking but no sound.

audio/virtual_oss in use, if that's relevant. From my rc.conf:

virtual_oss_enable="YES"
virtual_oss_default_args="\
  -T /dev/sndstat \
  -S \
  -i 8 \
  -C 2 -c 2 \
  -r 48000 \
  -b 24 \
  -s 8.0ms \
  -f /dev/dsp1 \
  -c 2 \
  -d dsp \
  -t vdsp.ctl"
sndiod_enable="YES"
root@mowa219-gjp4-8570p:~ # uname -v
FreeBSD 13.0-CURRENT #72 r367936: Sun Nov 22 21:46:00 GMT 2020     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 

dmesg errors

after fresh install of freebsd 13.1 beta 2 p0
and
linux-browser-install install chrome

then reboot

and start linux-chrome

no sound in chrome netflix
the dmesg errors appear even if chrome works fine.

linux: jid 0 pid 2123 (ThreadPoolForeg): syscall inotify_init not implemented
linux: jid 0 pid 2123 (CrShutdownDetec): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2123 (VideoCaptureThr): unsupported socket(AF_NETLINK, 3, NETLINK_KOBJECT_UEVENT)
linux: jid 0 pid 2160 (Chrome_ChildIOT): syscall inotify_init not implemented
linux: jid 0 pid 2160 (Chrome_ChildIOT): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2123 (CacheThread_Blo): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported IPv4 socket option IP_MTU_DISCOVER (10), your linux program can not control path-MTU discovery
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2167 (ThreadPoolForeg): syscall pkey_alloc not implemented
linux: jid 0 pid 2166 (GpuMemoryThread): syscall pkey_alloc not implemented
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported TCP socket option TCP_INFO (11)
linux: jid 0 pid 2189 (GpuMemoryThread): syscall pkey_alloc not implemented
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported IPv4 socket option IP_MTU_DISCOVER (10), your linux program can not control path-MTU discovery
linux: jid 0 pid 2123 (BatteryStatusNo): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported IPv4 socket option IP_MTU_DISCOVER (10), your linux program can not control path-MTU discovery
linux: jid 0 pid 2123 (BatteryStatusNo): unsupported socket(AF_NETLINK, 3, NETLINK_KOBJECT_UEVENT)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
linux: jid 0 pid 2160 (ThreadPoolForeg): unsupported IPv4 socket option IP_MTU_DISCOVER (10), your linux program can not control path-MTU discovery

what did I do wrong here ?

Opera Crash

Same as with Google Chrome - Opera crashes - its on FreeBSD 14.1 with new /compat/ubuntu chroot.

% /usr/local/bin/linux-opera             
No matching processes belonging to you were found
W: [] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
/compat/ubuntu/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[71110:150546:0703/011352.773931: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")
[71110:150546:0703/011352.775367: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")
[71110:150545:0703/011352.773945:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Function not implemented (38)
[73733:150568:0703/011352.920275:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Function not implemented (38)
WARNING: Kernel has no file descriptor comparison support: Function not implemented
[71110:150546:0703/011353.138022: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")
[71110:150546:0703/011353.138075: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")
[71110:150544:0703/011353.455652:ERROR:partner_bookmarks_utils.cc(270)] Unable to read partner speeddials file.
[71110:71110:0703/011355.376527:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0)
[71110:71110:0703/011355.761195:ERROR:CONSOLE(2)] "Uncaught (in promise) [object Object]", source: chrome://startpage/main.js (2)
[71110:71110:0703/011355.892840:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://rich-wallpaper/ (0)
[0703/011358.354075:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[0703/011358.354383:ERROR:proc_task_reader.cc(47)] format error
[71110:150547:0703/011359.402306:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR
[71110:150547:0703/011359.432808:ERROR:registration_request.cc(291)] Registration response error message: PHONE_REGISTRATION_ERROR
[71110:150547:0703/011359.490981:ERROR:mcs_client.cc(701)]   Error code: 401  Error message: Authentication Failed: wrong_secret
[71110:150547:0703/011359.491008:ERROR:mcs_client.cc(703)] Failed to log in to GCM, resetting connection.
Trace/BPT trap

enabled sound crashing playback

Hi. I see there are dozens of open issues and i understand a whole community of BSD desktop users is relying on your script to try to get DRM playback working. So if you cant spend time on this particular issue, its fine.

Just letting you know: I used your script to successfully get DRM playback to work in multiple browsers (chrome, edge, brave). But for all of them, i have to mute the tab or video playback or it will instantly crash with the error "video decoder or demuxer had an error with the content (Error 1301)"

Pulseaudio is already running on my system before starting your script. I tried to kill it to have your wrapper files handle its startup to no avail. I also have multiple FreeBSD install hardening options active, that might explain some of the errors about ptrace.

I am on FreeBSD 13.2-RELEASE. Your install script worked fine.

Starting your wrapper scripts as root does seem to fix part of the issue (by a wild guess, it allows the pulseaudio service to be restarted from your wrapper script) - i dont have to mute the tab/site/player anymore to have working video image. But still no sound audible. Running a browser as root would be a terrible solution anyways (:

This is the full output of trying to playback DRM content as a regular user:

$ linux-chrome
[85646:103375:1017/173519.951035:ERROR:file_path_watcher_inotify.cc(315)] inotify_init() failed: Function not implemented (38)
[85646:103378:1017/173519.959925:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103381:1017/173520.333873:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103381:1017/173520.334048:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.416774:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.418314:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.418614:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.418866:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[86317:103394:1017/173520.492005:ERROR:file_path_watcher_inotify.cc(315)] inotify_init() failed: Function not implemented (38)
[85646:103378:1017/173520.532221:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.532318:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.645909:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173520.646044:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
[86162:86162:1017/173520.750934:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86162:86162:1017/173520.751455:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86162:86162:1017/173520.751464:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[86162:86162:1017/173520.752409:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86162:86162:1017/173520.752846:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86162:86162:1017/173520.752852:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[86162:86162:1017/173520.752856:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[86162:86162:1017/173520.752863:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86162:86162:1017/173520.767155:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86162:86162:1017/173520.767171:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86162:86162:1017/173520.767176:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[86162:86162:1017/173520.768054:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86162:86162:1017/173520.768063:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86162:86162:1017/173520.768067:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[86162:86162:1017/173520.768071:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[86162:86162:1017/173520.768076:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86162:86162:1017/173520.769623:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
[86615:86615:1017/173520.956125:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86615:86615:1017/173520.956163:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86615:86615:1017/173520.956169:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[86615:86615:1017/173520.957085:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86615:86615:1017/173520.957095:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86615:86615:1017/173520.957099:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[86615:86615:1017/173520.957104:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[86615:86615:1017/173520.957110:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86615:86615:1017/173520.972030:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86615:86615:1017/173520.972049:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86615:86615:1017/173520.972054:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[86615:86615:1017/173520.972976:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86615:86615:1017/173520.972986:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86615:86615:1017/173520.972990:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[86615:86615:1017/173520.972995:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[86615:86615:1017/173520.972999:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86615:86615:1017/173520.973678:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[85646:103451:1017/173521.864986:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103451:1017/173521.865087:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103451:1017/173521.865156:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103451:1017/173521.865212:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103451:1017/173521.865265:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
[86695:86695:1017/173521.954836:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86695:86695:1017/173521.954871:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86695:86695:1017/173521.954877:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[86695:86695:1017/173521.955783:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86695:86695:1017/173521.955793:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86695:86695:1017/173521.955798:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[86695:86695:1017/173521.955802:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[86695:86695:1017/173521.955807:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86695:86695:1017/173521.970157:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86695:86695:1017/173521.970175:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86695:86695:1017/173521.970180:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[86695:86695:1017/173521.971069:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[86695:86695:1017/173521.971078:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[86695:86695:1017/173521.971083:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[86695:86695:1017/173521.971087:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[86695:86695:1017/173521.971091:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86695:86695:1017/173521.971775:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[86579:103441:1017/173522.049930:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[85646:103375:1017/173529.369971:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
*** stack smashing detected ***: terminated
[1017/173536.752943:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173536.753027:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173541.955199:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173541.955232:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173652.352117:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173652.352150:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173657.445424:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173657.445456:ERROR:proc_task_reader.cc(46)] format error
[85646:103378:1017/173657.463952:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464043:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464119:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464181:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464236:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464293:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464348:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464402:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464458:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464512:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464565:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464628:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464700:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.464760:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.478839:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.479062:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173657.479246:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Warning: libGLX_nvidia.so.0: cannot open shared object file: No such file or directory
Warning: loader_icd_scan: Failed loading library associated with ICD JSON libGLX_nvidia.so.0. Ignoring this JSON
Warning: /usr/local/lib/libvulkan_lvp.so: ELF file OS ABI invalid
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/local/lib/libvulkan_lvp.so. Ignoring this JSON
Warning: /usr/local/lib/libvulkan_radeon.so: ELF file OS ABI invalid
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/local/lib/libvulkan_radeon.so. Ignoring this JSON
Warning: /usr/local/lib/libvulkan_intel.so: ELF file OS ABI invalid
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/local/lib/libvulkan_intel.so. Ignoring this JSON
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
[85646:103376:1017/173723.154345:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
[85646:85646:1017/173742.515875:ERROR:interface_endpoint_client.cc(702)] Message 1 rejected by interface blink.mojom.WidgetHost
*** stack smashing detected ***: terminated
[1017/173830.793135:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173830.793171:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173837.897713:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173837.897794:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173842.991174:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173842.991206:ERROR:proc_task_reader.cc(46)] format error
[85646:103378:1017/173843.060879:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173843.060957:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173843.061037:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173847.985664:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173847.985741:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173847.985797:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
*** stack smashing detected ***: terminated
[1017/173854.626292:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173854.626327:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173902.880269:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173902.880303:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173909.477277:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173909.477308:ERROR:proc_task_reader.cc(46)] format error
*** stack smashing detected ***: terminated
[1017/173914.758337:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[1017/173914.758368:ERROR:proc_task_reader.cc(46)] format error
[85646:103378:1017/173919.956161:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173919.956261:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173919.956341:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173924.598707:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173924.599065:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[85646:103378:1017/173924.599372:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

And here as root via sudo:

$ sudo linux-chrome
Password:
No matching processes were found
W: [(null)] main.c: This program is not intended to be run as root (unless --system is specified).
[93756:104185:1017/174103.040738:ERROR:file_path_watcher_inotify.cc(315)] inotify_init() failed: Function not implemented (38)
[93756:104187:1017/174103.041128:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104191:1017/174103.087727:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104191:1017/174103.087806:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104187:1017/174103.089939: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")
[93756:104187:1017/174103.089956: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")
[93756:104187:1017/174103.089966: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")
[93756:104187:1017/174103.089978: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")
[93756:104187:1017/174103.107984: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")
[93756:104187:1017/174103.108030: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")
[94340:104215:1017/174103.121573:ERROR:file_path_watcher_inotify.cc(315)] inotify_init() failed: Function not implemented (38)
[93756:104187:1017/174103.132246: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")
[93756:104187:1017/174103.132261: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")
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
[94318:94318:1017/174103.188652:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94318:94318:1017/174103.188700:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94318:94318:1017/174103.188707:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[94318:94318:1017/174103.200606:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94318:94318:1017/174103.200628:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94318:94318:1017/174103.200636:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[94318:94318:1017/174103.200646:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[94318:94318:1017/174103.200653:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[93756:104231:1017/174103.214611:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104231:1017/174103.214684:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104231:1017/174103.214757:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104231:1017/174103.214822:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[93756:104231:1017/174103.214883:ERROR:bus.cc(407)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[94318:94318:1017/174103.218812:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94318:94318:1017/174103.218829:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94318:94318:1017/174103.218834:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[94318:94318:1017/174103.220432:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94318:94318:1017/174103.220448:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94318:94318:1017/174103.220453:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[94318:94318:1017/174103.220463:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[94318:94318:1017/174103.220470:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[94318:94318:1017/174103.223539:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
[94546:94546:1017/174103.316281:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94546:94546:1017/174103.316321:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94546:94546:1017/174103.316327:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[94546:94546:1017/174103.317331:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94546:94546:1017/174103.317341:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94546:94546:1017/174103.317346:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[94546:94546:1017/174103.317351:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[94546:94546:1017/174103.317355:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[94546:94546:1017/174103.332016:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94546:94546:1017/174103.332035:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94546:94546:1017/174103.332039:ERROR:gl_display.cc(795)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[94546:94546:1017/174103.333005:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[94546:94546:1017/174103.333014:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[94546:94546:1017/174103.333018:ERROR:gl_display.cc(795)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[94546:94546:1017/174103.333022:ERROR:gl_display.cc(829)] Initialization of all EGL display types failed.
[94546:94546:1017/174103.333026:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[94546:94546:1017/174103.333722:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[94541:104247:1017/174103.406067:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[93756:104185:1017/174106.256513:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
ALSA lib conf.c:3816:(config_file_open) cannot access file /etc/alsa/conf.d/10-samplerate.conf
ALSA lib conf.c:3736:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4190:(snd_config_update_r) hooks failed, removing configuration
[95579:95579:1017/174126.197897:ERROR:alsa_util.cc(204)] PcmOpen: default,No such file or directory
ALSA lib conf.c:3816:(config_file_open) cannot access file /etc/alsa/conf.d/10-samplerate.conf
ALSA lib conf.c:3736:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4190:(snd_config_update_r) hooks failed, removing configuration
[95579:95579:1017/174126.198531:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,No such file or directory
[93756:104187:1017/174126.310923: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")
[93756:104187:1017/174126.310953: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")
[93756:104187:1017/174126.310964: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")
[93756:104187:1017/174126.310978: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")
[93756:104187:1017/174126.310989: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")
[93756:104187:1017/174126.310997: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")
[93756:104187:1017/174126.311005: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")
[93756:104187:1017/174126.311014: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")
[93756:104187:1017/174126.311022: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")
[93756:104187:1017/174126.311034: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")
[93756:104187:1017/174126.311042: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")
[93756:104187:1017/174126.311051: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")
[93756:104187:1017/174126.311059: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")
[93756:104187:1017/174126.311067: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")
[93756:104187:1017/174126.328403: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")
[93756:104187:1017/174126.328424: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")
[93756:104187:1017/174126.328431: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")
[93756:104187:1017/174126.466127: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")
[93756:104187:1017/174126.466153: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")
[93756:104187:1017/174132.426704: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")
[93756:104187:1017/174132.426729: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")
[93756:104187:1017/174132.426737: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")
[93756:104187:1017/174134.937903: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")
[93756:104187:1017/174134.937982: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")
[93756:104187:1017/174138.430029: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")
[93756:104187:1017/174138.430056: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")
[93756:104187:1017/174138.430064: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: libGLX_nvidia.so.0: cannot open shared object file: No such file or directory
Warning: loader_icd_scan: Failed loading library associated with ICD JSON libGLX_nvidia.so.0. Ignoring this JSON
Warning: /usr/local/lib/libvulkan_lvp.so: ELF file OS ABI invalid
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/local/lib/libvulkan_lvp.so. Ignoring this JSON
Warning: /usr/local/lib/libvulkan_radeon.so: ELF file OS ABI invalid
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/local/lib/libvulkan_radeon.so. Ignoring this JSON
Warning: /usr/local/lib/libvulkan_intel.so: ELF file OS ABI invalid
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/local/lib/libvulkan_intel.so. Ignoring this JSON
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.

Chrome browser: Netflix error code M7361-1253

Since 2023-08-24 or -25 I no longer can play content from Netflix (in Germany). The Chrome browser is kept up to date. I also tested lots of different user agents (with user agent switcher).

OS: GhostBSD

Vivaldi Crash

Same as with Google Chrome - Vivaldi crashes - its on FreeBSD 14.1 with new /compat/ubuntu chroot.

# linux-vivaldi
[79796:100808:0704/005203.822322:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Function not implemented (38)
Gtk-Message: 00:52:04.031: Failed to load module "colorreload-gtk-module"
Gtk-Message: 00:52:04.031: Failed to load module "window-decorations-gtk-module"
[79796:79796:0704/005204.067120:ERROR:proxy_config_service_linux.cc(621)] inotify_init failed: Function not implemented (38)
[80401:100829:0704/005204.162815:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Function not implemented (38)
[80354:80354:0704/005204.274356:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[79796:79796:0704/005212.326218:ERROR:proxy_config_service_linux.cc(621)] inotify_init failed: Function not implemented (38)
[79796:79796:0704/005212.345194:ERROR:proxy_config_service_linux.cc(621)] inotify_init failed: Function not implemented (38)
[80861:80861:0704/005212.950037:ERROR:viz_main_impl.cc(166)] Exiting GPU process due to errors during initialization
[80654:100890:0704/005213.098141:ERROR:command_buffer_proxy_impl.cc(132)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[0704/005216.545561:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[0704/005216.546427:ERROR:proc_task_reader.cc(47)] format error
Trace/BPT trap

linux-browser update

Hi,

I am sorry if this is a silly question. What is the best way to update the installed browser? I am worried that simply deinstalling and reinstalling the browser would remove the bookmarks and customized toolbar settings.

Thank you!

Can't install to linux-c7

In GhostBSD the 'default' Linux used is C7. When you install Linux programs via pkg they use that version of Linux.
This installer uses the UBUNTU Linux and the documentation seems to imply that you can change that but looking at the code that does not appear to be true.
I looked at the code to see if I could change it myself but I'm afraid I don't quite understand it enough.
I would really like to be able to run Vivaldi & Beyond Compare.

KeepassXC Proxy.

Hello!

Do you have any idea on how to make the host KeepassXC proxy be properly available inside the chroot?

I have not yet had a proper look on it but I suppose the symlink facilities could be modified to that; however I don't know if the necessary socket file is available when the chroot is kicked.

Cheers!

segfault / udev issue on 14-CURRENT

After installing chrome (didn't test other browsers), the browser segfaults when trying to use webRTC. It may segfault in other places too, but I am able to consistently get it to crash when I go to a webRTC page (ex. jitsi meet)

A few notes:

  • pulseaudio does not install correctly - requires config path change
  • dbus is required and needs to be enabled in rc.conf and also has a config issue (need to copy defaults over to correct dir)

After these are fixed, sound works, for example, on Youtube.

Attached is a log of linux-chrome running and crashing.

My guess is that it has something to do with the udev_watcher error line, and may need to have linuxulator-steam-utils's fake udev or something to work correctly, but I also have no idea what I'm talking about!!

I also posted on the thread here to see if anyone has a clue about this.

chrome-log.txt

Can Not Create CHROOT: Package 'gnupg' has no installation candidate

Hi,

I can not create CHROOT on FreeBSD 14.0-ALPHA1 with error as shown below.

~ git clone https://github.com/mrclksr/linux-browser-installer.git
~ cd linux-browser-installer
~/linux-browser-installer % doas ./linux-browser-installer chroot create
(...)
I: Configuring apt...
I: Configuring apt-utils...
I: Configuring python3...
I: Configuring python3-six...
I: Configuring python3-gi...
I: Configuring shared-mime-info...
I: Configuring python3-netifaces...
I: Configuring lsb-release...
I: Configuring python3-cffi-backend...
I: Configuring python3-pkg-resources...
I: Configuring python3-dbus...
I: Configuring python3-yaml...
I: Configuring netplan.io...
I: Configuring ubuntu-advantage-tools...
I: Configuring python3-nacl...
I: Configuring networkd-dispatcher...
I: Configuring python3-pymacaroons...
I: Configuring console-setup-linux...
I: Configuring console-setup...
I: Configuring kbd...
I: Configuring ubuntu-minimal...
I: Configuring libc-bin...
I: Configuring systemd...
I: Configuring ca-certificates...
I: Base system installed successfully.
mkdir: /compat/ubuntu/etc/localtime: File exists
cp: /compat/ubuntu/etc/localtime is not a directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "en_US.UTF-8",
        LC_COLLATE = "C",
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Current default time zone: 'Europe/Warsaw'
Local time is now:      Thu Sep 14 17:39:48 CEST 2023.
Universal Time is now:  Thu Sep 14 15:39:48 UTC 2023.

compat.linux.emul_path: /compat/ubuntu -> /compat/ubuntu
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
  At least one invalid signature was encountered.
Get:3 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Err:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  At least one invalid signature was encountered.
Err:3 http://archive.ubuntu.com/ubuntu focal-security InRelease
  At least one invalid signature was encountered.
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.ubuntu.com/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu focal-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu focal-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.ubuntu.com/ubuntu focal-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  rsyslog
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1695 kB disk space will be freed.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "en_US.UTF-8",
        LC_COLLATE = "C",
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 11356 files and directories currently installed.)
Removing rsyslog (8.2001.0-1ubuntu1) ...
invoke-rc.d: could not determine current runlevel
 * Stopping enhanced syslogd rsyslogd                                                                                                                  [ OK ] 
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gnupg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gnupg' has no installation candidate
linux-browser-installer: Error: 'apt install -y gnupg' failed
~/linux-browser-installer % 

Regards,
vermaden

Google Chrome Crash

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 ...

chrome lost audio again

Hi,

On FreeBSD 14.0-RELEASE-p5, linux-chrome lost its audio output again. Pulseaudio is installed and running, dbus is running as well. However, starting the application either with linux-chrome or /compat/ubuntu/bin/chrome results in the same error message that is

[1927:103507:0319/203948.217471: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. However,

# ll /var/run/dbus/
total 10
drwxr-xr-x 2 root wheel uarch 4 Mar 19 18:10 ./
drwxr-xr-x 15 root wheel uarch 33 Mar 19 18:23 ../
-rw-r--r-- 1 root wheel uarch 5 Mar 19 18:10 pid
srwxrwxrwx 1 root wheel uarch 0 Mar 19 18:10 system_bus_socket=

Does the equal sign at the end of the dbus socket makes it not recognizable by chrome?

Restarting the dbus daemon does not solve this problem. Any input will be much appreciated.

Delete links in /etc/fstab

If you run ./linux-browser-installer chroot delete, corresponding links in /etc/fstab should be deleted, too.

Expired certificate and repo issue

Hi @mrclksr !

I was trying to install Vivaldi on GhostBSD but I run into this problem:

/compat/ubuntu/linux_signing_key.pub 3175 B 5761 kBps 00s
OK
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:2 https://repo.vivaldi.com/archive/deb stable InRelease
Err:3 https://repo.vivaldi.com/archive/deb stable Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 23.111.9.47 443]
Reading package lists... Done
E: The repository 'https://repo.vivaldi.com/archive/deb stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vivaldi-stable
linux-browser-installer: Error: 'apt install -y vivaldi-stable' failed

What I did

  1. I followed the instructions specified on README.md;
  2. I run this command: ./linux-browser-installer install vivaldi
  3. The above errors where displayed.
  4. I modified /compat/ubuntu/etc/apt/sources.list.d/vivaldi.list to point to a different repo, but I was unable to update the repo.

Can you please take a look into this issue and let me know if this is a bug or is something that I missed.

Thank you!

Screenlock during movie

FreeBSD 5.2 - kde/plasma (no wayland)
I can just disable it in system settings, but somehow when I watch movies in netflix / amazon prime (even fullscreen), screen lock activates after a few minutes (which it doesn't when looking at something in native browser).
Any idea how to correct that behaviour?

Please use the term "chroot" instead of "jail"

Hello @mrclksr great work!

I use the term jail here for a directory to which you can chroot. It has nothing to do with FreeBSD jails.

It would be less confusing to use the term "chroot" instead of "jail" throughout the documentation and code if FreeBSD jails are not meant.

GhostBSD with bsdrc crashes brave due to illegal instuction

If you didn't see, ghostbsd upstream just updated to bsdrc. I figured i'd give installing brave a try.
standard installation, everything worked except i had to manually add the brave repo signing key, no biggie.

but when launching brave from the *.desktop, it crashes.

when loading from cli, this is the error log:

[3047:101300:0823/145029.671656:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101296:0823/145029.686596:ERROR:file_path_watcher_linux.cc(326)] inotify_init() failed: Function not implemented (38)
[3047:101296:0823/145029.687420:ERROR:address_tracker_linux.cc(195)] Could not create NETLINK socket: Address family not supported by protocol (97)
[3047:101295:0823/145029.710087:ERROR:udev_watcher.cc(52)] Failed to initialize a udev monitor.
[0823/145029.741003:ERROR:ptracer.cc(476)] Unexpected registers size 0 != 216, 68
[0823/145029.741593:ERROR:proc_task_reader.cc(45)] format error
[3047:101318:0823/145029.795924:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101318:0823/145029.802390:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3053:101323:0823/145029.839999:ERROR:file_path_watcher_linux.cc(326)] inotify_init() failed: Function not implemented (38)
[3053:101323:0823/145029.840524:ERROR:address_tracker_linux.cc(195)] Could not create NETLINK socket: Address family not supported by protocol (97)
[3047:101318:0823/145029.941380:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101318:0823/145029.942061:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101352:0823/145030.851939:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101352:0823/145030.852525:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101352:0823/145030.855388:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101352:0823/145030.855814:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:101352:0823/145030.856157:ERROR:bus.cc(393)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3047:3047:0823/145031.548787:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[1]    3047 illegal hardware instruction (core dumped)  /compat/ubuntu/bin/brave

is this a known issue with the script or just ghostbsd upstreams version of the linuxulator?

i figured id also put my hardware info here too if thats useful :

                             izder456@Poplar 
              '+ijwbRMDS+    --------------- 
           `=uNQge\^,.'FRp   OS: FreeBSD 13.0-STABLE amd64 
        `^9QQRi:    .+9Ww;   Uptime: 15 mins 
      'vQQBj'  :/+vw#gF^     Packages: 727 (pkg) 
    '{@@Ri    `7DbbNa;       Shell: zsh 5.8 
  `=@@g\        :zBBi'       Resolution: 1366x768 
 `D@Qy        +eQQa:         DE: MATE 1.24.3 
,D@Q_      .sDQQD|           WM: Metacity (Marco) 
6@Q;    .>OQdBQa`            Theme: Vimix-Dark [GTK2/3] 
@@M:';sq@QySQg{yDx           Icons: Qogir-dark [GTK2/3] 
w@@@@@#e+?#QQBe*             Terminal: mate-terminal 
 ,=?;'`:gQQ#i,               CPU: AMD E1-2500 APU (2) @ 1.397GHz 
    `:d@QE:`                 CPU Usage: 102% 
  ./Q@Q6'                    Memory: 2046MiB / 3461MiB 
.l@@@b,                      Battery: 91% Charging 
F@QO:                     

No sound after update to 14-STABLE

Updated to OS: GhostBSD 24.01.1 amd64 Kernel: 14.0-STABLE today. Sound generally works in GhostBSD but linux-browser-installer chrome does not play sound anymore.

Error installing on 14-CURRENT

The commit of FreeBSD sources is 010175a76d0676ff8d9b8d54276aff093abbc3f2 and it's pulled maybe an hour ago. I get the following error:

sudo ./linux-browser-installer install chrome
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
compat.linux.emul_path: /compat/ubuntu -> /compat/ubuntu
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.

No packages are required to be fetched.
Integrity check was successful.
tar: Removing leading '/' from member names
./linux-browser-installer: debootstrap: Permission denied
linux-browser-installer: Error: debootstrap failed

I have installation on two other machines running 13.1-p2 so I mentioned it's 14 as it might be relevant.

linux-browser-installer: Error: 'apt install -y apt-transport-https curl' failed

root@marietto:/usr/home/marietto/Desktop/Scripts/linux-browser-installer # sudo ./linux-browser-installer install edge

[: missing ]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
curl is already the newest version (7.68.0-1ubuntu2).
apt-transport-https is already the newest version (2.0.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3 (3.8.2-0ubuntu2) ...
running python rtupdate hooks for python3.8...
dpkg-query: package 'apt-xapian-index' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of apt-xapian-index
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of apt-xapian-index
error running python rtupdate hook apt-xapian-index
dpkg-query: package 'ibus' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus
error running python rtupdate hook ibus
dpkg-query: package 'kajongg' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of kajongg
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of kajongg
error running python rtupdate hook kajongg
dpkg-query: package 'light-locker-settings' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of light-locker-settings
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of light-locker-settings
error running python rtupdate hook light-locker-settings
dpkg-query: package 'system-config-printer-common' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer-common
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer-common
error running python rtupdate hook system-config-printer-common
dpkg-query: package 'system-config-printer' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer
error running python rtupdate hook system-config-printer
dpkg-query: package 'virt-manager' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of virt-manager
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
    ret = self.get_logind_session(pid, proc_pid_fd)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
    cgroup_file = os.open('cgroup', os.O_RDONLY, dir_fd=proc_pid_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'cgroup'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of virt-manager
error running python rtupdate hook virt-manager
dpkg: error processing package python3 (--configure):
 installed python3 package post-installation script subprocess returned error exit status 4
dpkg: dependency problems prevent configuration of netplan.io:
 netplan.io depends on python3; however:
  Package python3 is not configured yet.

dpkg: error processing package netplan.io (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-six:
 python3-six depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-six (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-gi:
 python3-gi depends on python3 (<< 3.9); however:
  Package python3 is not configured yet.
 python3-gi depends on python3 (>= 3.8~); however:
  Package python3 is not configured yet.
 python3-gi depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-gi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-netifaces:
 python3-netifaces depends on python3 (<< 3.9); however:
  Package python3 is not configured yet.
 python3-netifaces depends on python3 (>= 3.8~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-netifaces (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-advantage-tools:
 ubuntu-advantage-tools depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package ubuntu-advantage-tools (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-release:
 lsb-release depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package lsb-release (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-nacl:
 python3-nacl depends on python3 (>= 3~); however:
  Package python3 is not configured yet.
 python3-nacl depends on python3-six; however:
  Package python3-six is not configured yet.
 python3-nacl depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-nacl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-cffi-backend:
 python3-cffi-backend depends on python3 (<< 3.9); however:
  Package python3 is not configured yet.
 python3-cffi-backend depends on python3 (>= 3.8~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-cffi-backend (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pkg-resources:
 python3-pkg-resources depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-pkg-resources (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of networkd-dispatcher:
 networkd-dispatcher depends on python3-gi; however:
  Package python3-gi is not configured yet.
 networkd-dispatcher depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package networkd-dispatcher (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-dbus:
 python3-dbus depends on python3 (<< 3.9); however:
  Package python3 is not configured yet.
 python3-dbus depends on python3 (>= 3.8~); however:
  Package python3 is not configured yet.
 python3-dbus depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-dbus (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pymacaroons:
 python3-pymacaroons depends on python3-nacl (>= 1.1.2); however:
  Package python3-nacl is not configured yet.
 python3-pymacaroons depends on python3-six (>= 1.8.0); however:
  Package python3-six is not configured yet.
 python3-pymacaroons depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-pymacaroons (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on lsb-release; however:
  Package lsb-release is not configured yet.
 ubuntu-minimal depends on netplan.io; however:
  Package netplan.io is not configured yet.
 ubuntu-minimal depends on python3; however:
  Package python3 is not configured yet.
 ubuntu-minimal depends on ubuntu-advantage-tools; however:
  Package ubuntu-advantage-tools is not configured yet.

dpkg: error processing package ubuntu-minimal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-yaml:
 python3-yaml depends on python3 (<< 3.9); however:
  Package python3 is not configured yet.
 python3-yaml depends on python3 (>= 3.8~); however:
  Package python3 is not configured yet.
 python3-yaml depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-yaml (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3
 netplan.io
 python3-six
 python3-gi
 python3-netifaces
 ubuntu-advantage-tools
 lsb-release
 python3-nacl
 python3-cffi-backend
 python3-pkg-resources
 networkd-dispatcher
 python3-dbus
 python3-pymacaroons
 ubuntu-minimal
 python3-yaml
E: Sub-process /usr/bin/dpkg returned an error code (1)
linux-browser-installer: Error: 'apt install -y apt-transport-https curl' failed

Opera: speed dial doesn't show up.

I have a problem with Opera, the speed dial (aka start page) doesn't work except the weather thing.

I have theses errors but I don't know how to fix, and I've installed libnvidia-dl-VERSION which solved some issue of it closing from time to time:

No matching processes belonging to you were found W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support. [15731:108296:1223/200606.405397:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108296:1223/200606.405737:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108291:1223/200606.408675:ERROR:file_path_watcher_inotify.cc(333)] inotify_init() failed: Function not implemented (38) [15731:108290:1223/200606.408701:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15731:108295:1223/200606.409667:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108295:1223/200606.410087:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108294:1223/200606.426765:ERROR:udev_watcher.cc(52)] Failed to initialize a udev monitor. [15731:108303:1223/200606.427895:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108303:1223/200606.428463:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108303:1223/200606.428913:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108303:1223/200606.445446:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108303:1223/200606.447040:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15736:108308:1223/200606.534005:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15736:108310:1223/200606.533955:ERROR:file_path_watcher_inotify.cc(333)] inotify_init() failed: Function not implemented (38) [15735:15735:1223/200607.118364:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [15735:15735:1223/200607.118464:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [15735:15735:1223/200607.118488:ERROR:gl_display.cc(920)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [15735:15735:1223/200607.124763:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [15735:15735:1223/200607.124813:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [15735:15735:1223/200607.124833:ERROR:gl_display.cc(920)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [15735:15735:1223/200607.124855:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed. [15735:15735:1223/200607.127016:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [15731:15731:1223/200607.240339:ERROR:url_pattern_set.cc(287)] Invalid url pattern: chrome://startpage/ [15731:15731:1223/200607.240542:ERROR:url_pattern_set.cc(287)] Invalid url pattern: chrome://startpage/ [15731:15731:1223/200607.240610:ERROR:url_pattern_set.cc(287)] Invalid url pattern: chrome://startpage/ [15731:108320:1223/200607.246356:ERROR:partner_bookmarks_utils.cc(263)] Unable to read partner speeddials file. [15731:108295:1223/200607.417205:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15731:108295:1223/200607.428781:ERROR:bus.cc(399)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [15736:108312:1223/200608.058861:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15787:15787:1223/200608.370430:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [15787:15787:1223/200608.370619:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [15787:15787:1223/200608.370948:ERROR:gl_display.cc(920)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [15787:15787:1223/200608.379323:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [15787:15787:1223/200608.379442:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [15787:15787:1223/200608.379488:ERROR:gl_display.cc(920)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [15787:15787:1223/200608.379533:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed. [15787:15787:1223/200608.384146:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [15837:15837:1223/200608.526017:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. [15782:108351:1223/200608.539996:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [15784:108375:1223/200608.540452:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [15785:108377:1223/200608.540552:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [15731:15731:1223/200608.644482:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.644669:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.644980:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.645103:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.689773:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.690249:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.691284:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.691617:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.692460:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.694739:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.695008:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.695174:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://enhanced-address-bar/ (0) [15731:15731:1223/200608.816742:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.816967:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.817843:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.817954:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.818089:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.818212:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.819875:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.820045:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.826296:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.826752:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.826974:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.827131:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200608.892092:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:15731:1223/200609.453105:ERROR:CONSOLE(0)] "Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.", source: chrome://startpage/ (0) [15731:108320:1223/200610.602720:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15731:108298:1223/200610.604520:ERROR:udev_watcher.cc(52)] Failed to initialize a udev monitor. [15731:15731:1223/200610.754008:ERROR:named_platform_channel_posix.cc(142)] connect /home/rigoletto/.config/opera/oauc_pipe_r: Connection refused (111) [15731:108291:1223/200616.608800:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15731:108291:1223/200628.619216:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15731:108320:1223/200652.644587:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15731:108291:1223/200740.649641:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97) [15736:108308:1223/200807.850503:ERROR:address_tracker_linux.cc(189)] Could not create NETLINK socket: Address family not supported by protocol (97)

Thank you.

Won’t run on current

At one point I had it working fine but now can’t get any at all to run I even tried destroy thenchroot and cleaning the system and fresh install the cheroot etc and nothing still I keep getting an error about
Gpu_process_host exit code 134 failed to connect to bus did not receive a reply back before that and failed to initialize Dev monitor or to set no new privs failed address tracker could not create net link socket and prior to that could not connect to bus could not parse server address and to start the errors off unknown key font-name failed to connect to bus the message bus security policy blocked the reply.

Any ideas anyone..

Cannot start Microsoft Edge

Can anyone give me a hint how to start MS Edge Browser in the chroot environment?
Installation via

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
microsoft.gpg
apt update
apt install microsoft-edge-dev

was no problem.
But I can't start Edge.
I think I need a wrapper like the one for the Brave browser.

Trying to start /compat/ubuntu/opt/microsoft/msedge-dev/microsoft-edge-dev
results in: sh: ./microsoft-edge-dev: not found

Has anyone managed to run Edge?

No sound on Google Chrome

Google Chrome is installed and runs fine, pulseaudio is also installed on the host but there is no sound coming from Chrome. I'm on Wayland with sway.

Pixelation and screen tearing on Netflix

I have noticed video quality is noticeably worse on FreeBSD 12 with the NVIDIA drivers than Linux with the same setup, also extreme screen tearing that I can't really capture even with nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" that removes this tearing on native FreeBSD programs at least source

out2

Amazon Prime Music: not playing

I used to be able to stream music in Chrome. Now only podcasts seem to work. Is that likely a DRM plugin issue or maybe some Amazon update?

The progress bar is stuck at 0:00 and no sound.

I am able to use Youtube, Prime Video and other streaming services as usual (both sound and video work).

Ubuntu 22.10 Support

Hi,

I've tried to install Ubuntu's "kinetic" version (22.10 technically) and I'd receive an error as shown below:

image

image

Is it possible to force script to install newer Ubuntu version ?

Failed to start ubuntu service

Is it a known issue?

> sudo ./linux-browser-installer install brave
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
 * rc-service: service `ubuntu' does not exist
linux-browser-installer: Error: Failed to start ubuntu service
> ll /compat/
total 2
drwxr-xr-x  5 root  wheel     5B May 11 23:55 linux
drwxr-xr-x  6 root  wheel     6B Jul  3 22:39 ubuntu

Can't install to linux-c7

In GhostBSD the 'default' Linux used is C7. When you install Linux programs via pkg they use that version of Linux.
This installer uses the UBUNTU Linux and the documentation seems to imply that you can change that but looking at the code that does not appear to be true.
I looked at the code to see if I could change it myself but I'm afraid I don't quite understand it enough.
I would really like to be able to run Vivaldi & Beyond Compare.

Run different Linux jails at the same time

The README says

You can't run different Linux jails at the same time.

Why is this?

Couldn't one set up a different compat.linux.emul_path for each, and run them in parallel?

My objective would be to make a standalone directory (simplified .app bundle actually) that contains the compat.linux.emul_path and everything needed to run the browser.

Opera support

Hi guys! Thanks for a nice tool!

For peole living in totalitarian countries like me, where half of the internet is just broken, it would be nice to provide Opera browser. It has OperaVPN built in. I approve that it works absolutely fine in Linuxulator, with OperaVPN, sound and video.
I've added it manually and can provide some configuration:

# cat /usr/local/share/applications/linux-opera.desktop 
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Opera Web Browser (Linux)
Comment=Access the Internet
Icon=/compat/ubuntu/usr/share/icons/hicolor/128x128/apps/opera.png
Exec=/usr/local/bin/linux-opera
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
StartupNotify=true
# cat /usr/local/bin/linux-opera
#!/bin/sh

chroot_path=/compat/ubuntu

get_pa_sock_path()
{
        PA_SOCK_PATH=$(sockstat | awk -v me=$(whoami) -F'[ \t]+' '
                $1 == me && $2 == "pulseaudio" && $6 ~ /native/ {
                        print $6;
                        exit 0
                }'
        )
}

get_pa_sock_path
if [ ! -S "$PA_SOCK_PATH" ]; then
        while killall pulseaudio; do
                sleep 0.5
        done
        pulseaudio --start
        get_pa_sock_path
fi
[ -S "$PA_SOCK_PATH" ] && export PULSE_SERVER=unix:$PA_SOCK_PATH
${chroot_path}/bin/opera
/compat/ubuntu # cat bin/opera 
#!/compat/ubuntu/bin/bash
#
# brave wrapper script from patovm04:
# https://forums.freebsd.org/threads/linuxulator-how-to-run-google-chrome-linux-binary-on-freebsd.77559/
#

export OPERA_PATH="/usr/lib/x86_64-linux-gnu/opera/opera"
export CHROME_WRAPPER="`readlink -f "$0"`"
export LD_LIBRARY_PATH=/usr/local/steam-utils/lib64/fakeudev
export LD_PRELOAD=/usr/local/steam-utils/lib64/webfix/webfix.so
export LIBGL_DRI3_DISABLE=1

exec -a "$0" "$OPERA_PATH" --no-sandbox --no-zygote --test-type --v=0 "$@"
# cat /etc/apt/sources.list.d/opera-stable.list
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

You may reuse it if you are interested to move further.

Certificate verification failed: The certificate is NOT trusted.

Hi,

I just wanted to upgrade the 'chroot' and got this issue.

laptop % doas ./linux-browser-installer chroot upgrade
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
Err:5 https://dl.google.com/linux/chrome/deb stable Release
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 142.251.36.46 443]
Reading package lists... Done                  
W: https://dl.google.com/linux/chrome/deb/dists/stable/InRelease: No system certificates available. Try installing ca-certificates.
W: https://dl.google.com/linux/chrome/deb/dists/stable/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'https://dl.google.com/linux/chrome/deb stable Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
laptop % 

My fix that solved the problem:

  1. Go here and copy link for the most up to date package:
  1. Issue these commands:
laptop % doas chroot /compat/ubuntu /bin/bash
chroot # wget --no-check-certificate http://security.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20230311ubuntu0.23.04.1_all.deb
chroot # dpkg -r --force-depends ca-certificates
chroot # dpkg -i ca-certificates_20230311ubuntu0.23.04.1_all.deb 
chroot # apt update
  1. Run upgrade as usual.
laptop % doas ./linux-browser-installer chroot upgrade

Not sure if it a bug - but reporting here the solution that may help someone.

Regards,
vermaden

libtinfo.so.6: ELF file OS ABI invalid

I tried upgrading chrome - ./linux-browser-installer chroot upgrade, and got an error

ELF interpreter /lib64/ld-linux-x86-64.so.2 not found

I thought to reinstall:

./linux-browser-installer deinstall chrome
./linux-browser-installer chroot delete
./linux-browser-installer chroot create
./linux-browser-installer install chrome

And now I get a new error:

linux-chrome                   
/compat/ubuntu/bin/bash: error while loading shared libraries: /usr/local/lib/libtinfo.so.6: ELF file OS ABI invalid

brave-browser not found issue-fixed by installing ca-certificates

I ran the install brave script and everything went fine until it was time for the brave-browser package to install. Error message was that brave-browser was not found or something close to that. I then went to the brave website and tried the steps there after chrooting to /compat/ubuntu. Same problem. However I saw in the terminal there was a message that said to install ca-certificates. I did that and everything worked but no menu entry. I then ran the script again but there was a message saying brave-browser is already installed.
So I ran the uninstall script for brave which worked. Then I ran the brave install script and everything is fine.
Perhaps the install script needs modifying to include the ca-certificates package?

BTW I'm using FreeBSD14.0-RC4.

Thanks very much your hard work and the brave script! Much appreciated

libGL errors

Thanks for this very useful piece of software 👍

Running e.g., linux-chrome on FreeBSD 12.2 with a Nvidia GPU takes up to 100% CPU usage.

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
 2611 user          9  40   10    41G   133M futex    0   0:52 105.42% CompositorTileW

Some other applications (e.g., the Olive 2 AppImage) fail to run entirely with the message

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

On the command line, Chrome floods the terminal with

[ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[ERROR:gpu_channel_manager.cc(746)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[ERROR:shared_image_stub.cc(460)] SharedImageStub: unable to create context

repeated all the time.

I suspect something is wrong resulting in libGL being software rendered rather than hardware rendered. Can this be fixed?

Vivaldi crashes at start.

Vivaldi on start gives white window, console output show that repeating errors:

[11395:101146:0414/192947.684458:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[11395:101146:0414/192947.684474:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[11395:101146:0414/192947.684794:ERROR:gpu_channel_manager.cc(751)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.

ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2

I've been experiencing this issue. If I upgrade the chroot files, wherever using linux-browser-installer or apt all browsers fail with that ELF error.

Some time ago, the first time I used this script I had this problem too, I managed to fix it and I could upgrade the chroot without breaking anything, but now I have fresh setup and no idea of what I did to fix it.

Is anyone also experiencing this issue?

Thank you.

Spotify crashes on load with Chrome

I installed the linux-chrome browser. It crashes the page every few minutes and asks you to reload. Spotify crashes as soon as I load the page. Other pages work a few minutes before crashing too. Tried reinstalling chrome, tried deleting the google-chrome directory from ~./config, nothing works, pages still crash.

debootstrap: Permission denied

Hello. Here is the error message I get if I try installing a Brave (or any other) browser on a 13.1-RELEASE:

root@osa:/home/samob/Downloads/linux-browser-installer-main # ./linux-browser-installer install brave
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
compat.linux.emul_path: /compat/ubuntu -> /compat/ubuntu
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following packages will be fetched:

New packages to be FETCHED:
	linux-steam-utils: 20220115 (99 KiB: 100.00% of the 99 KiB to download)

Number of packages to be fetched: 1

99 KiB to be downloaded.
Fetching linux-steam-utils-20220115.pkg: 100%   99 KiB 101.2kB/s    00:01    
tar: Removing leading '/' from member names
./linux-browser-installer: debootstrap: Permission denied
linux-browser-installer: Error: debootstrap failed

Same thing happens if I run with "bootstrap" option:

root@osa:/home/samob/Downloads/linux-browser-installer-main # ./linux-browser-installer chroot create 
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
compat.linux.emul_path: /compat/ubuntu -> /compat/ubuntu
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.

No packages are required to be fetched.
Integrity check was successful.
tar: Removing leading '/' from member names
./linux-browser-installer: debootstrap: Permission denied
linux-browser-installer: Error: debootstrap failed

Installer doesn't handle non-existing directories correctly

Hi,

I was testing this out on a fresh install and saw that if /user/local/share/applications doesn't exist yet, the installer will name the desktop file as "applications", instead of creating that directory and putting it inside. See the attached screenshot:

image

Does Not Work on 13.2-RELEASE

Hi,

the DRM videos stopped working after upgrade from FreeBSD 13.1-RELEASE to 13.2-RELEASE.

I am not sure if this is related to Your solution or changes in FreeBSD project.

I can share configs/settings/etc. - just let me know what to send to help.

Regards,
vermaden

"gpg: waitpid failed in gnupg_spawn_process_detached: Interrupted system" on 14-CURRENT

When I attempt to install Vivaldi (or Brave) via the chroot jail on 14-CURRENT, I get an error like this:

root@fatbox:~/linux-browser-installer # ./linux-browser-installer install vivaldi
/compat/ubuntu/linux_signing_key.pub                  3175  B   88 MBps    00s
gpg: waitpid failed in gnupg_spawn_process_detached: Interrupted system calllinux-browser-installer: Error: 'apt-key add linux_signing_key.pub' failed
root@fatbox:~/linux-browser-installer #

/compat/linux/bin/edge: line 9: /usr/bin/microsoft-edge-dev: No such file or directory

Hello.

I'm trying to run the edge browser following the tutorial : https://forums.freebsd.org/threads/...-google-chrome-linux-binary-on-freebsd.77559/

so,I've folllowed that tutorial,with some minor changes. For example,I've created the custom edge launcher script called /compat/linux/bin/edge and I made it executable:

#!/compat/linux/bin/bash
export EDGE_PATH="/usr/bin/microsoft-edge-dev"
export EDGE_WRAPPER="`readlink -f "$0"`"
export LD_LIBRARY_PATH=/usr/local/steam-utils/lib64/fakeudev
export LD_PRELOAD=/usr/local/steam-utils/lib64/webfix/webfix.so
export LIBGL_DRI3_DISABLE=1
exec -a "$0" "$EDGE_PATH" --no-sandbox --no-zygote --test-type --v=0 "$@"

and I've created this desktop file to launch edge as any other app:

[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Edge
Comment=Edge web browser
Icon=edge
Exec=/compat/linux/bin/edge
Categories=Application;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
StartupNotify=true

unfortunately when I execute it,I get the following error message :

@marietto:/home/marietto/Desktop/Browsers # /compat/linux/bin/edge
/compat/linux/bin/edge: line 9: /usr/bin/microsoft-edge-dev: No such file or directory

I don't know why,since the microsoft-edge-dev file is located on /compat/linux/usr/bin :

@marietto:/home/marietto/Desktop/Browsers # find /compat/linux/usr/bin -name microsoft-edge-dev
/compat/linux/usr/bin/microsoft-edge-dev

and the wrapper called edge is located on /compat/linux/bin

marietto:/home/marietto/Desktop/Browsers # find /compat/linux/bin -name edge
/compat/linux/bin/edge

running the script when /compat/ubuntu is already installed : curl & gnupg

In this case, you need to install curl first in the /compat/ubuntu chroot:

E: Unable to locate package curl

Same thing for gnupg:

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

With this two packages, linux-browser-installer installs brave, but when you run it with /usr/local/bin/linux-brave, there is another error :

ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2

If I let the script reinstall the ubuntu system :

doas ./linux-browser-installer chroot delete
doas ./linux-browser-installer chroot create
doas ./linux-browser-installer install brave

it runs fine.

I guess the script doesn't check all the needed packages when it sees that /compat/ubuntu is alreay installed ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.