Re: X setup on Debian?

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 09/03/04


Date: Fri, 03 Sep 2004 12:02:00 +0200

Hello

(Follow-Up to alt.os.linux.debian ignored, because it is not yet
available for me)

Madhusudan Singh (<spammers-go-here@spam.invalid>) wrote:
> Andy wrote:
>
>> I just installed Debian on an old Dell CPx laptop. I got it
>> installed and it boots, and I thought I had the right settings for
>> Xfree86 but apparently I didn't.
>>
>> Debian boots straight up into a graphical logon and my X config is
>> screwed up so I can't do anything. All I get is angry technicolor
>> static on the screen, like the video card or refresh rate is wrong.
>> ctrl-alt-backspace does nothing (shouldn't that shut down X?).
>> ctrl-alt-F1 thru F4 cause the screen to blink like it's going through
>> different spaces, but they're all X (and screwed up too).
>> ctrl-alt-del eventually reboots the machine.

If the virtual consoles are broken as well, this /could/ be some
conflict between X and the console framebuffer driver. Did you try to
turn off the framebuffer driver, e.g. by passing

vga=normal
video=vga16:off

or something like that to the kernel?

Also, what kind of graphic card does the laptop use? And what version of
Debian do you use? XFree 4.1 in Woody does not support some older
cards, for which you would have to use XFree 3.3.6, or XFree 4.3.

>> I've been booting off the CD-ROM, mounting /dev/hda1, getting a
>> shell, editing inittab and setting the level to 1 so it goes into
>> single user mode.

By default, runlevels 2,3,4 and 5 on Debian systems are identical. You
could remove the xdm/kdm/gdm symlink for some runlevel, and boot into
that one. You can also boot into single user mode without the CDROM,
simply press <TAB> at the lilo prompt (if you use lilo), and append

init 1
or
init s

to the prompt.

>> I tried setting xf86config to be plain vanilla VGA, but that
>> made no visible difference.

If the card is not too old, you should rather try the VESA driver, which
should work with all VESA 2 compliant cards.

> You can boot linux single and edit the horizontal and vertical refresh
> parameters. Changing the SVGA to VGA or anything like that will not
> help. It sounds like your refresh rate is wildly wrong.
>
> <ctrl>+<alt>+<backspace> will *restart* X, not kill it.

That depends on how X was started. If you use some login manager, this
is true. You would have to shut it down, e.g. using

/etc/init.d/xdm stop

But of course, this is difficult without working consoles.

best regards
        Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


Relevant Pages

  • Re: Debian Installation upon an Alpha Server 4000 5/400
    ... Differential SCSI controllers -- I was able to utilize an Adaptec ... AHA-2944UW controller card to have Debian locate a disk and complete a full ... but unfortunately the driver support for that card seems to have atrophied ...
    (Debian-User)
  • Install USB mouse, lose keyboard
    ... Dual boot Windows and Debian, ... Keyboard and mouse work fine. ... Shut down, no power down, reboot. ... Debian boots with a few messages, ...
    (Debian-User)
  • Re: dumb question - not sure where to begin configuring a wifi card
    ... > I'm using Debian sarge, ... > not sure what I need to start trying to get this card configured. ... If you card uses the Atheros chipset, you need an Atheros driver. ...
    (Debian-User)
  • Re: getting broadcom wireless to be recognized and working
    ... I'm curious what your particular card you have. ... broadcom card working and it was rather painless. ... dmesg and version of debian you're using. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [Sdhci-devel] sdhci ubuntu problem.
    ... when card is inserted in card reader at boot time sth. ... As you have ndiswrapper rearing its ugly head just above, ... I started fight with tifm driver. ... I made a 2.6.18 kernel from debian by ...
    (Linux-Kernel)