LinuxQuestions.org
Visit Jeremy's Blog.
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 08-13-2005, 02:28 AM   #1
dengar
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Cltr-Alt-f3 issues


I'm using Debian Sarge 3.1 on a Gateway 200 ARC laptop, with centrino mobile m 1.6ghz, onboard video sound etc.

When I first installed everything was fine, however when I updated xserver to the Xorg version stuff began to break. First the keyboard had issues with debian not keeping whatever configuration it uses for the keyboard. After installing the xfree86 version of xserver then going back to xorgs this got fixed (at least I think that's why it got fixed).

Now however switching to the command prompt using cltr-alt-f3 is broken. When I press the key combination the screen goes black completly, no prompt, no text nothing. I can use clt-alt-f7 to get back to the gui however. Previously, clt-alt-f3 worked (ie before xserver xorg)

I'm assuming xorg's xserver is causing the problem. Is there any configuration tool I can use to make xserver fix itself? Has anyone else encountered this problem?

As is probably obvious I'm new to linux (currently dual booting with XP) and wasn't able to find another thread that dealt with this. Thanks for any help that can be provided!

Edit: Completly unrelated but another n00b question. Debian uses GRUB as a bootloader. Is that stored in the debian partition or in a seperate place? Ie if for whatever reason I wanted to completly remove debian (ie to try another distro or something similar) could I just delete all the linux partitions, or would I have to specially revert wherever GRUB is back to how it was originally.

Last edited by dengar; 08-13-2005 at 02:31 AM.
 
Old 08-13-2005, 02:40 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It's actually probably not an X problem. The problem is likely that no getty is set to listen on tty3. To fix this, go to your /etc/inittab file and find the lines that control the getty processes, they'll look something like this:

Code:
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
Note: check your getty -- Debian may use something other than mingetty, perhaps agetty. Anyway, the first field is the ID (must be unique within inittab, the 12345 are the runlevel list for the getty to be active on, respawn tells it to rerun on exit (this is why the login prompt keeps coming back up after yo logout) and the last field is the command. Your job is to make sure that there is a getty active for tty3 for whatever runlevel you are in. You'll need to edit inittab and use "telinit q" to tell init to re-read the inittab. Then you should be set.

BTW I'm really tired and have to get up early tomorrow, so I hope this even makes a little bit of sense...
 
Old 08-13-2005, 03:05 AM   #3
dengar
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the quick responce. I got as far as editing inittab

This is what I saw:

# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
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

Everything looks like it should (at least from the man pages and stuff I've been able to find) Since the getty for tty3 is there I assume that either something else is the problem, or that's not the right syntax. Any thoughts?

Last edited by dengar; 08-13-2005 at 03:37 AM.
 
Old 08-13-2005, 08:11 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It looks like getty only runs in runlevels 2 and 3. Usually if you are booting into a graphical login thats runlevel 4 or 5m so you'll need to add 4 or 5 to the second field. Check your /etc/inittabl for what the initdefault is set to. Otherwise, check your error logs for getty error messages.
 
Old 08-13-2005, 02:01 PM   #5
dengar
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Tried changing it to 2345, it didn't work. I looked at the main system error log file and it didn't have anything about getty error messages. Any other suggestions?
 
Old 08-14-2005, 03:41 AM   #6
dengar
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Since switching using ctrl-alt-f3 seems to only work after xserver is started I'm presuming its an xserver problem. I tried running dpkg-reconfigure but nothing changed after I ran it. Anyone have other suggestions?
 
  


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
ALT+B, ALT+F key combinations in xterm don't work nIMBVS cAos 4 12-15-2011 02:52 AM
How do I get Right-Alt key to be just Alt and not generate special characters? (KDE) KWTm Linux - General 2 06-25-2005 10:26 PM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 09:13 AM
FreeBSD: Difference between Alt Gr and Alt Sharph *BSD 0 10-02-2004 04:45 AM
Alt-Tab and Alt-F4 in Fluxbox? tavilach Linux - Software 2 07-17-2004 05:03 PM


All times are GMT -5. The time now is 10:29 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