LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 05-04-2005, 05:48 PM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
sound works in only one account at a time


Is there a way to make the sound and CD burner work in 2 accounts at a time with Linux Mandrake 10.1? For some reason this does not happen with my current setup.
 
Old 05-04-2005, 07:05 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Forgive my curiosity , please, but what do you mean "at the same time?" Do you have several users connected to you box via TTY? Or two keyboards? Perhaps two soundcards?

Anyhow, just how do you expect the "accounts" to "use the sound system" at the same time? Are you perhaps running a job in one account whilst running an interachive session in another?

Please explain.
 
Old 05-04-2005, 07:22 PM   #3
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by PTrenholme
Forgive my curiosity , please, but what do you mean "at the same time?" Do you have several users connected to you box via TTY? Or two keyboards? Perhaps two soundcards?

Anyhow, just how do you expect the "accounts" to "use the sound system" at the same time? Are you perhaps running a job in one account whilst running an interachive session in another?

Please explain.
I have multiple accounts on one computer. Sometimes my friend puts things on hold in his account so I can go to my account to do things. But when I'm in my account, I can't get the sound or CD burner to work because his account is still logged in. With Windows I was able to have 3 accounts open, listen to sound in all 3 of them, burn CDs, etc. I was wondering if this was also possible in Linux, or can Linux only handle one open account at a time?
 
Old 05-04-2005, 10:34 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Ah, I see. I believe that MS only permits one "active" user, so they terminate non-disk access for "swapped-out" users. (An oversimplification, but . . .)

Anyhow, Unix was designed as a multi-user system, with a "resource lock" protocol so that different users could take turns using system resources. The point is that your friend has "locked" the sound card, and not released it for your use. Perhaps also the CD.

You don't mention which sound system driver you're using. (ALSA, OSS, ???)

ALSA has a "fullduplex" setting that might help. But the obvious thing would be for you friend to terminate any processes using the sound system (games, movies, terminal sounds, etc.) before relinquishing control to you. (I assume this is done by you doing a "login" from a command prompt in his workspace? If he logged out, the resources would be unlocked.)

If you have another (cheap) PC, you might consider setting it up as an terminal accessing your Linux system, with it's own sound system, CD, etc. Then you could both use yous system at the same time.

Anyhow, the bottom line is, as I said, that Unix was designed to support multiple users on the same system. (A "time-shared" system.) M$ is a single-user "personal" system. So M$ can unlock resources when a "switch user" action is started. Unix doesn't have a "switch user" function, since multiple users are the norm, and a "switch" would be meaningless.

Perhaps some here can offer better advice. (As I said, I was puzzled.) I don't have any answerers for you. Sorry.
 
  


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
Sound only works with one application at a time cspos Linux - General 3 06-14-2005 03:06 AM
Sound just works under root account thorax Linux - General 5 06-08-2004 02:20 PM
Sound trouble - only works with one app at a time Zero-0-Effect Slackware 10 11-27-2003 01:12 AM
maestro sound only works with root account jagmandan Slackware 3 02-20-2003 10:44 AM
Slackware sound works only every other time, what the heck? bobthebat Linux - General 3 11-01-2001 07:29 PM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration