Technical article 109072

Can the console be the default screen after bootup instead of scologin?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

When the system is first booted up, the default screen
that comes up is tty02, which is running scologin.  I want
the default screen to be the console on tty01 running a
character-based screen.

Solution

Edit the scologin startup script to stop the system from
switching screens at boot time.  To do this, edit
"/etc/rc2.d/P86scologin" with your favorite editor.
Change the line:
switch_screen $2
to:
# switch_screen $2
The '#' character will treat the line as a comment within
the script and not be executed.  Scologin on tty02 will
only be started when you switch to that screen.  If you
want to disable scologin completely, enter the command:
scologin disable

This will stop the current scologin process and prevent scologin from starting when the system is rebooted.

See also

For more information, see scologin(XC).

From the Xinuos technical article database, record 109072. Reproduced with permission. The original is at www.sco.com/ta/109072, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.