Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
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:
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
# Author: Miquel van Smoorenburg, <firstname.lastname@example.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)
# System initialization.
# 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
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-12-2003 at 12:10 AM.