LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-28-2009, 11:56 AM   #1
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Question all terminals not working


Hi All,

I have RHEL-5 machine but only Graphical terminal is working for me(Ctrl + Alt + F7). It was pre-configured at office so I don't know whether during installation itself thay have done something for that. I am trying to check /etc/inittab file, but didn't get anything which would help me.
Could anybody please suggest me where can I check this problem, and how can I overcome this ??

Many Thanks in Advance,
kapil
 
Old 08-28-2009, 12:03 PM   #2
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Inspect /etc/securetty and if necessary add consoles from tty1 to tty6.
 
Old 08-28-2009, 12:09 PM   #3
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Hi W1K0,

Thank you for your reply.
I check /etc/securetty file , but all terminals (tty1 to tty9) are already there. Do i need to do anything else in that file.
Is there anything in /etc/inittab file, than can be checked again ??

Thank you,
Kapil.
 
Old 08-28-2009, 12:10 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
You would need to check the /etc/inittab file and see what the /sbin/getty that is spawned for 1 - 6.

Here is a sample from my debian box but it still should apply on yours

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

You may have to make the change and reboot but I am not sure. Also if you add these to your file make a backup first so that in the even something happens you can boot into rescue mode and restore the old file.
 
Old 08-28-2009, 12:28 PM   #5
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Hi jstephens84,

This is what I have in my /etc/inittab file, corresponding to your code :

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon


I think, it is already having information of all other terminals, and need not to edited anymore. Is there anything else I need to check ?
When I try any other terminal, it asks for username and password, but I can't login with any user, neither local user nor root user.

Thank you,
Kapil.
 
Old 08-28-2009, 01:58 PM   #6
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Unhappy

Hi All,

I checked /etc/inittab and /etc/securetty files, and both seem to be OK as they contain information about tty1 to tty6.
Then I checked /etc/shadow files as well for possibility of user being locked, but no such point is there. Users do exist properly in /etc/passwd and /etc/group as well.

Where else could be the possibility of finding the root-cause of this problem ? This is getting irritating now as this doesn't seemd to be so critical, but it is stopping all further work. When I try to login on any other terminal apart from F5, it is not looging in , and top of it, it is not giving any error as well.

Any suggestion in this would be a great help.

Thank You all in advance....
Kapil.
 
Old 09-02-2009, 11:09 AM   #7
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Hi All,

Any suggestion about the above problem ??

Regards,
Kapil
 
Old 10-26-2009, 01:34 PM   #8
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Hi All,

Sorry for bothering you all again regarding this non-usable console problem. Recently, I have re-installed 32-bit RHEL-5, and now I can use all terminals properly.
I wish to know in what scenario, these terminals can be locked, like I had earlier with pre-configured machine by admin ?? If it was OS fault , then can't be done much, but if it is a security feature, then it is another good feature of Linux

Regards,
Kapil
 
Old 10-26-2009, 06:03 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Possibly access.conf
http://linux.die.net/man/5/access.conf
http://linux.die.net/man/8/pam_access
 
  


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
USB problem on linux terminals vie NComputing X300 terminals Aleks` Linux - General 1 12-04-2008 05:39 PM
Virtual Terminals Not Working with GeForce MX 2 szim90 Ubuntu 3 04-27-2007 11:41 AM
Accessing Terminals in MEPIS. (Ctrl + Alt +F? not working) Eerath MEPIS 2 10-27-2005 10:51 AM
X11 terminals not working as single-user jplev22 Linux - General 3 02-11-2004 10:31 AM
aliases set by /etc/profile not working in terminals in X Locura Slackware 8 06-26-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 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