Problem
I would like tty02 on the console to be non-graphical. What do I do to start scologin on another tty?
Solution
Scologin can be started automatically on a different tty by taking the following steps:
1. Stop scologin by typing the following from a _non-graphical_ screen on the console:
# scologin disableYou will see a message stating that scologin is being stopped.
2. cd into /usr/lib/X11/scologin where you will see the file "Xservers".
The file Xservers contains the following lines:
# This line will start a server named :0 on tty02:0 local /usr/bin/X11/X :0 -crt /dev/tty023. Using the vi editor, change "/dev/tty02" to something else, such as "/dev/tty12".
4. Since this file is read-only by default, do ":wq!" to save your changes.
5. Now, from one of the _non-graphical_ console screens, log in as root and type "scologin enable".
You should see the message that scologin is starting on /dev/tty12 at this point.
Scologin will now automatically start on tty12 by default.
NOTE: If you would like the console to not switch to the screen running
scologin, using the vi editor, change the following lines in:/etc/rc2.d/P86scologinIn the Main section from:/usr/bin/X11/scologin > /dev/null 2>&1 &
switch_screen $2to:/usr/bin/X11/scologin > /dev/null 2>&1 &
echo "Starting scologin on /dev/tty`servers`." > /dev/console
# switch_screen $2Then restart the server, scologin will start in the tty defined in Xservers above but the startup information will remain on the first console.