LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Spawn agetty manually ? (https://www.linuxquestions.org/questions/slackware-14/spawn-agetty-manually-4175512253/)

dunric 07-25-2014 08:12 AM

Spawn agetty manually ?
 
Hello,

as having a bit spare time I'm playing with runit on Slackware. Everything seems to be set correctly however I'm having issues agetty won't open on a specified tty:
Code:

agetty -8 38400 tty8 linux
just silently dies, without any error message. Launched from a console as root, tty8 is unoccupied.

Can anybody explain above behavior and how to "fix" it ?

dunric 07-25-2014 08:42 AM

Humph, answering my own question.
I've discovered I'd need to run it with setsid as agetty thinks tty is already controlled when launched from an existing session.


All times are GMT -5. The time now is 07:16 PM.