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 05-08-2003, 01:23 PM   #1
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Rep: Reputation: 15
Getting StartX to work in debian


is is a continuation of http://www.linuxquestions.org/questi...778#post296778
have a look if you want the history

the problem is startx don't work

here's the log file so what do i need to fix it

---Xfree86.0.log---

(II) Module type1: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "xie"
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XIE
(II) LoadModule: "nv"
(II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o
(II) Module nv: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.2
(II) NV: driver for NVIDIA chipsets: RIVA128, RIVATNT, RIVATNT2,
RIVATNT2 (A), RIVATNT2 (B), RIVATNT2 (Ultra), RIVATNT2 (Vanta),
RIVATNT2 M64, RIVATNT2 (Integrated), GeForce 256, GeForce DDR,
Quadro, GeForce2 GTS, GeForce2 GTS (rev 1), GeForce2 ultra,
Quadro 2 Pro, GeForce2 MX, GeForce2 MX DDR, Quadro 2 MXR,
GeForce 2 Go, GeForce3, GeForce3 (rev 1), GeForce3 (rev 2),
GeForce3 (rev 3)
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(EE) No devices detected.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to submit@bugs.debian.org.

Mark set

--- end Xfree86.0.log---

if the problem is drivers like i supect then which pair of the following files do i need and what are the the correct install commands for each?

GLX RPM
GLX SOURCE RPM
GLX Tar File
GLX RPM for SuSE 8.1
GLX RPM for SuSE 8.0
GLX RPM for SuSE 7.3
GLX RPM for SuSE 7.2

United Linux

Kernel Supported
United Linux 1.0

Sources

Kernel Supported
Kernel Source RPM
Kernel Tar File
 
Old 05-08-2003, 02:37 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
it seems driver proplem
what's your grafic card and its pord ????
 
Old 05-08-2003, 02:51 PM   #3
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
kernel tar file and GLX tar file. Read the README on the nvidia site on how to install. I just might as well tell you:
tar -zxvf NVIDIA_GLX-1.0-4191.tar.gz
tar -zxvf NVIDIA_kernel-1.0-4191.tar.gz
cd NVIDIA_GLX-1.0-4191.tar.gz
make
cd ..
cd NVIDIA_kernel-1.0-4191
make

or just dl the NVIDIA-Linux-x86-1.0-4363.run file and run it

edit /etc/X11/XF86Config-4
replace the nv driver line with nvidia
add Load "glx" in the module section
remove the DRI lines

that's all
 
Old 05-09-2003, 06:15 AM   #4
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Original Poster
Rep: Reputation: 15
thanks i'll give that a go when i can get back to the computer, probably next week
 
Old 05-09-2003, 06:46 AM   #5
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Original Poster
Rep: Reputation: 15
the NVIDIA-Linux-x86-1.0-4363.run does that require a direct internet link?
 
Old 05-09-2003, 07:13 AM   #6
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
no those are the drivers in a installation program, but there's an option in the progam to update and that requires an internet connection.
 
Old 05-09-2003, 07:32 AM   #7
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Original Poster
Rep: Reputation: 15
good i can use it then
 
Old 05-09-2003, 07:37 AM   #8
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Original Poster
Rep: Reputation: 15
oh while i'm herewhat do i need to do to get a USB 3 button optical trackball to work?
 
Old 06-04-2003, 11:34 AM   #9
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Original Poster
Rep: Reputation: 15
lots of obsence 4 letter words , i can't try that out my floppy drive has shreaded my boot disc, short of reinstaling the entire OS is there another way to make a boot disc?
 
Old 06-16-2003, 07:47 AM   #10
Windows Runaway
Member
 
Registered: Mar 2003
Location: Leicester
Distribution: Debian if i can ever get it working right
Posts: 46

Original Poster
Rep: Reputation: 15
sh NVIDIA-Linux-x86-1.0-4363.run

didn't work reported that it doesn't have the right kernal and can't make one because it can't find the header file

What Now?
 
Old 06-29-2003, 03:10 AM   #11
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
Xwindows in Debian

I'm very much a newbie myself, but I've been installing debian this weekend and ran into exactly the same problem you did. Here's how I fixed it. No guarantee it's the only way, or even the best way. but it worked.

** Credit to Chris Nitkin, who posted "Installing Debian GNU/Linux 3.0 on a Dell Inspiron 8200" at rain.prohosting.com/qmatrix1/DebianDell8200.
This solution is his, lifted by me and I barely understand what it's doing. **

login as root

Recompile the kernel:

# apt-get install kernel-source-2.4.18
# apt-get install libncurses5-dev
# cd /usr/src
# bunzip2 kernel-source-2.4.18.tar.bz2
# tar xvf kernel-source-2.4.18.tar
# ln -s kernel-source-2.4.18 linux
# cd linux
# make menuconfig

Select appropraite options for your system config - what's given at the above website is for a laptop, so I had to improvise.

Now exit and save, and execute the following commands:

# make dep
# make
# make bzImage
# make modules
# make install
# make modules_install

These, in order of execution, compile the dependencies, compile the kernel and store it as a bzipped image, compile any modules, and install both the kernel and the modules. When you run make install, you'll be asked if you want to run LILO. Say yes. No other interaction or errors should come up.
Now, the new kernel is installed as Linux and the former is labeled LinuxOLD on LILO. Let's fix that video problem and meanwhile, clean up the LILo boot menu a little bit...

# mcedit /etc/lilo.conf


To fix the video=vga16ff problem, find the section like this:

# Specifies the VGA text mode at boot time. (normal, extended, ask, )
#
# vga=ask
# vga=9
#
vga=normal


Change it to:

# Specifies the VGA text mode at boot time. (normal, extended, ask, )
#
# vga=ask
vga=4
#
#vga=normal

Run lilo to update changes, then reboot:

# /sbin/lilo
# shutdown -r now

Now, you need to get a couple nvidia driver files. they are:

NVIDIA_kernel-1.0-2960.tar.gz
NVIDIA_GLX-1.0-2960.tar.gz

These aren't provided by NVIDIA anymore, I dont think - I did a google search for 'em. They're older, but they work. Anyway, if you don't have internet up on your linux box yet (I didn't), you'll need to download and save them in an alternate OS, then mount the drive that conatins them by editing /etc/fstab and entering a line that looks like:

/dev/hda2 /mnt/Windows ntfs defaults 0 0

at the end. (This requires that you set your initial install to provide ntfs support. otherwise... well... find a paddle cuz you're up the creek.)

From / :

# cp /mnt/shared/NVIDIA_kernel-1.0-2960.tar.gz ./
# cp /mnt/shared/NVIDIA_GLX-1.0-2960.tar.gz ./
# tar xvfz NVIDIA_kernel-1.0-2960.tar.gz
# tar xvfz NVIDIA_GLX-1.0-2960.tar.gz
# cd NVIDIA_kernel-1.0-2960
# make install
# cd NVIDIA_GLX-1.0-2960
# make install
# mcedit /etc/X11/XF86Config-4

Edit a couple sections so they look like:

Section "Module"
# Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
# Load"dri"
Load"extmod"

...

EndSection

And then replace "nv" with "nvidia":

Section "Device"
Identifier"Generic Video Card"
Driver "nvidia"
Option"UseFBDev""true"
EndSection

After that, startx and it should work.

Now, here's the clincher: I did this and got KDE up and running, however, I don't have ethernet or sound working. I'm assuming this is because I haven't properly configured a module or kernel driver support for them. But I have no idea how to do that.

If you do, and feel like helping me out, I'm about to post a thread about it. Respond there.

Hope this helps in some way!


--Rounan
 
  


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
Startx doesn't work zaicheke *BSD 6 09-02-2004 02:59 AM
can't get startx to work Atari911 Slackware 3 01-12-2004 09:09 PM
startx won't work saiz66 Slackware 7 05-28-2003 05:14 PM
Won't startx on debian 3.0 Tech1 Linux - Distributions 29 04-26-2003 07:28 PM
startx doesn't work?!?!?! OCBeaver Slackware 6 11-27-2002 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 AM.

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