<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CDE Session Exit problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072787#M307873</link>
    <description>I have a modified Xsession script, which exec's a  local application script, which does :&lt;BR /&gt;&lt;BR /&gt;1) start background application processes&lt;BR /&gt;2) starts a CDE session via a background script (ttsession,dtappgather &amp;amp; exec dtsession)&lt;BR /&gt;3) waits for 2) to exit, then stops processes 1).&lt;BR /&gt;&lt;BR /&gt;When the user exits the session using the Panel Exit button, it appears that the initial Xsession process (now running our script) is terminated. Obviously, I was expecting the dtsession to exit rather than the dtsession process (2 above). &lt;BR /&gt;&lt;BR /&gt;It appears that the exit button performs an ExitSession action, that transmits an Xsession_Exit ToolTalk message, but I don't know what receives that message, or what the response is. Can anyone enlighten me?</description>
    <pubDate>Wed, 19 Sep 2007 09:26:37 GMT</pubDate>
    <dc:creator>N Wright</dc:creator>
    <dc:date>2007-09-19T09:26:37Z</dc:date>
    <item>
      <title>CDE Session Exit problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072787#M307873</link>
      <description>I have a modified Xsession script, which exec's a  local application script, which does :&lt;BR /&gt;&lt;BR /&gt;1) start background application processes&lt;BR /&gt;2) starts a CDE session via a background script (ttsession,dtappgather &amp;amp; exec dtsession)&lt;BR /&gt;3) waits for 2) to exit, then stops processes 1).&lt;BR /&gt;&lt;BR /&gt;When the user exits the session using the Panel Exit button, it appears that the initial Xsession process (now running our script) is terminated. Obviously, I was expecting the dtsession to exit rather than the dtsession process (2 above). &lt;BR /&gt;&lt;BR /&gt;It appears that the exit button performs an ExitSession action, that transmits an Xsession_Exit ToolTalk message, but I don't know what receives that message, or what the response is. Can anyone enlighten me?</description>
      <pubDate>Wed, 19 Sep 2007 09:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072787#M307873</guid>
      <dc:creator>N Wright</dc:creator>
      <dc:date>2007-09-19T09:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: CDE Session Exit problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072788#M307874</link>
      <description>In answer to your question - No&lt;BR /&gt;&lt;BR /&gt;But could you not just get user to login to CDE&lt;BR /&gt;&lt;BR /&gt;create a sessionetc script to start background application (1)&lt;BR /&gt;&lt;BR /&gt;create a sessionexit script to check if (1) still running and terminate it.&lt;BR /&gt;&lt;BR /&gt;fyi &lt;BR /&gt;&lt;BR /&gt;You can create a script in ~/.dt/sessions called sessionetc&lt;BR /&gt;&lt;BR /&gt;The script is executed at CDE startup, and in it, you can start up all those &lt;BR /&gt;cde-unaware apps that cde can't start up itself.&lt;BR /&gt;If necessary, you can also use ~/.dt/sessions/sessionexit to execute commands at&lt;BR /&gt;CDE exit time. source &lt;A href="http://www.math.unizh.ch/locinfo/cde.html" target="_blank"&gt;http://www.math.unizh.ch/locinfo/cde.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2007 11:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072788#M307874</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2007-09-19T11:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: CDE Session Exit problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072789#M307875</link>
      <description>Thanks Alex. I can't get rid of the modified Xsession, as it handles non-CDE logins too, but I have tried the session{etc,exit} to handle the background processs under CDE and it seems to work. I just wish I knew why the modified Xsession process gets killed rather than the dtsession.</description>
      <pubDate>Thu, 20 Sep 2007 05:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-session-exit-problem/m-p/4072789#M307875</guid>
      <dc:creator>N Wright</dc:creator>
      <dc:date>2007-09-20T05:20:55Z</dc:date>
    </item>
  </channel>
</rss>

