Operating System - HP-UX
1834745 Members
3106 Online
110070 Solutions
New Discussion

Telnet session causing xmotif to close.

 
brian_31
Super Advisor

Telnet session causing xmotif to close.

Hi:

We have a case where we have 6 Applications(Heavy Motif) (users come from xemulator from PC).
we also have one lite motif App (the script telnets to a remote box and displays an application)
what is Happenning is when the lite motif app(telnet) is closed by the user it also takes down one heavy
(the same Appln) always. Wonder why. The only similarity is that both these applications are seamless
(meaning they occupy the whole window) Any thoughts?

Thanks
Brian
1 REPLY 1
Sridhar Bhaskarla
Honored Contributor

Re: Telnet session causing xmotif to close.

Hi Brian,

If I understand it correctly, it is like doing a telnet, exporting the display and then running the x-apps. If telnet is killed which is the parent process of x-apps, it will also take away x-apps.

If you can modify the script, add nohup infront of your application startup. This way, if the parent gets killed, it will get attached to the init process and will still continue to run. For ex., the script will be

nohup /path_to_your_app/application &

-Sri
You may be disappointed if you fail, but you are doomed if you don't try