[GH-ISSUE #1826] Youtube video won't start with google-chrome if firejailed #1242

Closed
opened 2026-05-05 07:42:59 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @ghost on GitHub (Mar 22, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1826

Hi,

I can not run youtube videos under google-chrome whereas it works perfectly if I start google-chrome out of jail.

Firejail version : firejail version 0.9.38.10
Distribution : ubuntu 16.04 LTS
Google-chrome version : Google Chrome 65.0.3325.162

Originally created by @ghost on GitHub (Mar 22, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1826 Hi, I can not run youtube videos under google-chrome whereas it works perfectly if I start google-chrome out of jail. Firejail version : firejail version 0.9.38.10 Distribution : ubuntu 16.04 LTS Google-chrome version : Google Chrome 65.0.3325.162
gitea-mirror 2026-05-05 07:42:59 -06:00
Author
Owner

@Fred-Barclay commented on GitHub (Mar 22, 2018):

@flurrylol Are you using the Nvidia proprietary drivers? If so, try running firejail --noroot google-chrome-stable and see if that works.

Reference: see #1753 #1755.

<!-- gh-comment-id:375368636 --> @Fred-Barclay commented on GitHub (Mar 22, 2018): @flurrylol Are you using the Nvidia proprietary drivers? If so, try running `firejail --noroot google-chrome-stable` and see if that works. Reference: see #1753 #1755.
Author
Owner

@ghost commented on GitHub (Mar 22, 2018):

Yes I am using my Nvidia drivers.
Launching firejail --noroot google-chrome or firejail --noroot google-chrome gives this output :

ERROR:address_tracker_linux.cc(174)] Could not bind NETLINK socket: Address already in use (98) [5:43:0322/173051.464055:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process. Created new window in existing browser session.

But youtube videos indeed work ! Thank you :-)

<!-- gh-comment-id:375371930 --> @ghost commented on GitHub (Mar 22, 2018): Yes I am using my Nvidia drivers. Launching `firejail --noroot google-chrome` or `firejail --noroot google-chrome` gives this output : `ERROR:address_tracker_linux.cc(174)] Could not bind NETLINK socket: Address already in use (98) [5:43:0322/173051.464055:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process. Created new window in existing browser session.` But youtube videos indeed work ! Thank you :-)
Author
Owner

@Fred-Barclay commented on GitHub (Mar 22, 2018):

That's great! You can create a local copy of the chrome profile with noroot ignored so that you don't have to manually start it with --noroot every time.
Make .config/firejail/google-chrome-stable.profile with these lines:

ignore noroot
include /etc/firejail/google-chrome-stable.profile

Alternatively, if you have similar problems for lots of profiles, you may want to disable noroot globally:
sudo sh -c "echo 'ignore noroot' >> /etc/firejail/globals.local"

<!-- gh-comment-id:375395112 --> @Fred-Barclay commented on GitHub (Mar 22, 2018): That's great! You can create a local copy of the chrome profile with `noroot` ignored so that you don't have to manually start it with `--noroot` every time. Make .config/firejail/google-chrome-stable.profile with these lines: ``` ignore noroot include /etc/firejail/google-chrome-stable.profile ``` Alternatively, if you have similar problems for lots of profiles, you may want to disable `noroot` globally: `sudo sh -c "echo 'ignore noroot' >> /etc/firejail/globals.local"`
Author
Owner

@Vincent43 commented on GitHub (Mar 22, 2018):

I think 0.9.38.10 doesn't support /etc/firejail/globals.local 😀

<!-- gh-comment-id:375449884 --> @Vincent43 commented on GitHub (Mar 22, 2018): I think 0.9.38.10 doesn't support `/etc/firejail/globals.local` :grinning:
Author
Owner

@Fred-Barclay commented on GitHub (Mar 23, 2018):

@Vincent43 You're right! Thanks!

@flurrylol if you need to use the second option in my last post, you'll have to upgrade to the most recent firejail release.

<!-- gh-comment-id:375504908 --> @Fred-Barclay commented on GitHub (Mar 23, 2018): @Vincent43 You're right! Thanks! @flurrylol if you need to use the second option in my last post, you'll have to upgrade to the most recent firejail release.
Author
Owner

@ghost commented on GitHub (Mar 23, 2018):

Well,, to be honest, I'm a bit lazy... so I already had an alias and I just added the argument (noroot) like this : alias fgc='nohup firejail --noroot google-chrome >/dev/null 2>&1 &'

<!-- gh-comment-id:375509893 --> @ghost commented on GitHub (Mar 23, 2018): Well,, to be honest, I'm a bit lazy... so I already had an alias and I just added the argument (noroot) like this : `alias fgc='nohup firejail --noroot google-chrome >/dev/null 2>&1 &'`
Author
Owner

@ghost commented on GitHub (Apr 12, 2018):

@Fred-Barclay :
Hi, I was wondering about

upgrade to the most recent firejail release

If I clone the git-repo and follow installation steps of the README.md, everything works fine except that my version is still 0.9.38 (firejail --version).
I'm probably missing something...but what ?

EDIT : I had a conflict between the version installed from package, and the git version. This is now fixed !

<!-- gh-comment-id:380743394 --> @ghost commented on GitHub (Apr 12, 2018): @Fred-Barclay : Hi, I was wondering about > upgrade to the most recent firejail release If I clone the git-repo and follow installation steps of the README.md, everything works fine except that my version is still 0.9.38 (`firejail --version`). I'm probably missing something...but what ? EDIT : I had a conflict between the version installed from package, and the git version. This is now fixed !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1242
No description provided.