Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-08-2013, 10:19 PM   #1
LQ Newbie
Registered: Oct 2013
Location: Ottawa, IL
Distribution: Wheezy (Debian)
Posts: 7
Blog Entries: 1

Rep: Reputation: Disabled
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.
Old 10-08-2013, 11:54 PM   #2
LQ Newbie
Registered: Oct 2013
Location: Ottawa, IL
Distribution: Wheezy (Debian)
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
graphics resolution in tty1->tty6 radiodee1 Debian 2 06-23-2010 08:19 AM
[SOLVED] Ubuntu 9.10: using screen in tty1-tty6 ESC201 Linux - Software 2 12-13-2009 03:33 PM
block tty6 in run level 4? drkstr Slackware 14 07-08-2006 02:33 AM
Starting Folding@Home on tty6 automatically Icarus315 Linux - Software 3 02-01-2005 09:32 AM
tty1-tty6 black screen with 2.6.6 agents Linux - Newbie 1 05-21-2004 11:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration