<?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: Removing disconnected telnet session? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915987#M69876</link>
    <description>Scott,&lt;BR /&gt;&lt;BR /&gt;  I'd recommend enabling virtual terminals. On Alpha, add the following to your startup procedure:&lt;BR /&gt;&lt;BR /&gt;$ MCR SYSMAN IO CONNECT VTA0/NOADAPT-&lt;BR /&gt;/DRIVER=SYS$LOADABLE_IMAGES:SYS$TTDRIVER.EXE&lt;BR /&gt;$ DEFINE TCPIP$TELNET_VTA TRUE&lt;BR /&gt;$ DEFINE TCPIP$RLOGIN_VTA TRUE&lt;BR /&gt;&lt;BR /&gt;  Now when a session is disconnected without logging out, it will remain on the system for (SYSGEN parameter) TTY_TIMEOUT seconds - default is 15 minutes. If a user logs back in within that time, they will be given the option to reconnect to their disconnected session. No more lost work!&lt;BR /&gt;&lt;BR /&gt;  You will be able to see the disconnected sessions with:&lt;BR /&gt;&lt;BR /&gt;$ PIPE SHOW USERS/FULL | -&lt;BR /&gt;  SEARCH SYS$PIPE "(disconnected)"&lt;BR /&gt;&lt;BR /&gt;any process with a VTA terminal name is disconnected. You could kill the process with:&lt;BR /&gt;&lt;BR /&gt;$ STOP/EXIT/ID=pid&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Aug 2005 21:47:35 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2005-08-03T21:47:35Z</dc:date>
    <item>
      <title>Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915984#M69873</link>
      <description>A user just called to say his telnet session terminated without disconnecting him.  Can I run a command that would find his connection then run a command that would remove his connection?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Wed, 03 Aug 2005 13:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915984#M69873</guid>
      <dc:creator>Scott Frye_1</dc:creator>
      <dc:date>2005-08-03T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915985#M69874</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;Welcome to VMS!!&lt;BR /&gt;&lt;BR /&gt;I think I need some more info, but let me try some guessing.&lt;BR /&gt;&lt;BR /&gt;It looks to me that your terminology somehow does not macth mine.&lt;BR /&gt;&lt;BR /&gt;Is your user logged in using Telnet from some external source, say, a PC, or a *UX session?&lt;BR /&gt;Then, if his Telnet terminated, by definition his connection is gone.&lt;BR /&gt;&lt;BR /&gt;Maybe you use a terminal emulator with embedded telnet, and you(r user) logged out of his VMS session? Some emulator then leave the connection alive, and you must terminate it by EXIT (^D, ^Z, ,^C  depending on specific emulator).&lt;BR /&gt;&lt;BR /&gt;If your Telnet connection gets broken somehow, than (by default, changeable by system manager) his PROCESS stays alive for some time. In that case, at setting up a new connection for the same username VMS ask if you want to re-attach to that session, and just continue.&lt;BR /&gt;&lt;BR /&gt;If this does not answer your question, please specify some more details:&lt;BR /&gt;remote system type&lt;BR /&gt;terminal emulator&lt;BR /&gt;VMS version&lt;BR /&gt;a more extensive description of the issue.&lt;BR /&gt;(do not care about terminology, if the description contains enough details we will find out what is happening, and then the terminology  will come later on)&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe &lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2005 15:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915985#M69874</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-08-03T15:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915986#M69875</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;The default is for the session to be deleted automatically when the timeouts expire.&lt;BR /&gt;&lt;BR /&gt;It is true that the timeouts can be annoyingly large in a TCP/Ip network, but there is generally not a need to abort a session. If a session hangs, there are generally other (applications) issues involved.&lt;BR /&gt;&lt;BR /&gt;If you can give additional information, then it is easier to be more accurate with advice.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 03 Aug 2005 20:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915986#M69875</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-08-03T20:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915987#M69876</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;  I'd recommend enabling virtual terminals. On Alpha, add the following to your startup procedure:&lt;BR /&gt;&lt;BR /&gt;$ MCR SYSMAN IO CONNECT VTA0/NOADAPT-&lt;BR /&gt;/DRIVER=SYS$LOADABLE_IMAGES:SYS$TTDRIVER.EXE&lt;BR /&gt;$ DEFINE TCPIP$TELNET_VTA TRUE&lt;BR /&gt;$ DEFINE TCPIP$RLOGIN_VTA TRUE&lt;BR /&gt;&lt;BR /&gt;  Now when a session is disconnected without logging out, it will remain on the system for (SYSGEN parameter) TTY_TIMEOUT seconds - default is 15 minutes. If a user logs back in within that time, they will be given the option to reconnect to their disconnected session. No more lost work!&lt;BR /&gt;&lt;BR /&gt;  You will be able to see the disconnected sessions with:&lt;BR /&gt;&lt;BR /&gt;$ PIPE SHOW USERS/FULL | -&lt;BR /&gt;  SEARCH SYS$PIPE "(disconnected)"&lt;BR /&gt;&lt;BR /&gt;any process with a VTA terminal name is disconnected. You could kill the process with:&lt;BR /&gt;&lt;BR /&gt;$ STOP/EXIT/ID=pid&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2005 21:47:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915987#M69876</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-08-03T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915988#M69877</link>
      <description>Scott,&lt;BR /&gt;just for curiosity command to kill any process is STOP.&lt;BR /&gt;Help is your friend. For furthermore information type&lt;BR /&gt;$ HELP STOP&lt;BR /&gt; &lt;BR /&gt;Again, just for playing you can see all users connected (like unix who) with command&lt;BR /&gt;$ SHOW USER&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2005 03:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915988#M69877</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-04T03:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915989#M69878</link>
      <description>I'm not user what happened to my user, but he said when he went to create a new telnet (using reflections) and VMS asked for his name, he already had a connection up.  I've verified he has no connections on his PC.  I want to knock his session off.  Her is the output from show user&lt;BR /&gt;&lt;BR /&gt; Username   Node     Interactive  Subprocess   Batch&lt;BR /&gt; 4869AK02    HNAC            1         8         1&lt;BR /&gt;&lt;BR /&gt;Thanks for all the GREAT input!!&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Thu, 04 Aug 2005 08:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915989#M69878</guid>
      <dc:creator>Scott Frye_1</dc:creator>
      <dc:date>2005-08-04T08:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915990#M69879</link>
      <description>Scoot,&lt;BR /&gt;&lt;BR /&gt;yes, that looks mightily like the scenario I already guessed.&lt;BR /&gt;&lt;BR /&gt;The symptoms at the users'new session look like:&lt;BR /&gt;&lt;BR /&gt;You have a disconnected session xxxx. Connect to it? [Y/N}&lt;BR /&gt;&lt;BR /&gt;(sorry, not exact systax, this is from memory, cannot test right now).&lt;BR /&gt;&lt;BR /&gt;If the user answers "Y", then (s)he can continue where (s)he was interrupted.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 04 Aug 2005 11:26:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915990#M69879</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-08-04T11:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915991#M69880</link>
      <description>OK, but is there a way for me to remove this session using some sort of kill command?&lt;BR /&gt;&lt;BR /&gt;scott</description>
      <pubDate>Thu, 04 Aug 2005 11:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915991#M69880</guid>
      <dc:creator>Scott Frye_1</dc:creator>
      <dc:date>2005-08-04T11:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915992#M69881</link>
      <description>If the /Full qualifier is added to the Show User username, it will give the process ID for the processes owned by username.  With privileges, a process can be stopped by:&lt;BR /&gt;&lt;BR /&gt;$ Stop/ID=&lt;XXXXXXXX&gt;&lt;BR /&gt;&lt;BR /&gt;Replace &lt;XXXXXXXX&gt; with the 8 hexadecimal digits of the process ID that is to be stopped.&lt;/XXXXXXXX&gt;&lt;/XXXXXXXX&gt;</description>
      <pubDate>Thu, 04 Aug 2005 11:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915992#M69881</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-08-04T11:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915993#M69882</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;$ SHOW US/FULL &lt;LOGIN-NAME-OF-USER&gt;&lt;BR /&gt;&lt;BR /&gt;will show all processes from this user. The 3rd column will have the process-id (PID). Then you can stop the process with $ STOP/ID=&lt;PROCESS-ID&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PROCESS-ID&gt;&lt;/LOGIN-NAME-OF-USER&gt;</description>
      <pubDate>Thu, 04 Aug 2005 12:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915993#M69882</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-08-04T12:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Removing disconnected telnet session?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915994#M69883</link>
      <description>The 'show user /full' command and the 'stop/id=&lt;PID&gt;' command was exactly what I needed.  I will file these away in my handy dandy tips and tricks document so I will have them always.&lt;BR /&gt;&lt;BR /&gt;Thanks for helping a newbie!&lt;BR /&gt;&lt;BR /&gt;Scott&lt;/PID&gt;</description>
      <pubDate>Thu, 04 Aug 2005 12:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/removing-disconnected-telnet-session/m-p/4915994#M69883</guid>
      <dc:creator>Scott Frye_1</dc:creator>
      <dc:date>2005-08-04T12:04:16Z</dc:date>
    </item>
  </channel>
</rss>

