jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Fluxbox


From: Olivier Sessink
Subject: Re: [Jailkit-users] Fluxbox
Date: Fri, 8 Apr 2022 23:15:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

I'm not sure if it is possible to run a complete Xorg inside a jail. Never tried though. It runs as root, so for Xorg itself it can escape the chroot jail anyway. There will be some binaries (perhaps xinit itself?) that have the setuid root bit set. That is removed by jk_init and jk_cp because of the security implications. So if you really know what you are doing, you can use a regular cp to copy those binaries. That possibly solves your permission denied problem.

Olivier



On 07-04-2022 23:55, Eric Ratliff wrote:
Hi, I’d like to use jailkit to run Fluxbox. I’ve tried copying X, xorg, xinit, 
startfluxbox, etc. over using jk_init and even manually using ldd to find 
dependencies. But always got a permission denied error in the end when I ran 
strace on xinit from within the startx script.

Can anyone point me in the right direction?

Thanks,
Eric


_______________________________________________
Jailkit-users mailing list
Jailkit-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/jailkit-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]