[GH-ISSUE #1311] Thunar won't start with basic command 'firejail thunar' (actually, it starts, but not sandboxed) #894

Closed
opened 2026-05-05 07:04:39 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ghost on GitHub (May 25, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1311

Originally created by @ghost on GitHub (May 25, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1311
gitea-mirror 2026-05-05 07:04:39 -06:00
Author
Owner

@netblue30 commented on GitHub (May 26, 2017):

Thunar is started by your desktop manager when you log in. When you try to start a second instance of Thunar, the instance already running takes over, and your second instance shuts down. All you have to do is to make sure the first instance starts in a sandbox.

Run "sudo ln -s /usr/bin/firejail /usr/local/bin/thunar" in a terminal, logout and login back for the change to take effect. Than run "firejail --tree" to make sure Thunar is sandboxed. On newer systems (Ubuntu 17.04, Arch, Debian testing) this is not necessary. On older systems (Ubuntu 16.04, Debian stable) set the symbolic link as above. What distro are you running?

<!-- gh-comment-id:304279891 --> @netblue30 commented on GitHub (May 26, 2017): Thunar is started by your desktop manager when you log in. When you try to start a second instance of Thunar, the instance already running takes over, and your second instance shuts down. All you have to do is to make sure the first instance starts in a sandbox. Run "sudo ln -s /usr/bin/firejail /usr/local/bin/thunar" in a terminal, logout and login back for the change to take effect. Than run "firejail --tree" to make sure Thunar is sandboxed. On newer systems (Ubuntu 17.04, Arch, Debian testing) this is not necessary. On older systems (Ubuntu 16.04, Debian stable) set the symbolic link as above. What distro are you running?
Author
Owner

@netblue30 commented on GitHub (May 30, 2017):

Like you said, Thunar is started by desktop manager after login: task manager shows the process Thunar --daemon.

You need the following symlink:

$ sudo ln -s /usr/local/bin/firejail /usr/local/bin/Thunar

Some distros use thunar, other distros use Thunar as the executable.

<!-- gh-comment-id:304855792 --> @netblue30 commented on GitHub (May 30, 2017): > Like you said, Thunar is started by desktop manager after login: task manager shows the process Thunar --daemon. You need the following symlink: ````` $ sudo ln -s /usr/local/bin/firejail /usr/local/bin/Thunar ````` Some distros use thunar, other distros use Thunar as the executable.
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#894
No description provided.