<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Sadly the daemon refuses to start.  When started from console without the log-level=0, the daemon seems to start, but I still can&#39;t get any sound out of the box.<br>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Eric Viseur</div></div>
<br><br><div class="gmail_quote">2013/7/9 Reindl Harald <span dir="ltr">&lt;<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
<br>
Am 09.07.2013 16:01, schrieb Eric Viseur:<br>
<div class="im">&gt; I&#39;m currently working on a virtualization project using F18.  One of the use cases is booting on the multi-user<br>
&gt; systemd target, then starting the Spice client in a very restricted X environment by simply issuing<br>
&gt;<br>
</div>&gt; /$ xinit /usr/bin/spicec (some parameters)/<br>
<div class="im">&gt;<br>
&gt; Everything works fine, except the sound : as I don&#39;t start a complete GDM in this boot scenario, PulseAudio isn&#39;t<br>
&gt; loaded.  I thus tried to start PulseAudio manually by issuing :<br>
&gt;<br>
</div>&gt; /$ start-pulseaudio-x11/<br>
&gt;<br>
&gt; before starting xinit with the same user, but it doesn&#39;t work either.  After testing a /$ pacat /dev/urandom/ from<br>
<div class="im">&gt; the host on Fedora Virtualization team&#39;s advice, it turns out PA doesn&#39;t work at all.<br>
&gt;<br>
</div>&gt; *So, here is my question : how to start PulseAudio correctly in such a setup (multi-user.target then xinit) ?*<br>
<div class="im">&gt;<br>
&gt; Please note that if I connect to the VM from a complete GDM in the graphical systemd target, everything works fine.<br>
&gt;<br>
&gt; Thank you for your attention!<br>
<br>
</div>system wide instance is your friend<br>
<br>
[harry@rh:~]$ cat /etc/systemd/system/pulsed.service<br>
[Unit]<br>
Description=Pulseaudio Daemon<br>
After=rtkit-daemon.service udev.service dbus.service<br>
<br>
[Service]<br>
Type=simple<br>
ExecStart=-/usr/bin/pulseaudio --daemonize=false --system=true --log-level=0 --log-target=stderr<br>
--disallow-module-loading=true --disallow-exit=true --exit-idle-time=0 --disable-shm=true --no-cpu-limit=false<br>
--use-pid-file=false --resample-method=src-sinc-best-quality<br>
Restart=always<br>
RestartSec=30<br>
TimeoutSec=15<br>
Nice=-10<br>
CapabilityBoundingSet=~CAP_SYS_PTRACE<br>
InaccessibleDirectories=/boot<br>
InaccessibleDirectories=/root<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
<br>
</blockquote></div><br></div></div>