<div>That looked like a good theory but when I checked the files in /etc/security/console.perms.d/ I find no line with &lt;sound&gt; at all (and no line with /dev/snd either).</div>
<div>Should I add some lines manually or is the problem somewhere else?<br>/Bengt</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">2008/1/18, Fernando Lopez-Lezcano &lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, 2008-01-16 at 16:06 -0500, Martin Harriss wrote:<br>&gt; Bengt MÃ¥nsson wrote:<br>&gt; &gt; Hi<br>&gt; &gt; I prefer to use VNC to connect remotely to my linux audio box via LAN
<br>&gt; &gt; After each reboot I cannot see the soundcard in qjackctrl via VNC<br>&gt; &gt; I have to login on a locally attached screen and start qjackctrl<br>&gt; &gt; Then I can logout from that screen and everything works fine again via
<br>&gt; &gt; VNC (until next reboot)<br>&gt; &gt; I would like to remove that old screen and always just use my laptop as<br>&gt; &gt; display (which is very good)<br>&gt; &gt; Please advise<br>&gt; &gt; /Bengt<br>&gt; &gt;
<br>&gt;<br>&gt; This is probably a permissions problem.&nbsp;&nbsp;When you log in at the console<br>&gt; the system arranges for the audio devices (amongst other things) to be<br>&gt; owned by the user logging in.&nbsp;&nbsp;When you VNC in this probably doesn&#39;t happen.
<br><br>That&#39;s correct. You would have to make your audio devices accessible to<br>all users, not only to the person physically logged into the machine.<br>You can do that by changing this file:<br><br>/etc/security/console.perms.d/50-
default.perms<br><br>Change this line:<br>&lt;console&gt;&nbsp;&nbsp;0600 &lt;sound&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0600 root<br>to this:<br>&lt;console&gt;&nbsp;&nbsp;0600 &lt;sound&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0666 root<br><br>this will make the sound devices world readable and writable (ie:
<br>anybody logged in will have access).<br><br>-- Fernando<br><br><br></blockquote></div><br>