View topic - No controlling tty

No controlling tty

Discussion about the QNX6 OS.

No controlling tty

Postby sheran.vaz » Tue Dec 23, 2014 3:22 am


I created a QNX bootable CD. Started /bin/sh in rtinstall script. Shell starts but below messages are displayed.

"/bin/sh: No controlling tty (open /dev/tty: No such device or address)
/bin/sh: warning: won't have full job control"

What should be done, prior starting the shell?

Senior Member
Posts: 101
Joined: Mon May 11, 2009 9:17 am

Re: No controlling tty

Postby Tim » Tue Dec 23, 2014 7:12 pm

Usually you start tinit rather than the shell. Tinit then invokes the shell when the user logs in. ... tinit.html

If you don't do things that way then when you exit your shell it will be gone forever (ie no new shell / login).

Senior Member
Posts: 1420
Joined: Wed Mar 10, 2004 12:28 am

Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 6 guests