Re: Urgent: continuing to run an app on the remote machine after SSH session ends
Re: Urgent: continuing to run an app on the remote machine after SSH session ends
- Subject: Re: Urgent: continuing to run an app on the remote machine after SSH session ends
- From: "Lim Wee Cheong" <email@hidden>
- Date: Mon, 08 Mar 2004 16:17:31 +0000
Yup done that. But somehow the X application closes immediately when I
closes the SSH window. When I login back, the process is gone from the
process list. Is it because this X app uses SSH or x11drv tunnelling?
Thanks for your reply.
>From: Michael Jeffrey Tucker >To: Lim Wee Cheong >Subject: Re: Urgent:
continuing to run an app on the remote machine after SSH session ends
>Date: Mon, 8 Mar 2004 11:02:13 -0500 (EST) > >Hi, > > Have you tried
running your program from nohup before you background it? >That is, run:
> >nohup /path/to/yourprogram & > >And then exit from your shell. This
will keep your program running in the >background, though you will not be
able to reattach to it from a new >shell. If you need a new text shell to
be able toa ttach to the process, >you should use something like screen
(see the posts to the list). > >Mike > >On Mon, 8 Mar 2004, Lim Wee
Cheong wrote: > > > Thank you all for your prompt replies. I have tried
all of the methods > > except for the VNC one. They dun really work as I
am running an X app > > which requires SSH tunnelling and once I closes
SSH, the remote X app > > inexplicably terminates also. Any ideas? Thank
you all once again for > > your time. > > > > > > > > >From: Douglas
Lattman >To: Olivier Kaloudoff >CC: Lim Wee Cheong > > >Subject: Re:
Urgent: continuing to run an app on the remote machine > > after SSH
session ends >Date: Mon, 8 Mar 2004 10:25:27 -0500 > >Mr. > > Cheong,
>Another possible way to keep a task running after you log out is > >
>place the task into the background. There are possibly two different > >
>ways to accomplish this from the shell prompt depending on which >shell
> > you are running. >In the default config of the shells you can send
the > > process which >is running on the cli, command line interface, a >
> control-Z, a >suspend signal, after you hit the control z, you should
get > > your >command line interface back. Then type bg to place the
process > > which >was running and is now stopped into the background. If
you type > > jobs >it should show you the jobs which are either suspended
or running. > > > >Another simpler way to start the process in the
background if you >are > > reading all of your input in from a file is to
start process so >it will > > go directly to the background. > i.e.
>application >& app_out & >The >& > > says to take any error messages and
put them in the file >app_out the & > > at the end of the line says to
start the process in >the background. > > > >Hope this helps. >R, > >On
Monday, March 8, 2004, at 10:10 AM, Olivier > > Kaloudoff wrote: > >>On
lundi mars 8th 2004, Lim Wee Cheong wrote: >> > > >>>Hi, >>>I have a
remote app which I would like to run on the remote > > >>>machine even
>>>after my SSH session has terminated. Is it possible? > > Thank you. >>
>>Hi Lim, >> >> >> I'm not sure the question is related > > to this
list, >>but here is a way to do: >> >>- Install (tight) VNC > > Server or
any graphical remote control system >>on the machine you >>want > > to
start the app on. >> >>- Install (tight) VNC Client on the client(s) > >
you want to login >>from. >> >>- Logon to the remote server, and launch X
> > your application. >> >> >>Now you may safely turn you local machine
off > > :) >> >> >>Regards, >> >> >>Kalou > >
>>_______________________________________________ >>x11-users mailing > >
list | email@hidden >>Help/Unsubscribe/Archives: > >
>>http://www.lists.apple.com/mailman/listinfo/x11-users >>Do not post > >
admin requests to the list. They will be ignored. > > > > >
------------------------------------------------------------------------
> > > > Download ringtones from MSN Mobile Music! > >
_______________________________________________ > > x11-users mailing
list | email@hidden > > Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users > > Do not post
admin requests to the list. They will be ignored. > >
------------------------------------------------------------------------
Download ringtones from MSN Mobile Music!
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.