Can't launch Brave browser on ubuntu 17.10


#1

Hello,
I installed Brave browser on ubuntu 17.10 through the ubuntu software center but unfortunatly it doesn’t start. I removed it then installed it back using the snapd and this time it also failed to start.
could anybody help me please ?

regards
ky213


#2

I could not launch Brave on Ubuntu 17.10 when I installed it through snap either, but I was able to launch when I reinstalled it using the instructions:
https://github.com/brave/browser-laptop/blob/master/docs/linuxInstall.md#debian-jessie-and-ubuntu-artful-zesty-yakkety-xenial-and-trusty-amd64

I hope it helps you.


#3

Hi dude thank your help but it didn’t work


#4

Is there an error display in your terminal.


#5

yes,here it is :
Invalid MIT-MAGIC-COOKIE-1 key
(brave:10473): Gtk-WARNING **: cannot open display: :0


#6

I have this issue as well. No errors. It never loads.


#7

Same issue for me on Ubuntu 17.10. The snap package v0.20.30dev does not show any output, not on the command line, not in the GUI. Installing the deb works fine.

Here is some debugging output if that helps:

$ SNAPD_DEBUG=1 snap run brave
2018/02/06 23:08:58.575762 cmd.go:212: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
DEBUG: security tag: snap.brave.brave
DEBUG: executable:   /usr/lib/snapd/snap-exec
DEBUG: confinement:  non-classic
DEBUG: base snap:    core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 0, sgid: 0
DEBUG: apparmor label on snap-confine is: /snap/core/3887/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: checking if the current process shares mount namespace with the init process
DEBUG: re-associating is not required
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope (global))
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: creating namespace group directory /run/snapd/ns
DEBUG: namespace group directory does not require intialization
DEBUG: releasing lock (scope: (global))
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/brave.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope brave)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: brave
DEBUG: opening namespace group directory /run/snapd/ns
DEBUG: found base snap filesystem device 7:2
DEBUG: attempting to re-associate the mount namespace with the namespace group brave
DEBUG: successfully re-associated the mount namespace with the namespace group brave
DEBUG: found root filesystem inside the mount namespace 7:2
DEBUG: releasing resources associated with namespace group brave
DEBUG: moved process 5908 to freezer cgroup hierarchy for snap brave
DEBUG: releasing lock (scope: brave)
DEBUG: resetting PATH to values in sync with core snap
DEBUG: snappy_udev_init
DEBUG: setup_devices_cgroup
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/tasks 5908
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/devices.deny a
DEBUG: run_snappy_app_dev_add: /sys/class/mem/null snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/null 1:3
DEBUG: run_snappy_app_dev_add: /sys/class/mem/full snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/full 1:7
DEBUG: run_snappy_app_dev_add: /sys/class/mem/zero snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/zero 1:5
DEBUG: run_snappy_app_dev_add: /sys/class/mem/random snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/random 1:8
DEBUG: run_snappy_app_dev_add: /sys/class/mem/urandom snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/urandom 1:9
DEBUG: run_snappy_app_dev_add: /sys/class/tty/tty snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/tty/tty 5:0
DEBUG: run_snappy_app_dev_add: /sys/class/tty/console snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/tty/console 5:1
DEBUG: run_snappy_app_dev_add: /sys/class/tty/ptmx snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/tty/ptmx 5:2
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 136:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 137:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 138:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 139:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 140:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 141:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 142:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 143:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/uhid 10:239
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0 226:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-2 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 0:0
DEBUG: creating user data directory: /home/account/snap/brave/16
DEBUG: requesting changing of apparmor profile on next exec to snap.brave.brave
DEBUG: loading bpf program for security tag snap.brave.brave
DEBUG: read 6104 bytes from /var/lib/snapd/seccomp/bpf//snap.brave.brave.bin
DEBUG: raising privileges to load seccomp profile
DEBUG: dropping privileges after loading seccomp profile
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...)
DEBUG:  argv[1] = brave

#8

Exactly, the same thing with me too.


#9

How did you find this debugging information? #LinuxNewbie


#10

I’m typing this in brave on lubuntu 17.10…(check to make sure you’ve updated since the re-spin of 17.10)
there was a website I found that gave instructions specific to me that I wish I could find again to post, including the addition of brave to ppa’s so that software updates look for new versions…

Now back to figuring out the recent freeze crashes and how to exclude certain websites from Do Not Track (More important - I want my Medium back!)


#11

I found this on the interwebs: SNAPD_DEBUG=1 snap run brave


