LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12:56 PM   #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, 01:03 PM   #2
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
Inspect /etc/securetty and if necessary add consoles from tty1 to tty6.
 
Old 08-28-2009, 01: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, 01: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, 01: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, 02: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, 12:09 PM   #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, 02: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, 07:03 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

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


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

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

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