<div>Hi<br>I use Fedora 8 (I couldn't install 7, it did'nt find drivers for my dvd or something. a known bug they don't care to fix)</div>
<div>I copied your suggestions into the file and restarted.</div>
<div>Thanks a lot Fernando, it works!</div>
<div>(now the crt goes back to the attic)</div>
<div>/Bengt</div>
<div> </div>
<div>The files looked like this before the change:</div>
<div><br>[bengt@studio console.perms.d]$ more *<br>::::::::::::::<br>50-default.perms<br>::::::::::::::<br># device classes -- these are shell-style globs <br><pilot>=/dev/pilot<br><scanner>=/dev/scanner* /dev/usb/scanner*
<br><rio500>=/dev/usb/rio500<br><fb>=/dev/fb /dev/fb[0-9]* \<br> /dev/fb/*<br><kbd>=/dev/kbd<br><joystick>=/dev/js[0-9]* <br><gpm>=/dev/gpmctl<br><dri>=/dev/nvidia* /dev/3dfx* /dev/dri/card*
<br><mainboard>=/dev/apm_bios<br><pmu>=/dev/pmu<br><bluetooth>=/dev/rfcomm*<br><irda>=/dev/ircomm*<br><dvb>=/dev/dvb/adapter*/* <br><br># permission definitions<br><console> 0600 <pilot> 0660
root.uucp<br><console> 0660 <scanner> 0660 root.lp<br><console> 0600 <fb> 0600 root<br><console> 0600 <kbd> 0600 root <br><console> 0600 <joystick> 0600 root
<br><console> 0700 <gpm> 0700 root<br><console> 0600 <mainboard> 0600 root<br><console> 0600 <rio500> 0600 root<br><console> 0600 <pmu> 0600 root <br>
<console> 0600 <bluetooth> 0600 root<br><console> 0600 <irda> 0600 root<br><console> 0600 <dvb> 0600 root<br><br><xconsole> 0600 /dev/console 0600 root.root<br><console> 0600 <dri> 0600 root
<br>::::::::::::::<br>60-libmtp.perms<br>::::::::::::::<br><libmtp>=/dev/libmtp*<br><console> 0600 <libmtp> 0600 root<br>::::::::::::::<br>60-libnjb.perms <br>::::::::::::::<br><libnjb>=/dev/libnjb*
<br><console> 0600 <libnjb> 0600 root<br><br><br><br> </div>
<div><span class="gmail_quote">2008/1/21, Fernando Lopez-Lezcano <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:nando@ccrma.stanford.edu" target="_blank"> nando@ccrma.stanford.edu</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">On Sun, 2008-01-20 at 23:44 +0100, Bengt Månsson wrote: <br>> That looked like a good theory but when I checked the files
<br>> in /etc/security/console.perms.d/ I find no line with <sound> at all<br>> (and no line with /dev/snd either).<br>> Should I add some lines manually or is the problem somewhere else? <br><br>That'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><sound>=/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><console> 0600 <sound> 0600 root<br>----<br><br>-- Fernando<br><br><br>> 2008/1/18, Fernando Lopez-Lezcano <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:nando@ccrma.stanford.edu" target="_blank">
nando@ccrma.stanford.edu</a>>:<br>> On Wed, 2008-01-16 at 16:06 -0500, Martin Harriss wrote:<br>> > Bengt Månsson wrote:<br>> > > Hi<br>> > > I prefer to use VNC to connect remotely to my linux audio
<br>> box via LAN<br>> > > After each reboot I cannot see the soundcard in qjackctrl<br>> via VNC<br>> > > I have to login on a locally attached screen and start<br>
> qjackctrl<br>> > > Then I can logout from that screen and everything works<br>> fine again via<br>> > > VNC (until next reboot)<br>> > > I would like to remove that old screen and always just use
<br>> my laptop as<br>> > > display (which is very good)<br>> > > Please advise<br>> > > /Bengt<br>> > ><br>> ><br>> > This is probably a permissions problem. When you log in at
<br>> the console<br>> > the system arranges for the audio devices (amongst other<br>> things) to be<br>> > owned by the user logging in. When you VNC in this probably<br>
> doesn't happen.<br>><br>> That's correct. You would have to make your audio devices<br>> accessible to<br>> all users, not only to the person physically logged into the
<br>> 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>> <console> 0600 <sound> 0600 root
<br>> to this:<br>> <console> 0600 <sound> 0666 root<br>><br>> this will make the sound devices world readable and writable<br>> (ie:<br>> anybody logged in will have access).
<br>><br>> -- Fernando<br>><br>><br>><br><br></blockquote></div><br>