Date: Thu, 5 Mar 2015 15:58:17 -0600
Subject: Re: [LINUX5250] auto-signon
Hmmm... not familiar with Raspberry Pi (I think I said that yesterday,
But, years ago I did something similar on RedHat. I also have done this
quite a bit on FreeBSD (which isn't Linux, but is similar in many ways.)
Running something from the startup rc scripts never worked because they
are not associated with a terminal, so I couldn't do anything that
required any fancy terminal I/O.
So what I did instead on linux was make my own copy of 'getty' (the
program that starts the ttys) that I modified to run my copy of tn5250,
and then configured my system to start the terminals using my special
copy of getty. This worked very well, and if the terminal session got
killed somehow, the init process would automatically restart it, so that
was helpful, too.
On FreeBSD, the getty program was much more configurable, I could add an
entry to my /etc/gettytab file that runs a shell script when the
terminal is opened... and so I made that script start up tn5250, then
adjusted /etc/ttys to make it run the script on certain terminals.
Not sure if any of that applies to Raspberry Pi, of course... but
thought it might be worth mentioning...
On 3/5/2015 12:57 PM, Bart Hoen wrote:
Hi once more,--
I am trying start the app and auto-login before the login prompt but I can't get it done somehow. I don't have any GUI installed I would just like to boot into 5250 in the before beging logging in.
I meanwhile tried various methods :
None works, the scripts run fine when ran after login though so there are no errors or anything. When I replace the 5250 command to something simple like ping it works fine ? It wil start pinging at the login prompt.
What am I missing ?
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives