Stuggling to get debian sarge to start up a GUI
Hello,
I am trying out Linux for he first time and I am also having a nightmare (me and Linux are off to a bad start) Why is it the most impossible thing to install? Anyway, I have debian sarge and i recently did a network install, selecting all components. I have got it running as far as a shell command line interface but obviously want to get a GNOME desktop or something similar I tried the command "startx" but i get the error (EE) cannot detect any devices no screens to display I'm guessing my video card is not setup correctly, i have an nVidia GeForce 6800GT. If i need to get drivers for it -> i have no idea what to do only using the command line. Please help any response immensly appreciated |
You could try running dpkg-reconfigure xserver-xfree86, and try using the nv or vesa drivers.
OTOH, you could do it right and start over installing Etch instead of Sarge. Sarge (Stable) is for servers and workstations in a production environment ... not for your home desktop. |
There are drivers available for your card, and you can get a look at them at http://www.nvidia.com/object/unix.html
You didn't mention what hardware (specifically what type of processor) you have, or we could give you an exact link. You can download from the command line with a command called wget. For example if you have some type of pentium 3 or 4 (not 64 bit and not dual core), you could type Code:
wget http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9746/NVIDIA-Linux-x86-1.0-9746-pkg1.run As rickh said however, you should not be running sarge. Sarge is set to be retired asap, so move up to etch. Also, etch comes with xorg, which the driver will try to modify to give you better settings, and I don't know if they still include the code to modify the xfree display system, as only debian sarge (which again is due to be retired a month ago) still uses. You can accomplish the update without reinstalling however! Become root at a command line, edit the file /etc/apt/sources.list and change everything that says sarge or stable with testing. Then save the file, update, then dist upgrade - like this - Code:
su Peace, JimBass |
Thanks for that
will try those ideas I am a developer believe it or not, bu have only used windows up until this point. So should i be using etch or sarge? |
Thanks JimBass
good to get a post from someone who knows what they are on with! I have an AMD 64 Athlon and an nVidia GeForce 6800GT What would i need to do differently to download that driver if i have a 64bit system? Thanks in advance |
Cancel the last question!
i need to get different drivers for my 64 bit processor - i get it! Will let you know the results |
But just because you have a 64 bit processor does NOT mean you have a 64 bit OS! In face, since you installed sarge, I know for a fact you DON'T have a 64 bit OS! The 64 bit version of Debian starts with etch, not sarge. Do this
Code:
uname -r Do not try to install the 64 bit driver, it will fail. If you want to get your Debian and kernel up to 64 bit, you need to install this OS - http://cdimage.debian.org/cdimage/da...64-netinst.iso But be advised, 64 bit OS is still under heavy development. They have no flashplayer for64 bit, java gets a little tricky, but not impossible. In short, it depends what you want to do with it. If you use it as a desktop machine, I suggest sticking with 32 bit for now. Peace, JimBass |
Righto
So i have a 64bit processor, but because sarge is installed i am running a 32 bit system... kk. I updated the file mentioned earlier so that anything sarge or stable now reads testing. Stuff appears to be downloading, it estimates over 2 hours so ill watch some snooker. I am presuming this will upgrade me to a 32bit version of debian etch. So gathering from what you just said (please correct me if i am wrong) with a 64bit processor and a 32bit OS i need to get the 32bit driver for my Gcard (i guess thats what i would have used in windows)# Ok thanks forthe help so far, will be back on in 3 hours struggling with my Gcard drivers no doubt. :eek: |
Yes, after the upgrade completes, you'll have a 32 bit version of debian. You would want the 32 bit driver, which is the very first one. It will be a very similar situation to what you had in windows, a 32 bit OS on a 64 bit processor. That doesn't effect the processing much, it is just memory space. A 64 processor can take 64 bit chunks of data, which it won't get in a 32 bit OS.
Write back when the update completes. You'll probably have to reboot to get the new kernel running, then we'll grab the kernel headers and sources, and install the nvidia driver. Peace, JimBass |
Some Progress
Hello,
I have succesfully downloaded all files required to upgrade to etch. I have rebooted my machine and recieved a "xstart unsucessful" message so I am now back to the GCard problem. I just used wget to download the correct driver for my card (the 32bit version :) ) I was having a perooze around the nvidia website and there was a link reading "please read this guide before installiing this driver" So i clicked the link and was scared off by a 1000 pages of double dutch. However the top of the page read : Quote:
Thanks again |
Quote:
To get round that, you would open a terminal window (or if you're just getting a command line interface) you either need to log in as root or do the Code:
su - Code:
apt-get install <packagename> Code:
apt-cache search nvidia Once you know the name of the package(s) that you need to install - if you are in graphic interface, then you'd need to (as root) do Code:
init 3 Code:
apt-get install nvidia-kernel-source Code:
apt-get install nvidia-glx I'm not a technical person, but if I can manage it, then I think you'd find it quite an easy process - their forums are good and if you "fire up" their IRC channel you can usually get a quick answer from one of the knowledgeable types who are developing it (just looked at the IRC list and, for example, slam and slh are both logged in - slam is one of their website admins and slh does most? of the kernel stuff - AFAIK they are all ex-kanotix developers - which is another story). regards bigjohn |
Ok so i looked at nVidias website and the next step according to them is to run the command
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run which runs an interface that should take you through a step by step process to get my graphics card driver working. I run the instruction and got the following: Quote:
and then i get: Quote:
then: Quote:
followed by: Quote:
I really have no idea what to do and seem to be feeling more and more thick, can anyone kindly suggest a solution for me as diving out of my window and splattering myself all over the floor seems to be a reasonable idea right now! Thanks in advance. |
It sounds like you haven't rebooted since doing the upgrade. You have gcc 4.1, and 3.3 was probably used to compile the old sarge kernel you were running. Please reboot, and then when you get debian back up, post the results of the command "uname -r" without quotes. We may need to install (through apt-get) a new kernel with full sources, largely to get one made with the newest gcc compiler.
Peace, JimBass |
i have deifnately rebooted since upgrading
uname -r gives output 2.4.27-3-386 whats the next logical step? I'm off out for T but will be back later, thanks again (i owe you a few beers already :)) |
2.4.27 is the old sarge kernel, so we need to get you upgraded. I'm a bit surprised that doing the dist-upgrade didn't grab you a new kernel, but whatever.
I use unstable, and the newest full kernel available at present is linux-image-2.6.18-3-686. See if you can get apt-get to install that, with the command Code:
apt-get install linux-image-2.6.18-3-686 Peace, JimBass |
All times are GMT -5. The time now is 04:12 PM. |