Skip to content

cannot open x11 apps with --net=none (/tmp setup issue) #6081

Closed Answered by haarp
haarp asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, after trying, searching, reading manpages and looking at issues (#3568 and #2711 in particular), I finally figured it out.

My system mounts tmpfs on top of /tmp/ during the boot process, but after X starts. 🤦 So firejail cannot hand /tmp/.X11-unix/X0 over to the jail. The fix is to mount /tmp/ earlier in the boot process.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kmk3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
notabug The behavior is as intended or the issue was caused by user error or by an old version
1 participant