<?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 Re: DECW$SESS Processes in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/decw-sess-processes/m-p/3636199#M71391</link>
    <description>Trace,&lt;BR /&gt;&lt;BR /&gt;  To some extent this depends on how the session was started.&lt;BR /&gt;&lt;BR /&gt;  The DECW$SESSION process should terminate when the user exits the session. Note that's not the same as just closing all the windows, they need to close the session from the session manager. I'm not exactly sure what would happen if the X server is killed (say by rebooting a PC).&lt;BR /&gt;&lt;BR /&gt;  Something which might be a problem is the automatic creation of a DECW$LOGINOUT process at the end of the session. You should be able to surpress this with:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE DECW$LOGIN_NORESTART TRUE&lt;BR /&gt;&lt;BR /&gt;in the procedure used to start the session.&lt;BR /&gt;&lt;BR /&gt;  Which brings us back to how the sessions are started in the first place. Some X servers provide their own mechanisms, which may have a feature of keeping a session cached for future connection. You can do it manually to experiment. For example, create a procedeure:&lt;BR /&gt;&lt;BR /&gt;$ SET PROCESS/NAME="TEST DECW$SESSION"&lt;BR /&gt;$ DEFINE DECW$LOGIN_NORESTART TRUE&lt;BR /&gt;$ SET DISPLAY/CREATE/NODE=xserver/TRANSPORT=trans&lt;BR /&gt;$ MCR DECW$SESSION&lt;BR /&gt;$ EXIT&lt;BR /&gt;&lt;BR /&gt;To start with, login to the host and execute this procedure interactively. If it does what you want (ie: returns to the $ prompt) then arrange for it to be executed in or rsh, or whatever other mechanism is available from your X server.&lt;BR /&gt;  &lt;BR /&gt;Alternatively, find the procedure used by your X server and modify it to prevent automatic restarting.</description>
    <pubDate>Tue, 27 Sep 2005 18:51:38 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2005-09-27T18:51:38Z</dc:date>
    <item>
      <title>DECW$SESS Processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/decw-sess-processes/m-p/3636198#M71390</link>
      <description>Good morning,&lt;BR /&gt;&lt;BR /&gt;When I do a finger on an OpenVMS 7.3-1 system, I see several DECW$SESS processes hanging around for several users.  I know that these processes are associated with DECwindows sessions the users have open.  However, when a user closes all of their windows, the DECW$SESS processes keep hanging around.&lt;BR /&gt;&lt;BR /&gt;How long are these process supposed to stay around and what cleans them up?  Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;      Trace Trembath</description>
      <pubDate>Tue, 27 Sep 2005 11:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/decw-sess-processes/m-p/3636198#M71390</guid>
      <dc:creator>Trace Trembath</dc:creator>
      <dc:date>2005-09-27T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: DECW$SESS Processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/decw-sess-processes/m-p/3636199#M71391</link>
      <description>Trace,&lt;BR /&gt;&lt;BR /&gt;  To some extent this depends on how the session was started.&lt;BR /&gt;&lt;BR /&gt;  The DECW$SESSION process should terminate when the user exits the session. Note that's not the same as just closing all the windows, they need to close the session from the session manager. I'm not exactly sure what would happen if the X server is killed (say by rebooting a PC).&lt;BR /&gt;&lt;BR /&gt;  Something which might be a problem is the automatic creation of a DECW$LOGINOUT process at the end of the session. You should be able to surpress this with:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE DECW$LOGIN_NORESTART TRUE&lt;BR /&gt;&lt;BR /&gt;in the procedure used to start the session.&lt;BR /&gt;&lt;BR /&gt;  Which brings us back to how the sessions are started in the first place. Some X servers provide their own mechanisms, which may have a feature of keeping a session cached for future connection. You can do it manually to experiment. For example, create a procedeure:&lt;BR /&gt;&lt;BR /&gt;$ SET PROCESS/NAME="TEST DECW$SESSION"&lt;BR /&gt;$ DEFINE DECW$LOGIN_NORESTART TRUE&lt;BR /&gt;$ SET DISPLAY/CREATE/NODE=xserver/TRANSPORT=trans&lt;BR /&gt;$ MCR DECW$SESSION&lt;BR /&gt;$ EXIT&lt;BR /&gt;&lt;BR /&gt;To start with, login to the host and execute this procedure interactively. If it does what you want (ie: returns to the $ prompt) then arrange for it to be executed in or rsh, or whatever other mechanism is available from your X server.&lt;BR /&gt;  &lt;BR /&gt;Alternatively, find the procedure used by your X server and modify it to prevent automatic restarting.</description>
      <pubDate>Tue, 27 Sep 2005 18:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/decw-sess-processes/m-p/3636199#M71391</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-09-27T18:51:38Z</dc:date>
    </item>
  </channel>
</rss>

