Replacing getty with fgetty


Results 1 to 7 of 7

Thread: Replacing getty with fgetty

  1. #1
    Join Date
    Dec 2002
    Location
    Seattle, WA USA
    Posts
    797

    Replacing getty with fgetty

    How would one go about doing this? There is no actual package in Debian for getty.

    Is there a "Debian way", or just manually?
    Install the Justlinux.com search plugin for Mozilla/Firefox!

    G4L: Your best friend and your worst enemy
    Distrowatch: (Nearly) Complete profile listing of popular Linux distributions
    Lest you want a tonguelashing, Read the posting guidelines first
    Jabber: creepyt at jabber.org IRC: #justlinux
    Now 100% MSTD free! Enjoy the onslaught of Microsoft transmitted diseases, suckers!

  2. #2
    Join Date
    Oct 2002
    Location
    Illinois
    Posts
    3,281

  3. #3
    Join Date
    Dec 2002
    Location
    Seattle, WA USA
    Posts
    797
    Yeah I looked at that, but it still doesnt help me as the only one of those I have on my system is fgetty, which is the one I want, not the one that exists in my system that I *dont* want.

    The only package on my system containing "getty" is fgetty, but its not in use, getty is.
    Install the Justlinux.com search plugin for Mozilla/Firefox!

    G4L: Your best friend and your worst enemy
    Distrowatch: (Nearly) Complete profile listing of popular Linux distributions
    Lest you want a tonguelashing, Read the posting guidelines first
    Jabber: creepyt at jabber.org IRC: #justlinux
    Now 100% MSTD free! Enjoy the onslaught of Microsoft transmitted diseases, suckers!

  4. #4
    Join Date
    Aug 2002
    Location
    Right behind you.....
    Posts
    105
    If you have fgetty installed, you have to change your inittab file (/etc/inittab) to have it use fgetty instead of getty. So open up /etc/inittab in a text editor as root, and scroll down until you see something like this:

    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

    and replace the word getty with fgetty and you should be good to go. Hope that helps.

    -Gro$$

  5. #5
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Check to make sure /sbin/fgetty exists first! If you don't, you won't be able to log in when you reboot.

    It may be that the main executable of the "fgetty" package is actually named just plain "getty", too.

  6. #6
    Join Date
    Dec 2002
    Location
    Seattle, WA USA
    Posts
    797
    Quote Originally Posted by Gro$$
    If you have fgetty installed, you have to change your inittab file (/etc/inittab) to have it use fgetty instead of getty. So open up /etc/inittab in a text editor as root, and scroll down until you see something like this:

    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

    and replace the word getty with fgetty and you should be good to go. Hope that helps.

    -Gro$$
    First of all, yes, fgetty exists under /sbin.

    Took this advice, and now when it starts X it repeats "could not chown/chmod tty device", then starts X/KDE, gets to the point of "initializing peripherals", then kills X, and starts X again, and is caught in this loop.

    I will change inittab back to get functionality back, but would still like to solve this.

    BTW, what has changed is that I am now doing this on Kanotix (also Debian Unstable, so shouldnt matter) and I replaced bash as the tty instead of replacing "getty".

    The ultimate goal of this is to speed up Debian by using fgetty instead. This was advised by the Debian Wiki LinuxSpeedup guide. http://wiki.debian.net/index.cgi?LinuxSpeedup

    EDIT: It appears this is not what is causing the X-restart, that problem is caused by an unnamed bug in the new Unstable repositories. However, this solution still causes the message of "could not chown/chmod tty device". Please advise.
    Last edited by timothykaine; 07-21-2005 at 11:17 PM.
    Install the Justlinux.com search plugin for Mozilla/Firefox!

    G4L: Your best friend and your worst enemy
    Distrowatch: (Nearly) Complete profile listing of popular Linux distributions
    Lest you want a tonguelashing, Read the posting guidelines first
    Jabber: creepyt at jabber.org IRC: #justlinux
    Now 100% MSTD free! Enjoy the onslaught of Microsoft transmitted diseases, suckers!

  7. #7
    Join Date
    Dec 2002
    Location
    Seattle, WA USA
    Posts
    797
    bumpity bump. Anyone?
    Install the Justlinux.com search plugin for Mozilla/Firefox!

    G4L: Your best friend and your worst enemy
    Distrowatch: (Nearly) Complete profile listing of popular Linux distributions
    Lest you want a tonguelashing, Read the posting guidelines first
    Jabber: creepyt at jabber.org IRC: #justlinux
    Now 100% MSTD free! Enjoy the onslaught of Microsoft transmitted diseases, suckers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •