LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-10-2003, 02:05 PM   #1
yanar99
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Rep: Reputation: 0
blank virtual console?


hello there.

i just newly installed red hat 9.0, dual-booting with winxp. xp and the linux desktop work fine.

however, when i try to do a Ctrl-Alt-F1 (or f2, f3) to get to a virtual console, all i get is a blank screen. nada. this goes on for a long time until i get impatient and just ctrl-alt-delete twice to restart. i've tried thrice and got the same result.

any idea why?

thanks in advance!
 
Old 12-10-2003, 02:12 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,559

Rep: Reputation: 213Reputation: 213Reputation: 213
No clue why that's happening, but hitting Alt-F7 should take you back to your gui desktop. If that doesn't work, try doing Alt-Fx with x=1 through 6 and see if you can get back to the gui.
 
Old 12-10-2003, 02:56 PM   #3
yanar99
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Alt-Fx turned out to be shortcuts (Alt-f2 for example opens Run Program dialog).
Alt-F7 and Ctl-Alt-F7 did get me back to the gui.

One thing I noticed, though. Riight before I do a gui login, the virtualconsole login appears very, very quickly (I have a newbie book in front of me, that's how I knew it was a virtual console login). This last time, I was able to "catch" it and type my username, but just the same, it disappeared and proceeded to load the gui.

???
 
Old 12-10-2003, 10:31 PM   #4
yanar99
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Original Poster
Rep: Reputation: 0
help please, anyone?
 
Old 12-11-2003, 01:24 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Clueless about RH but maybe you're booting to a GUI by default and RH disables virtual consoles in that runlevel? Edit /etc/inittab to go to a console runlevel and/or add consoles to all runlevels?

Alt-F[n] cycles you through consoles - Ctrl-Alt-F[n] breaks you out of a GUI if there's any console to go to.
 
Old 12-11-2003, 03:28 AM   #6
yanar99
LQ Newbie
 
Registered: Dec 2003
Posts: 14

Original Poster
Rep: Reputation: 0
thanks for your replies.

i tried changing the runlevel to a "3" and i got a console. i was able to play around with it fine. i "startx" and i got the gui fine. when i pressed ctl-alt-fn again to go back to the console, i got a blank screen again.
 
Old 12-11-2003, 11:08 PM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,559

Rep: Reputation: 213Reputation: 213Reputation: 213
Post your /etc/inittab file. That's what spawns the virtual terminals on boot by calling a "getty" program located in /sbin; the common ones are getty, agetty or mingetty. Here's mine from mandrake:

Code:
#
# 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 Mandrake Linux 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

The last six lines are for creating the virtual terminals 1 thru 6. The "respawn" in each line is important. That means that init should restart the command given in the entry when the getty process dies which is every time a user logs out. The "getty" program executes /bin/login to initiate a login session on that terminal.

Last edited by kilgoretrout; 12-11-2003 at 11:10 PM.
 
Old 12-12-2003, 02:23 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,039

Rep: Reputation: Disabled
Quote:
Originally posted by yanar99
... i "startx" and i got the gui fine. when i pressed ctl-alt-fn again to go back to the console, i got a blank screen again.
Try
Code:
startx &
Silly aside: You made sure there is no screen saver running?
 
  


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
Blank console screen after kernel upgrade saltireboy Slackware 2 05-06-2005 03:47 AM
virtual console Ammad Linux - Networking 2 04-05-2005 10:20 PM
Blank console on boot?? em00guy Slackware 4 10-20-2004 01:22 PM
virtual console kjsubbu Linux - Networking 0 07-23-2003 11:18 AM
system text console blank after install (not X) e_buzz Linux - Software 1 03-01-2002 09:04 PM

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

All times are GMT -5. The time now is 11:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration