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 09-05-2008, 10:55 AM   #1
LQ Newbie
Registered: May 2008
Posts: 29

Rep: Reputation: 15
Inittab: Command for switching display to tty2/3/4/...

I'm editing my inittab and on some runlevels, I have a number of things happening on various ttys (or vcs). However, I can't figure out what I need to do to switch the display automatically to a specific console. I know that there is some command or other that I could insert in my inittab but I can't remember it. In short, what is the command equivalent of Ctrl+Alt+F2?

Last edited by chochem; 09-05-2008 at 10:56 AM.
Old 09-05-2008, 07:42 PM   #2
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
chvt X

where X is any existing tty number.
Old 09-06-2008, 12:43 PM   #3
LQ Newbie
Registered: May 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks! (message too short) Thanks again


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
switching to LCD display? sys1wcb Linux - Hardware 1 07-09-2005 04:01 AM
Switching Applications to remote display vipermuffin Linux - General 1 05-13-2004 05:26 AM
rh9 boots to command line when inittab set to 5 BobNz Linux - Newbie 3 04-22-2004 09:56 PM
Standby mode for drive, where does command go? inittab? Eradicator Mandriva 1 04-16-2004 09:35 AM
Switching Runlevels without editing inittab? Korff Linux - General 9 06-02-2003 02:27 PM > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration