-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the correct way to pass /tmp/.X11-unix into a chroot? #2711
Comments
Setting an environment variable |
I'm not sure how to use it
|
You need to create an empty |
Thanks, it works now. Mby the FIREJAIL_X11 tip should be added to https://firejail.wordpress.com/documentation-2/x11-guide/ ? |
To be honest, In the moment Firejail doesn't help too much in setting up the chroot, but this also means it will not get in your way too much. I think what you described in the original post is "the correct way" actually. |
KK, got it. |
A last note: Don't set |
@smitsohu What is wrong with FIREJAIL_X11=yes? |
@dandelionred FIREJAIL_X11=yes is used internally to indicate that an Did I already mention it is dirty? 😄 |
I debootstrapped ubuntu 19.04 into /nas/chroot/disco and installed smplayer inside.
Running this
I get this
As a dirty fix I set up such bind
and chrooted smplayer can start now.
Is there some native to firejail way to pass /tmp/.X11-unix into a chroot?
Btw I run xorg with
-nolisten local
so there is no abstract socket. Hence /tmp/.X11-unix is the only way to X.The text was updated successfully, but these errors were encountered: