Jump to content

debian newbie- can't get into X


Recommended Posts

Also, Debian doesn't use XF86Config-4, it uses XF86Config.
:shock:

 

Mine does (Debian Woody>unstable)

localhost:~# cat /etc/debian_version

testing/unstable

localhost:~# uname -a

Linux localhost 2.4.20-3-k7 #1 Sun Jul 27 21:10:39 EST 2003 i686 GNU/Linux

localhost:~# ls /etc/X11

app-defaults             proxymngr     sysconfig      xfce4       Xsession

default-display-manager  rgb.txt       twm            XftConfig   Xsession.d

fonts                    rstart        X              xinit       Xsession.options

fs                       sawfish       xdm            xkb         xsm

gdm                      serverconfig  XF86Config-4   Xresources  xview

lbxproxy                 starthere     XF86Config-4~  xserver     Xwrapper.config

localhost:~#

I also use the nvidia installer .run from nvidia.com.

Link to comment
Share on other sites

  • Replies 142
  • Created
  • Last Reply

Top Posters In This Topic

Mine uses XF86Config... I started with a Woody CD and dist-upgraded to Sid...

 

EDIT:

 

The way it works is it uses either one, with -4 being more prominent. If you only have XFree86 4.X on your system, you only need one or the other, and I prefer the simpler approach of dropping the -4 from the name... That's the way it was meant to be, and the -4 was added because people were sticking both X versions on their system. Plus, the Debian guys that were helping me at the time told me to not use -4. And just now, a Gentoo user told me to ditch the -4 as well. :)

 

EDIT2:

 

Now I remember having problems editing one config and X was using the other, so I just deleted them both and used the one that was created by xf86config and then I didn't have to worry about it.

Link to comment
Share on other sites

I did the same as you. I just did a base install using the bf24 boot option, no extra stuff until after I got to a console prompt and edited my apt sources and then I dist-upgraded.

Link to comment
Share on other sites

I did the bf24 thing as well, and now I am double-sure I have the kernel-source installed (I tried to apt-get it again), and I installed kernel-headers just in case, nvidia (latest) still complains about no kernel-source.

I will also try deleting all the XFConfigs, then using the one I make...

I can't help but wonder if I shouldn't have just hit 'enter' to go with a 'safe' install?, instead of bf24?

Tonight, I will mess with this, and look at all the posted suggestions here again to see if I can't get nvidia installed.

I remember well- my first linux was mandrake 8.1, and I had a hard time getting Nvidia installed on that, too, but thanks to all you guys, It happened, and I've been hooked on linux ever since!

Good Morning.

:lol:

Link to comment
Share on other sites

If you go with the 2.2 kernel approach, you will have less hardware support &, I could be wrong on this but you might only have ext2 FS support, maybe ext3?? Certianly not reiserfs if you use it, you wont be able to.

 

Also, you might want to follow this for your first install(re-install) :wink:

 

http://www.osnews.com/story.php?news_id=2016&page=1

 

Link to comment
Share on other sites

Also, check these links out.

 

http://www.badoual.org/dir/repositorium/de...-deb.html.xhtml

 

http://www.linuxquestions.org/questions/sh...&threadid=74279

 

The easiest way would be to apt-get a new kernel.I

never did that when I used debian.Just did it the ond

fashioned way and got the kernel from

http://www.kernel.org

There is a how-to there.Just have a look at your

kernel.log in /var/log and do a modprobe to see what

modules are loaded by the kernel - you'll need those

with the new kernel.

If I where you and never compiled a kernel I would try

it with apt-get.If you don't have it you might

consider installing 'synaptic' as a grphical frontend

to apt to see what options you got there (there are a

lot of different kernels available for debian).

 

For nvidia, I would point you back to these links too.

Link to comment
Share on other sites

After you install the kernel-source>ls /usr/src. Because if I remember correctly it only places the bz2 there and doesn't uncompress it. DOlson or

cybrjackle could probably confirm whether I'm rt or wrong though.

 

Sorry, can't cofirm or deny that. :oops: It's been awhile. But like you say,

 

#ls /usr/src will let you know right away. :lol:

Link to comment
Share on other sites

I get the source myself, I patch it myself, and I make the debs myself.

 

Here's my process:

 

su

cd /usr/src/

wget http://www.kernel.org/pub/linux/kernel/v2....-2.4.21.tar.bz2

tar jxvf linux-2.4.21.tar.bz2

wget http://www.kernel.org/pub/linux/kernel/peo...-2.4.21-1.patch

cd linux-2.4.21/

patch -p1 < ../preempt-kernel-rml-2.4.21-1.patch

make menuconfig

# here I configure the kernel how I want it.

make-kpkg clean kernel_image kernel_headers modules_clean modules_image

cd ..

dpkg -i kernel-image-2.4.21-preempt_10.00.Custom_i386.deb kernel-headers-2.4.21-preempt_10.00.Custom_i386.deb # plus any other debs that were made for the optional modules, such as ALSA.

# here I manually add the boot entry to Grub and then I reboot.

Link to comment
Share on other sites

OK, that tutorial link really helped, I reinstalled Debian from scratch, and got into x by using the 'vesa' option, after taking the author's advice and getting windowmaker, and 'synaptic' which is really cool, downloaded Mozilla with it!

Now, for the bummer, I did 'apt-get install kde'

and now I can't log in to x anymore, the kde splash screen comes up and loads about half-way, then the screen pops off, and the Debian log-in comes back up. I can't figure how to get to a command prompt here, it won't let me...

So guys, what's up here? If I can get to a prompt I guess I could do 'apt-get remove kde', right?

Or will that let me use windowmaker again?

Thanks again, :oops:

Link to comment
Share on other sites

Do you get some popups about the X server then it gets disabled?

 

Can you Ctrl>Alt>F2 to get to a command prompt?

 

Have you tried to boot "(recovery mode)"/ init 1?

 

Which bootloader and which distro is the bootloader on? In debian's grub there's an entry for (recovery mode). I don't about lilo. In grub, the option to append is

single

(for single user mode).

 

example from grub's menu.lst

title Debian GNU/Linux, kernel 2.4.20-3-k7 (recovery mode)

root (hd0,7)

kernel /boot/vmlinuz-2.4.20-3-k7 root=/dev/hda8 ro single

initrd /boot/initrd.img-2.4.20-3-k7

savedefault

boot

 

How to use with lilo?...I d/k.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...