LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2010, 09:52 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Need help getting sound to work while in XDMCP session/ Display 1


Hi all, I'm hoping someone can get me going in the right direction.

I am running jaunty (9.04) and I use amarok to play audio files. I have a second box in another room that runs slackware. I frequently have two X sessions running on the Ubuntu box:

1. Is a local Ubuntu X session.

2. The second X session is remote to my Slack box. I get there by opening a tty with CTRL+ALT+F2 and running
PHP Code:
:-query SLACKHOSTNAME 
which brings me to the kde login screen of the Slackbox and I go from there. I can then toggle between the two X sessions like any other virtual termial: CTRL+ALT+F7 or CTRL+ALT+F9 (the x session started in tty9 usually maps to tty9 while tty2 remains logging the x session).

What I want to have happen is for amarok to keep playing from the local X session while I am in the remote session. More to the point, I want the sound to keep coming from the speakers since amarok DOES keep playing, I just can't hear it. I can hear amarok when I'm in tty1-6 (consoles), but when I go to the X session the speakers go silent after a few stutters.

I'm really not sure where to start on this. Googling XDMCP and sound basically returns results saying XDMCP doesn't send the sound, which I understand and don't have an interest in doing.

Is there maybe another way to get the same resulting remote X session that will keep me in tty1-6, or a way force the sound to persist regardless of display?

Last edited by damgar; 01-07-2010 at 09:54 PM.
 
Old 01-07-2010, 10:00 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I think what you're really asking is that you want to figure out a way to divorce Amarok from your desktop session, so it doesn't inadvertently get silenced when you <Ctl-Alt-Fn> to a different session.

You might want to investigate something along these lines

Quote:
http://ubuntuforums.org/showthread.php?t=271649

ssh -XC name/IP amarokapp
'Hope that helps .. PSM

Last edited by paulsm4; 01-07-2010 at 10:01 PM.
 
Old 01-07-2010, 10:41 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
I was able to successfully listen to 3 songs while in a remote X session and then sound stopped. This has happened before. Earlier I lost sound the second I switched sessions, which is what is happening now. I know this can be done, and since it seems to WANT to work this way sometimes it can't be a big change it doesn't seem.

The link posted seems to concern controlling amarok remotely when I'm interested in it just persisting locally regardless of session, as you seem to understand.
 
Old 01-07-2010, 11:45 PM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Rereading this thread, I saw two things:
1. My last post struck me as rude, which it wasn't intended to be and I apologzize if it was read that way. Thank you, PSM for the reply, it got me thinking.

2. The answer seems to be in the question itself
Quote:
Is there maybe another way to get the same resulting remote X session that will keep me in tty1-6......
the answer to that is yes.
PHP Code:
-help
vtXX           
use the specified VT number
By changing the command I use to start the XDMCP session
PHP Code:
X vt2 :-query SLACKHOST 
I am able to keep the remote X session on tty2 rather than it mapping over to tty9+. An hour of Mark Knopfler seems to confirm that this is working.

Thanks
 
  


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
gdm/xdmcp related: there already appears to be an X server running on display :0 parv Linux - General 2 07-31-2009 01:26 PM
X session display won't work for non-root users damdegraff Linux - General 3 03-01-2007 10:34 PM
XDMCP Remote access session restore after disconnection soldonz Linux - Newbie 1 04-18-2005 03:20 PM
Server Status can not display by XDMCP connect taisuke Linux - Networking 1 08-26-2004 09:37 PM
XDMCP display forwarding not working antaydos Linux - Networking 17 06-05-2003 03:55 PM


All times are GMT -5. The time now is 07:00 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