keep logged in using xwindows
hi,
am using x windows technology to log in solaris10 from winXP machine. and i start an application server while logged in but when ever i close the access session without logging off the application server is down so how can i leave the session without logging off the system so that the server processes keep running in the back ground off the solaris server.
regards
[389 byte] By [
Insighter] at [2007-11-26 7:48:11]

# 1
Hi
This depends a bit on the shell that you are using.
You need to start the application in the background. You can do this by adding a "&" after the command, e.g.,
serverapp option1 option2 &
(this is analagous to the Windows "start" command)
There is one other thing that you may need to do: when you logout, the background task will get sent a Unix signal called HUP (for hangup, since the terminal that launched the server has terminated). The server application may or may not handle the signal, and it is possible that the server will also terminate. In this case you need to prevent it from getting the HUP signal by using nohup:
nohup serverapp option1 option2 &
Paul