LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2004, 08:53 PM   #1
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Sound gurus: Keep sound running through logout / login?


I am presently running radio-audio-stream through gmplayer. The problem is if I want to log-out and then log-back-in as another user I lose my sound. Imagine if you will: working away, tasks to perform, but you have to stop to listen to the end of a song. Then proceed.

Could I send it to the background somehow? I'm vaguely familiar with the possibility of this sort of thing. As i write I think ohh i could do it from the command line and like send it to the background and then log-out and back in.

No. Simple. Something that opens in the background? A way of playing sound that will not be interrupted anything short of energy failure!

Many thanks sound gurus.
I know you are out there
 
Old 02-05-2004, 01:33 AM   #2
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
show me how to run something on a linux box without logging in as some kind of user, and I'll show you and OS kernel that needs to totally needs to be rewritten from scratch
 
Old 02-05-2004, 01:34 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
You'd have to use a text-mode player from a console
(tty rather than pts).
If you're in X every child process will be terminated if
you log-out, back-ground or not.


Cheers,
Tink
 
Old 02-05-2004, 12:55 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Original Poster
Rep: Reputation: 36
Thanks Tink,

Yes I just switched to console and launched mplayer with a script.
<CTRL><ALT><F7> back to X and I can log out and in again
with no sound interruption.
Priorities man!

#! /bin/sh
mplayer http://66.244.199.217:80/ckua

Question though...

Quote:
If you're in X every child process will be terminated if
you log-out, back-ground or not.
Every child process? So what is Oracle? It keeps running?
Cheers,
alar
 
Old 02-05-2004, 03:36 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I don't know how Oracle is installed, but my wild
guess would be that it's being started sometime
during the /etc/init.d (/etc/rc.d) processing ... my
PostgreSQL does.

Easy way to find out: while in X, do ps -A and
see whether oracle's pid is smalled than X's...

[edit]
Guess I was wrong ... :} I just stopped my postmaster
and restarted it from a console in X (logged into X
as normal user, started postgresql through a login-
shell as root in an xterm using su - postgres -c " ...")
and it survived ... :}
[/edit]


Cheers,
Tink

Last edited by Tinkster; 02-05-2004 at 03:41 PM.
 
  


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
no sound, no mixer, sound card not running suse 9.3 sgold7878 Linux - Newbie 6 06-27-2005 08:58 AM
kde sound options gone except for root, login sound gone memphisSuseUser Linux - Distributions 2 12-10-2004 06:55 PM
Choppy sound when other programs running + mouse and login question (tm) Linux - Newbie 6 03-24-2004 10:57 AM
running Mandrake 9.2, i do have sound in x-chat, cd playing no sound. AdrEnochrOme Linux - Newbie 5 01-24-2004 04:49 PM
Canít hear sound after running Sound Config Al Bundy Linux - General 27 07-31-2003 06:38 AM


All times are GMT -5. The time now is 05:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration