LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting StartX to work in debian (https://www.linuxquestions.org/questions/linux-newbie-8/getting-startx-to-work-in-debian-58756/)

Windows Runaway 05-08-2003 12:23 PM

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

ozanbaba 05-08-2003 01:37 PM

it seems driver proplem
what's your grafic card and its pord ????

iceman47 05-08-2003 01:51 PM

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

Windows Runaway 05-09-2003 05:15 AM

thanks i'll give that a go when i can get back to the computer, probably next week

Windows Runaway 05-09-2003 05:46 AM

the NVIDIA-Linux-x86-1.0-4363.run does that require a direct internet link?

iceman47 05-09-2003 06:13 AM

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.

Windows Runaway 05-09-2003 06:32 AM

good i can use it then

Windows Runaway 05-09-2003 06:37 AM

oh while i'm herewhat do i need to do to get a USB 3 button optical trackball to work?

Windows Runaway 06-04-2003 10:34 AM

:mad: lots of obsence 4 letter words:mad: , 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?

Windows Runaway 06-16-2003 06:47 AM

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?

Rounan 06-29-2003 02:10 AM

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=vga16:off 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
:newbie:


All times are GMT -5. The time now is 04:48 PM.