LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   No TTY when pressing Alt+F1 - 7 (https://www.linuxquestions.org/questions/fedora-35/no-tty-when-pressing-alt-f1-7-a-352962/)

tribalmasters 08-13-2005 04:58 PM

No TTY when pressing Alt+F1 - 7
 
I posted before but I think it was too long and this is the most important to fix so here goes

I am running Fedora Core 4, upgraded from 3 using the unsupported YUM way of doing things and I get no TTY when pressing my Ctrl Alt+F 1 7 keys just a blank screen. I can switch back to X as normal using Alt+ F 7 key after this happens. Any idea whats wrong? Something to do with Getty perhaps? I dunno!! Please help

--EDIT---
I reported the bug to bugzilla and one other user has the same problem.

win32sux 08-13-2005 06:00 PM

what does your /etc/inittab look like??

tribalmasters 08-13-2005 06:08 PM

Hold on I will post it...

tribalmasters 08-13-2005 06:15 PM

Hows the best way to get it?? I am very poor at using emacs

tribalmasters 08-13-2005 06:18 PM

aha!
 
AHA! I got it it looks like this

#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:

# System initialization.
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

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# 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:once:/etc/X11/prefdm -nodaemon

tribalmasters 08-13-2005 06:26 PM

Looks like a smiley got caught in there,

I don't knoe how to turn erm off the lil critters hehe

tribalmasters 08-13-2005 06:41 PM

BTW I don't have a UPS:-/

What file is responsible for making these TTYs appear? Its quite a strange problem that never happened in Fedora Core 3 and without my TTYs, I am unable to see whats wrong when Gnome goes bad on me or shutdown the system! I am lucky tho, I made sure before I upgraded that pushing the power button should put the system into runlevel 0 safely :-)

--EDIT--
Spelling mistakes

btmiller 08-13-2005 08:36 PM

The /etc/inittab you posted looks like it's stting mingetty on tty1-6 properly. Can you verify (using ps) whether mingetty is running (the mingetty lines in /etc/inittab are what should be controlling this).

tribalmasters 08-14-2005 03:04 AM

Did I type this right?

[gcarlile@blackone ~]$ ps mgetty
ERROR: TTY could not be found.
after that came just basically a help page
Sorry I am still learning :-)

win32sux 08-14-2005 02:27 PM

please post the output of these commands:

Code:

ps aux | grep mingetty
Code:

ps au

utsavhanda 08-15-2005 10:02 AM

Hi There,
 
Hi there,

well the problem u r/were facing is the same that i was facing.

so digging up up info from net reveals me that it is the bug in the fc4 which will be fixed soon.

so in order to get ur tty's just backup ur

/usr/X11R6/lib/modules/libvgahw.a

and copy the libvgahw.a from a fc3 box or from some fc3 machine.

also u can get fc3 file from here :--
http://rapidshare.de/files/2399145/libvgahw.a.html

Just cp the file and reboots and voila ur problem is solved.

Hope This helps U.

Ur's
Utsav Handa
# Learning Linux


All times are GMT -5. The time now is 12:31 PM.