#12

Brave will not start on 17.10 for me (segfaults, possible mem leak). The folllowing is the full debug output:

2018/03/27 09:21:55.899017 cmd.go:212: DEBUG: restarting into “/snap/core/current/usr/bin/snap”
DEBUG: security tag: snap.brave.brave
DEBUG: executable: /usr/lib/snapd/snap-exec
DEBUG: confinement: non-classic
DEBUG: base snap: core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 0, sgid: 0
DEBUG: apparmor label on snap-confine is: /snap/core/4206/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: checking if the current process shares mount namespace with the init process
DEBUG: re-associating is not required
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope (global))
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: creating namespace group directory /run/snapd/ns
DEBUG: namespace group directory does not require intialization
DEBUG: releasing lock (scope: (global))
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/brave.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope brave)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: brave
DEBUG: opening namespace group directory /run/snapd/ns
DEBUG: found base snap filesystem device 7:0
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: receiving information about the state of the mount namespace
DEBUG: ensuring that parent process is still alive
DEBUG: joining the namespace that we are about to probe
DEBUG: found root filesystem inside the mount namespace 7:0
DEBUG: sending information about the state of the mount namespace (keep)
DEBUG: support process for mount namespace inspection is about to finish
DEBUG: sanity timeout reset and disabled
DEBUG: the mount namespace is up-to-date and can be reused
DEBUG: attempting to re-associate the mount namespace with the namespace group brave
DEBUG: successfully re-associated the mount namespace with the namespace group brave
DEBUG: releasing resources associated with namespace group brave
DEBUG: moved process 2225 to freezer cgroup hierarchy for snap brave
DEBUG: releasing lock (scope: brave)
DEBUG: resetting PATH to values in sync with core snap
DEBUG: snappy_udev_init
DEBUG: setup_devices_cgroup
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/tasks 2225
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/devices.deny a
DEBUG: run_snappy_app_dev_add: /sys/class/mem/null snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/null 1:3
DEBUG: run_snappy_app_dev_add: /sys/class/mem/full snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/full 1:7
DEBUG: run_snappy_app_dev_add: /sys/class/mem/zero snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/zero 1:5
DEBUG: run_snappy_app_dev_add: /sys/class/mem/random snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/random 1:8
DEBUG: run_snappy_app_dev_add: /sys/class/mem/urandom snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/mem/urandom 1:9
DEBUG: run_snappy_app_dev_add: /sys/class/tty/tty snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/tty/tty 5:0
DEBUG: run_snappy_app_dev_add: /sys/class/tty/console snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/tty/console 5:1
DEBUG: run_snappy_app_dev_add: /sys/class/tty/ptmx snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/class/tty/ptmx 5:2
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 136:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 137:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 138:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 139:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 140:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 141:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 142:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/pts/slaves 143:*
DEBUG: running snappy-app-dev add snap_brave_brave /dev/uhid 10:239
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0 226:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 snap_brave_brave
DEBUG: running snappy-app-dev add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 0:0
DEBUG: creating user data directory: /home/torusnc/snap/brave/18
DEBUG: requesting changing of apparmor profile on next exec to snap.brave.brave
DEBUG: loading bpf program for security tag snap.brave.brave
DEBUG: read 5968 bytes from /var/lib/snapd/seccomp/bpf//snap.brave.brave.bin
DEBUG: raising privileges to load seccomp profile
DEBUG: dropping privileges after loading seccomp profile
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec…)
DEBUG: argv[1] = brave
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Crash reporting enabled
[2225:2225:0327/092158.359013:ERROR:CONSOLE(34)] “(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.”, source: chrome://brave/snap/brave/18/usr/lib/brave/resources/app.asar/app/extensions/brave/gen/app.entry.js (34)
[2225:2225:0327/092158.359361:ERROR:CONSOLE(34)] “(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.”, source: chrome://brave/snap/brave/18/usr/lib/brave/resources/app.asar/app/extensions/brave/gen/app.entry.js (34)
[2225:2225:0327/092158.509152:ERROR:browser_main_loop.cc(333)] Gdk: gdk_window_get_screen: assertion ‘GDK_IS_WINDOW (window)’ failed
[2225:2225:0327/092158.509184:ERROR:browser_main_loop.cc(333)] Gdk: gdk_screen_get_root_window: assertion ‘GDK_IS_SCREEN (screen)’ failed
Failed to generate minidump.Segmentation fault (core dumped)


#13

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.