LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-08-2013, 11:19 PM   #1
RaspPi
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-09-2013, 12:54 AM   #2
RaspPi
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.
 
  


Reply


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 09:19 AM
[SOLVED] Ubuntu 9.10: using screen in tty1-tty6 ESC201 Linux - Software 2 12-13-2009 04:33 PM
block tty6 in run level 4? drkstr Slackware 14 07-08-2006 03:33 AM
Starting Folding@Home on tty6 automatically Icarus315 Linux - Software 3 02-01-2005 10:32 AM
tty1-tty6 black screen with 2.6.6 agents Linux - Newbie 1 05-22-2004 12:56 AM


All times are GMT -5. The time now is 06:58 AM.

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