LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-21-2006, 08:17 PM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
vnc audio issues


It's been a while since I have used vnc in the way I am about to describe. I used to be able to vnc into my server, launch xmms, and listen to music from my server. In other words, my laptop would simply be a remote control and xmms would be running on the server, playing the songs. When I tried it today, a sound card could not be found. When I logged on locally as the user that vnc uses, I am able to listen to music with no problem. To test this further, I logged on as a different user, su'ed over to that particular user and again, even though I was on the actual computer, xmms complained about not being able to find a soundcard. I hope this doesn't confuse anybody.
 
Old 09-21-2006, 08:44 PM   #2
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Update

I have an update. It seems that with FC5, which ever user is logged in, that is the user that has permissions on /dev/dsp. WTF!?! I have an emu10k1 sound card and it can handle multiple sound at once. Why does FC5 change the permissions? Is there a way to stop this? My current runlevel is 5, should I change it to 3? Any help would be appreciated.
 
Old 09-22-2006, 02:07 AM   #3
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Most distros change the permissions of local devices (sound card, floppy, cdrom, etc.) to whoever is logged in at the local console. This seems like the logical thing to do, since usually when someone is logged on remotely, they are not close to the machine.

You could change the permissions on the device, but to do it permanantly, you will have to change some configuration files. I don't know for sure how it's done on Fedora, but check in /etc/udev/rules.d for a file called permissions.rules.

You probably have a line that says:

SUBSYSTEM=="sound", MODE="600"

Change it to:

SUBSYSTEM=="sound", MODE="666"
 
Old 09-23-2006, 08:58 AM   #4
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Tried that, no luck. No matter what I change the permissions to, the person logged on locally takes ownership of /dev/dsp and who knows what other devices. Any other ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC issues jtapiaRedHat Linux - Newbie 6 02-11-2006 09:57 AM
VNC issues mikey9164 Linux - Software 2 03-26-2005 10:28 AM
VNC connection issues... Joshoowa Linux - Networking 2 02-05-2005 07:07 AM
viewing debian from XP via VNC... issues. Lleb_KCir Linux - Software 1 10-06-2004 12:29 AM
VNC issues in RH 8.0 glockfan Linux - Software 0 01-23-2003 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration