LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian hates my soul (https://www.linuxquestions.org/questions/linux-newbie-8/debian-hates-my-soul-905883/)

mikey6705 09-30-2011 11:34 PM

Debian hates my soul
 
I am going to get debian working on my computer. I have it installed.
but when you boot, after grub it appears to start xwindows then the screen goes black... I went on the cd in recue mode and tried to install the driver but no luck. The weird thing is once I am in rescue mode and do a startx gnome comes up but I can't use my mouse or keyboard. When you boot up normally I hear a sound through my speakers and the keyboard leds are working so that tells me that the keyboard is working although my monitor isn't.

there isn't a /etc/X11/xorg.conf file which is weird.. I have an integrated nvidia video card so i don't know if this is why I don't have an xorg.conf file or not.

the "video card" is an nvidia 8400gs or something of that nature.

any help would be awesome.
(computer has been down for 2 days :-/
using ubuntu to web surf :-D )

bigrigdriver 10-01-2011 12:33 AM

Boot into rescue mode and try these instructions:
http://wiki.debian.org/Xorg?action=s...ect=ConfigureX
http://wiki.debian.org/NvidiaGraphicsDrivers

jdkaye 10-01-2011 12:48 AM

Quote:

Originally Posted by mikey6705 (Post 4486917)

there isn't a /etc/X11/xorg.conf file which is weird.
any help would be awesome.
(computer has been down for 2 days :-/
using ubuntu to web surf :-D )

No, it isn't. Later versions of xserver-xorg do not routinely use xorg.conf. I don't use it on my system. You should have something like this folder however: /usr/share/X11/xorg.conf.d
Have you looked for errors in your /var/log/Xorg.0.log file? These are indicated by a leading (EE). That may be helpful in diagnosing your problem.
ciao,
jdk

Knightron 10-01-2011 03:44 AM

it sounds to me like the modules to your kernel aren't loading, but i'm inexperienced in that issue, so someone will have to verify that..

craigevil 10-01-2011 03:59 AM

Quote:

Originally Posted by bigrigdriver (Post 4486938)

The above should be the correct advice to follow.

Of course it would help if you mention what you have done to fix the problem, and what version of Debian you are running.

syg00 10-01-2011 04:14 AM

Hmmm ....
(potential) Debian users have souls .... ???

Interesting metaphysical conundrum.

mikey6705 10-01-2011 09:54 AM

Quote:

Originally Posted by craigevil (Post 4487042)
The above should be the correct advice to follow.

Of course it would help if you mention what you have done to fix the problem, and what version of Debian you are running.

Your right I tried to keep things short.. version 6 squeeze of debian ( the latest copy off there website 6.0.2.1)

I did the walk threw bluedog posted on this site.
http://forums.debian.net/viewtopic.php?f=5&t=502
(it pretty much installs the driver from aptitude)
( aptitude install nvidia-glx )

I did a reinstall and set the priority for debconf to low so during the install it asked me if I wanted to use non-free software( and selected yes )

I tried to download the drivers off of nvidia's website. I had an error at first but it seems to have been using a wrong version of gcc or something of that nature I changed the variable and it seems to have gotten rid of that error however there is still an error at the end of the install...

mikey6705 10-01-2011 10:03 AM

also on a side note does anyone know how to make it so that debian doesn't go into a gui when you boot up. it would be nice to not have to use the rescue cd :-/

Just thought That I would ask
Thanks for the input.
I will try the things bigrigdriver posted tonight.

jdkaye 10-01-2011 10:47 AM

Quote:

Originally Posted by mikey6705 (Post 4487213)
also on a side note does anyone know how to make it so that debian doesn't go into a gui when you boot up. it would be nice to not have to use the rescue cd :-/

Just thought That I would ask
Thanks for the input.
I will try the things bigrigdriver posted tonight.

In your grub menu (if you're using grub, that is) you should see a recovery mode paired with your normal boot up mode. If you select recovery mode the boot up procedure stops before you reach the gui stage and enables you to log in to a virtual terminal.
ciao,
jdk

kasl33 10-01-2011 12:31 PM

Quote:

Originally Posted by mikey6705 (Post 4487213)
also on a side note does anyone know how to make it so that debian doesn't go into a gui when you boot up. it would be nice to not have to use the rescue cd :-/

Just thought That I would ask
Thanks for the input.
I will try the things bigrigdriver posted tonight.

When you restart the computer, you will get the GRUB boot menu. Instead of pressing enter to boot the system, select the OS you want to load and then press the letter "e" intead. This will allow you to "edit" GRUB's loading parameters.

Next, to boot into runlevel 3, simply put the number 3 (no quotes, no commas, nothing else) at the end of the line. For example (I use Arch, but it should be roughly the same - notice the 3 after vga-773):

Code:

# (0) Arch Linux
title  Arch Linux
root  (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/fc8b7aba-6411-4f67-a7a6-5a0d7f90dc85 ro quiet vga=773 3
initrd /initramfs-linux.img

Next, for Debian, it seems like Nvidia drivers aren't supported out of the box unless you add a repo. For me, I install the drivers from Nvidia's website. To do this, follow these directions:

Code:

Remove your nvidia-glx drivers and download the ones from Nvidia's website:
apt-get remove nvidia-glx #I would guess

If you can't download them, post your video card's exact specs and I'm sure somebody here can give you a link so you can download them in runlevel 3 with the wget command.

Do the rest here as root:

Install Nvidia requirements:
Code:

apt-get install gcc make linux-headers-`uname -r` build-essential
After that, change to runlevel 3 if you aren't there already:
Code:

/etc/init.d/gdm3 stop [Change gmd3 to kdm, or whatever else if you are using them)
Press Alt+Right Directional Key if you get a blank screen instead of the terminal

Now install the nvidia:
Code:

cd /home/[Your username]/Downloads [You need to go to the directory which that file is in, so the path may change]
chmod 770 NVIDIA-Linux-*
./NVIDIA-Linux-*

Now, you might get the error about gcc... Don't abort the installation. Other steps are easy (if you got any errors and didn't know what to do, leave a comment), and as the last step, it will ask something regarding nvidia-xconfig... Choose yes.

mikey6705 10-03-2011 05:38 AM

I got the nvidia driver to install. I did some googling and added a few switches ( sh NVID* -k $(uname -r) )

at the end of the installation it asked if I wanted to edit the xserver config and I said yes.

But it still ain't working.


I have a defective video so I popped that in my computer and i could see that it could get to the desktop. But yeah, its still faulty :-(
if I wasn't so cheap I probably would buy a new one...


All times are GMT -5. The time now is 12:03 PM.