LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Switch to tty6 on bootup (https://www.linuxquestions.org/questions/linux-newbie-8/switch-to-tty6-on-bootup-4175480102/)

RaspPi 10-08-2013 10:19 PM

Switch to tty6 on bootup
 
I have a program written in C that starts when system is booted.
I have disabled getty on tty6 and have set my program to put status updates on the tty6 console. Rather than switching with Alt-F6, is there a command I can run to switch to tty6 automatically when the system starts?
no rush on this.

RaspPi 10-08-2013 11:54 PM

Ok, this one is resolved as well. It was very simple...

$ sudo nano /etc/rc.local
put "chvt 6" just before the "exit 0" line.

Now when the computer restarts, it will automatically switch to tty6.


All times are GMT -5. The time now is 03:23 AM.