On Wed, 1 Oct 2003 Phillip.Watts@xxxxxxxxx wrote: > When my user restarts the window manager have startx kill all > AS400 sessions and restart them, usually 2 print sessions > and 3 display sessions. I'm a bit confused. How do the display sessions keep running after you kill X? > I have had a lot of problems getting all sessions to start and done a > LOT of testing, and arrived at the following conclusions: > 1. Kill sessions with signal 15. This seems to always kill them and > always allow a disconnect to occur. That's the standard way to kill any program. "Signal 15" is "SIGTERM" the terminate signal... It should be the default for both the kill and killall commands. > 2. Start sessions one second apart. I am guessing this alleviates confusion > of bunch of connections coming from same IP. That doesn't quite make > sense to me but it solves the problem. This I don't understand. I've tried to reproduce it, and I can't. I can start 20 xt5250 sessions from a shell script, all at the same time, and I don't have this problem. > I'd love an opinion on whether this is solid procedure or if I am just > masking something. Thanks. I'd like to try to get to the bottom of the "sessions not connecting" problem. What version of TN5250? Are you using SSL? After you've answered these questions, I'll (assuming that you're willing) put together a version of TN5250 that provides some better diagnostics about what's going wrong. Thanks
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.