<div>Hi<br>Dejavu<br>In fc8 the tip below worked well.<br>Now I have upgraded to fc10 and have the same problem again, but this time the tip doesn&#39;t work.<br>I can manually set permissions and make it work, but I have to do this after each reboot.<br>
Maybe I have forgotten something or else something has changed in the distro wrt permissions and remote login.<br>Please advise<br>/Bengt<br><br>ps for Fernando:</div>
<div>I notice my last mail went to you instead of the list. Sorry about that.<br></div>
<div class="gmail_quote">2008/1/21 Fernando Lopez-Lezcano <span dir="ltr">&lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Sun, 2008-01-20 at 23:44 +0100, Bengt Månsson wrote:<br>&gt; That looked like a good theory but when I checked the files<br>&gt; in /etc/security/console.perms.d/ I find no line with &lt;sound&gt; at all<br>
&gt; (and no line with /dev/snd either).<br>&gt; Should I add some lines manually or is the problem somewhere else?<br><br></div>That&#39;s the way permissions are controlled for devices like soundcards,<br>etc, that can/should only be accessible to the person sitting physically<br>
in front of the computer.<br><br>What version of Fedora are you running?<br>What files do you see there are what are their contents?<br><br>This is what I see in Fedora 7:<br><br>----<br>&lt;sound&gt;=/dev/dsp* /dev/audio* /dev/midi* \<br>
       /dev/mixer* /dev/sequencer* \<br>       /dev/sound/* /dev/beep \<br>       /dev/snd/* /dev/adsp*<br>----<br><br>----<br>
<div class="im">&lt;console&gt;  0600 &lt;sound&gt;      0600 root<br></div>----<br><font color="#888888"><br>-- Fernando<br></font>
<div>
<div></div>
<div class="h5"><br><br>&gt; 2008/1/18, Fernando Lopez-Lezcano &lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>&gt;:<br>&gt;         On Wed, 2008-01-16 at 16:06 -0500, Martin Harriss wrote:<br>&gt;         &gt; Bengt Månsson wrote:<br>
&gt;         &gt; &gt; Hi<br>&gt;         &gt; &gt; I prefer to use VNC to connect remotely to my linux audio<br>&gt;         box via LAN<br>&gt;         &gt; &gt; After each reboot I cannot see the soundcard in qjackctrl<br>
&gt;         via VNC<br>&gt;         &gt; &gt; I have to login on a locally attached screen and start<br>&gt;         qjackctrl<br>&gt;         &gt; &gt; Then I can logout from that screen and everything works<br>&gt;         fine again via<br>
&gt;         &gt; &gt; VNC (until next reboot)<br>&gt;         &gt; &gt; I would like to remove that old screen and always just use<br>&gt;         my laptop as<br>&gt;         &gt; &gt; display (which is very good)<br>&gt;         &gt; &gt; Please advise<br>
&gt;         &gt; &gt; /Bengt<br>&gt;         &gt; &gt;<br>&gt;         &gt;<br>&gt;         &gt; This is probably a permissions problem.  When you log in at<br>&gt;         the console<br>&gt;         &gt; the system arranges for the audio devices (amongst other<br>
&gt;         things) to be<br>&gt;         &gt; owned by the user logging in.  When you VNC in this probably<br>&gt;         doesn&#39;t happen.<br>&gt;<br>&gt;         That&#39;s correct. You would have to make your audio devices<br>
&gt;         accessible to<br>&gt;         all users, not only to the person physically logged into the<br>&gt;         machine.<br>&gt;         You can do that by changing this file:<br>&gt;<br>&gt;         /etc/security/console.perms.d/50- default.perms<br>
&gt;<br>&gt;         Change this line:<br>&gt;         &lt;console&gt;  0600 &lt;sound&gt;      0600 root<br>&gt;         to this:<br>&gt;         &lt;console&gt;  0600 &lt;sound&gt;      0666 root<br>&gt;<br>&gt;         this will make the sound devices world readable and writable<br>
&gt;         (ie:<br>&gt;         anybody logged in will have access).<br>&gt;<br>&gt;         -- Fernando<br>&gt;<br>&gt;<br>&gt;<br><br></div></div></blockquote></div><br>