LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2008, 11:13 PM   #1
Lamhslea
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
No sound in multiple X sessions


RESOLVED
I changed all the permissions in /dev/snd to 777 and it started working.


I'm currently running 64 bit Fedora 9. I can record in Audacity, chat in TeamSpeak, listen to Amarok, hear audio from flash videos, etc.

However when I open a new X session I lose all sound in that session.

I have two monitors so when I want to play an RTS or other game that involves much scrolling I use a script to open a separate X session with one monitor disabled.

Code:
#!/bin/sh

X :3 -ac -config xorg_game.conf &

cd ~/".wine/drive_c/Program Files/THQ/Dawn of War - Dark Crusade" 

sleep 2

DISPLAY=:3 nice -10 /usr/bin/wine DarkCrusade.exe

/usr/bin/kill $(ps ax|grep "X :3")
I've tried modifying the script to run the Linux TeamSpeak binary but I also lose sound with that. When I run Dark Crusade, or any other program, normally then sound works just fine.

I'm really scratching my head as to what is going on and the best I can come up with is that maybe some sort of daemon needs to be launched on startup of an X session, but I wouldn't know which one(s).

Looking through the startup programs in GNOME I added "pactl load-module module-x11-xsmp" into the script between starting X and the game, but I'm still not getting any sound.

How can I get sound working in the new X sessions?

Last edited by Lamhslea; 07-12-2008 at 11:45 PM.
 
  


Reply



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 problems in KDE with multiple sessions trashbird1240 Slackware 2 01-30-2008 12:37 AM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
Sound in multiple sessions LinuxConvert-06/05 Linux - Newbie 1 07-20-2005 12:00 PM
sharing sound in multiple sessions nitrambass Mandriva 5 06-23-2004 05:19 PM
Multiple X sessions gluon Linux - General 1 09-29-2001 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 AM.

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