On Sun, 23.08.15 21:58, Kai Hendry ([email protected]) wrote:

> Hi there,
> 
> I've managed to get Firefox running like so:
> 
> sudo systemd-nspawn --setenv=DISPLAY=:0 \
>                --setenv=XAUTHORITY=~/.Xauthority \
>                --bind-ro=$HOME/.Xauthority:/root/.Xauthority \
>                -D ~/containers/firefox \
>                firefox

I'd be careful with things like this... You invoke firefox as PID 1
then. On UNIX PID 1 is special, it needs to reap foreign children and
needs to handle signals differently, thus taking arbitrary processes
and running them like this is problematic.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to