chroot? like, I'm chrooted into foo distro, and I start chromium from there, how can I do that?
Your guest user needs to have access to your host X socket. You can find it in /tmp on host and mount it into chroot. You will also need to set and export variable called DISPLAY inside chroot to the same value as it is on host. Finally, you *may* need access to host's Xauthority file (its path is in the XAUTHORITY variable) and maybe set the variable inside chroot as well.
btw consider using containers like podman for that.
Take a look at bwrap instead
Обсуждают сегодня