LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-09-2008, 12:09 AM   #1
Lakki
Member
 
Registered: Jul 2008
Posts: 32

Rep: Reputation: 15
Unhappy Default console 3 display on bootup


I am working in RHEL 5.0

I have merged my application into inittab. Hence i have limited my application in 3 consoles(tty1, tty2, tty3)
So, whenever my system boots up, my appln will start running in Console 3(tty3)

But by default, upon system boot up, Console 1(tty1) is visble.

Can anyone tell me how to make the system to display the Console 3(tty3) upon boot up?

Thanks for your help.
 
Old 09-09-2008, 09:34 AM   #2
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Please poost your copy of inittab so we can see the syntax within.

Thanks,

Stuart.
 
Old 09-09-2008, 11:26 PM   #3
Lakki
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Contents of our inittab:

id:3:initdefault: #Default run level is changed to 3 from 5

si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

1:2345:respawn:/sbin/mingetty tty1 #Normal console displaying login screen
2:2:respawn:/sbin/mingetty --autologin root tty2 #Console for server appln
3:2:respawn:/sbin/mingetty --autologin root tty3 #Console for workstation appln
4:2345ff:/sbin/mingetty tty4 #Unused console
5:2345ff:/sbin/mingetty tty5 #Unused console
6:2345ff:/sbin/mingetty tty6 #Unused console

S1:3:respawn:/u/oas_server/bin/runoas server </dev/tty02 >/dev/tty02 2>/u/tmp/server.out //Server Appln
S2:3:respawn:/u/oas_server/bin/runas analmgmt -d oas
S3:3:respawn:/u/oas_server/bin/runas repmgmt -d oas
S4:3:respawn:/u/oas_server/bin/runas datamgmt

W1:3:respawn:/u/oas_workstation/bin/runoas work </dev/tty03 >/dev/tty03 2>/u/tmp/work.out //Workstation appln
W2:3:respawn:/u/oas_workstation/bin/runas sampd >/u/tmp/sampd.out 2>&1

"After displaying all the system kernel messages, we would like the console 3(tty3) to be the first screen to be displayed to the user".
 
  


Reply



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
Default console/screen display on bootup Lakki Linux - Enterprise 6 09-02-2009 12:34 AM
FC 6 video display problem on first bootup pandorazbox Fedora 8 02-19-2007 08:03 PM
Configure default gateway at bootup lbora42 Linux - Networking 1 02-04-2007 02:11 PM
How do I bypass the console login after bootup? DeafGeek Linux - Security 4 09-20-2004 09:20 AM
Flashing console at bootup iamnilo Fedora 1 09-16-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:32 PM.

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