Sound gurus: Keep sound running through logout / login?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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
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.
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!
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]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.