Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-06-2004, 06:56 AM   #1
Registered: Jul 2003
Posts: 152

Rep: Reputation: 30
What is getty?


I modified the file "/etc/inittab" such that the number of getty process
becomes 1.

If I delete all the getty process, what will happen?
Actually, what's the use of this process?

Old 07-06-2004, 08:13 AM   #2
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
The getty processes configured by the entries in /etc/inittab create pseudoterminal sessions that you can access by pressing <CTRL><ALT><F#>, where <F#> is one of your <F1>-<F6> keys.

This can be useful in many ways. It is a quick way to access a terminal session, or a way to get a logon prompt when something bad is happening to your X session. I personally use it to turn my local linux box into a KVM switch by launching multiple XDMCP sessions to different remote unix boxes by invoking from each of the terminal sessions:
X :# -query <hostname>
where # in #th X session I am launching.
1 members found this post helpful.
Old 07-07-2004, 05:54 AM   #3
LQ Newbie
Registered: Jul 2004
Posts: 3

Rep: Reputation: 4
getty = Get TTY. This is from the original days of Unix back in the late 60's. Each getty is just a process waiting for some form of communications input on the port it has been assigned to.

Whatever you do DON'T kill all of the gettys. leave at least one.

As mentioned by IDAHO it gives you multi user logins.

1 members found this post helpful.


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
Help my getty is being a yetti!! Law1213 Slackware 6 06-24-2006 02:07 AM
Getting getty to run. kulmis Debian 2 09-03-2004 01:51 PM
getty in RedHat 8.0 kprocter Linux - General 1 06-02-2003 10:23 AM
Autologin Getty rch Linux - Security 5 04-15-2003 01:04 AM
ititilize ttySX using other than getty frieza Linux - Software 3 10-01-2002 11:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:58 PM.

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