Hi Bart,

Hmmm... not familiar with Raspberry Pi (I think I said that yesterday, too...)

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 :
/etc/rc.local/etc/init.d/
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 ?
Bart


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].