Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-01-2005, 02:27 AM   #1
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Making a wine application run deamonized?

I've got a Win32 server that I can run from wine over the internet, the problem is I need to make it deamonized, so when I quit SSH it will run in the background. (Usually bash kills all it's child processes which include wine, lynx, or whatever else)

Is there any way I'd be able to get this to work so I don't have to keep an SSH terminal open all the time? Thanks.

More info: The program is actually a server that runs in the command console of windows. I tried dosemu-freedos, but it doesn't work -- freedos is so old, it can't even support long filenames. I need something that could emulate the newer win32 dos part of windows. Wine has support for this, but it likes to do it graphically, why can't I find something to just do it on the console?

Last edited by jon_k; 06-01-2005 at 03:26 AM.
Old 06-01-2005, 04:57 AM   #2
Registered: Apr 2005
Location: England
Distribution: Gentoo
Posts: 142

Rep: Reputation: 16
What you can do is this:
Amp off the process when you run it:
wine whatever &
Now you should still have a console, but it will still end when you close the ssh session, so:
type 'jobs' You should get a list of jobs (there is probably only one)
[1]-  Running                 inkscape &
[2]+  Running                 gimp &
now type:
disown -h #1
if the jobnumber isn't 1, replace it with the correct number. so if wanted to disown the GIMP, i would type
disown -h #2
Now the process will continue even after you close the console.
I think this might be specific to bash, but other shells will probably have a similar implementation.

Hope that helps


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
Application similiar to ksnapshot (making screenshots) krajzega Linux - Software 18 09-19-2009 07:56 AM
Making an application against different system libraries davidkline Linux - Newbie 1 11-01-2005 01:08 PM
Wine can run only console application. vadimkovalev Linux - Newbie 1 09-29-2005 11:57 AM
Trying to run photoshop in wine. Install, but wont run. bruno buys Linux - Software 14 07-15-2004 04:30 PM
what windows application do you run with wine etc Alexop Linux - General 3 08-21-2002 04:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration