You can also setup an initialization user exit in the AS/400 telnet server. There is a very good user exit program that you can use on the IBM iSeries web site(on www.iseries.ibm.com searcb for telnet user exit). The setup in the mapping file can be coded with the ip address of your terminal server and using wild card for device name(ACCT*) to use a device name starting with ACCT. Richard Hartmann IBM iSeries development ----- Original Message ----- From: "Egan, Matt B. (Artco)" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Date: Fri, 31 Aug 2001 16:32:23 -0500 Subject: [LINUX5250] limiting number of open sessions Reply-To: [EMAIL PROTECTED] Is there anyway to limit the number of open TN5250 windows a user can have open? I know that there are limitations you can apply on the 400 but in my case that won't work. I'm running a terminal Server (www.ltsp.org) and so every thing shows that it is coming from that server. anyway if you can think of or know of a way to limit the number sessions running i would be much abliged. Thanks Matt Egan --__--__-- Message: 2 From: Martin Rowe <[EMAIL PROTECTED]> Organization: Jamaro To: [EMAIL PROTECTED] Subject: Re: [LINUX5250] limiting number of open sessions Date: Sat, 1 Sep 2001 13:39:10 +0100 Reply-To: [EMAIL PROTECTED] On Friday 31 August 2001 10:32 pm, Egan, Matt B. (Artco) wrote: > Is there anyway to limit the number of open TN5250 windows a user can > have open? I know that there are limitations you can apply on the 400 > but in my case that won't work. I'm running a terminal Server > (www.ltsp.org) and so every thing shows that it is coming from that > server. anyway if you can think of or know of a way to limit the number > sessions running i would be much abliged. > > Thanks > Matt Egan How about setting the env.DEVNAME variable in .tn5250rc. That way only the one session with that name can be running. I have this for my work sessions and for my netshare account from home, as it has the advantage of grabbing the same SQL session too. I don't know how feasible this is for your lts, but it might be worth a try. It does involve setting individual menu options/icons, though (sesion 1, session 2, etc). Regards, Martin -- [EMAIL PROTECTED] / [EMAIL PROTECTED] http://www.dbg400.net DBG/400 - DataBase Generation utilities Open Source test environment tools for the AS/400 / iSeries and miscellaneous database & spooled file management commands. --__--__-- _______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.