Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have on my SuSE 7.2 the mpg123 startet during boot (there are links in /etc/init.d/boot.d/ which start first alsasound and then the mpg123). this works fine so far.
But my problem is that always when a user ends an X session, the mpg123 will be killed. I debugged the Xreset and Xsetup scripts, and I checked, that mpg123 runs during Xreset, but the process is killed when Xsetup runs.
Is there somebody who had the same problem and can perhaps help me?
thank you for your fast reply. Sorry I can't try this at the moment, because I'm not at home at my computer. But I don't believe, that this works. I think it is a SuSE specific problem, because the effect is with KDM and XDM under SuSE (I tried it on another box; I startet the mpg123 from a tty, logged in into X, logout => mpg123 is killed :-( ),but does not appear with GNOME under debian...
Sorry, the workaround with starting mpg123 at the end of the $HOME/.xinitrc does not work. The mpg123 is running when the ~/.Xsession or the ~/.xinitrc is finished. After the execution of xsession, the manpage of xdm says that there will be a Xreset script executed (I found the script in /etc/X11/xdm). i put a pstree > /tmp/test at the and of that script and i see that the mpg123 is still running. Manpage of xdm says there will be a Xsetup executed (after Xreset). So I put the pstree >> /tmp/test at the beginning of the Xsetup. And I see that mpg123 is no longer running. Today I tried it under debian ... and under debian it is working.
so i think, i will have to register my suse and ask suse for support :-(