<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - systemd-nspawn: Spawning a shell in a container does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90104#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - systemd-nspawn: Spawning a shell in a container does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90104">bug 90104</a>
from <span class="vcard"><a class="email" href="mailto:registo.mailling@gmail.com" title="Mauro Santos <registo.mailling@gmail.com>"> <span class="fn">Mauro Santos</span></a>
</span></b>
<pre>I used to launch the container with a service file and then use nsenter to
enter the container and run more programs without needing to keep any terminals
open, something like this:
- start container
- enter container as user1 and/or user2, run vncserver for the accounts and
leave it running without any terminal windows open
- use vncviewer on the host to run graphical programs inside the container as
each user.
Before I had no need to actually boot the container, the one time I tried to
boot the container (centos5) it failed. Besides it takes a lot longer to boot
the container than to launch just a shell.
The other advantage I used to have with this, is that if the host's Xorg
crashed (or I needed to relogin for some reason) then everything inside the
container would not be affected.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>