LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-09-2003, 11:24 PM   #1
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
How do you run xine as a daemon?


I have a .lircrc that calls xine via irexec. It uses the mode function to alternate between tv mode and xine mode. In order for it to work, I need to run xine as a daemon as the mode=xine option is immediately after the call to irexec. I tried "xine &" but xine does not completely daemonize, instead it requires me to press the enter key once in order to relinquish the prompt. Because of this the mode=xine option does not get run and hence the remote is not able to control xine. In tv mode, irexec calls mythfrontend & and it relinquishes the prompt. How do you make xine do this? Thanks
 
Old 02-10-2003, 03:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well that's not running as a daemon at all, just sitting in the background, which is not the same thing. i'd say you'd be better off using "nohup xine" as that will run it outside of a terminal anyway.
 
Old 02-10-2003, 09:45 PM   #3
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
How do you that nohup xine? I need to run it in the background using a script.
 
Old 02-11-2003, 03:44 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
man nohup
 
  


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
how to run a program as a daemon? iclinux Linux - Newbie 2 04-20-2005 01:11 AM
run as a daemon dellcom1800 Linux - Software 6 10-15-2004 08:38 AM
Can't run talk daemon ust Linux - General 3 05-24-2004 05:07 PM
How to run daemon in linux sansk Programming 1 03-18-2004 02:38 PM
Getting daemon to run at startup HaPPYFaCe Slackware 1 07-10-2003 09:50 PM


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