LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-22-2004, 05:04 PM   #1
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Rep: Reputation: 15
Trouble trying to get debian started.


I cannot get the xserver set up. When I do apt-get, it comes across with a message about xdm not being configured. I try to configure that with no luck. I really don't know what I'm trying to configure with the error message. Cannot startx because xdm is not configured, is pretty much the error. I had it to the kde login screen once but then it froze up and nothing. So I reinstalled with a diffenert download and got pretty much the same thing but with no kde screen. I need help configuring. This is what was done so far.
apt-get update
apt-get install x-window-system
dpkg-reconfigure xserver-xfree86
This got me nowhere but the screen blinked a few time and then the error.

apt-get update
apt-get install xserver-common xserver-xfree86

I reinstalled with doing all of the packages this time so everything that is needed should be there. Now the only message is xdm is not configured. Help with this issue, please.
 
Old 12-22-2004, 05:08 PM   #2
sls
Member
 
Registered: May 2004
Location: North Wales UK
Distribution: Debian Woody Sarge/Sid
Posts: 77

Rep: Reputation: 15
Hi

Try dpkg-reconfigure xdm

Sls
 
Old 12-22-2004, 06:48 PM   #3
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
I did that with no success. I did do this to now change the error.
xf86config at the prompt and had to reconfigure something and now I get this error. Screens found but none have a usable configuration. Fatal server error. No screens found.
What to do now?
 
Old 12-22-2004, 08:41 PM   #4
corfe
Member
 
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 15
It sounds to me like something is wrong with /etc/X11/XF86Config-4 . You might want to check some documentation online about that file and make sure everything is set up right - I would guess that the most likely problem is with the video - what video card do you have, and what video driver is X set to use (if you know how to check)? The video driver is set in that config file, look for a section in that file that gives details on your video device.

By the way, after you change your X config, you can restart xdm by typing (as root) "/etc/init.d/xdm stop" (to make sure it's stopped) then "/etc/init.d/xdm start".
 
Old 12-23-2004, 02:15 PM   #5
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 210

Rep: Reputation: 31
You could try using KDM instead of XDM.
Just a thought.
 
Old 12-23-2004, 03:52 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
XFree86 writes a log file into /var/log/ every time it starts (or attempts to start). Studying this file often gives a clue about the nature of the problem in your Xserver configuration. Especially lines that start with (WW) or (EE) are useful in troubleshooting. Often you can just jump to the end of this file and if there is a line that begins with (EE), then the error mentioned on that line is usually the one that caused X Window System to crash.

For successful X configuration you need to know at least the model of your graphics card and preferably also the horizontal and vertical refresh values for your monitor. Running the "X -configure" command should create a XF86Config.new file, which you can study to see if XFree86 has autodetected the correct driver for your graphics card. You may find (if you're lucky) the refresh values for your monitor by doing a google search with keywords "<your_monitor's_model> horizontal vertical" or something like that.

If you've got this information you can do "dpkg-reconfigure xserver-xfree86" again and you should have good chances to get a working X configuration.
 
Old 12-23-2004, 08:21 PM   #7
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
Now I've set everything to what I know it to be as. nvidia riva tnt2 model64, v-60.3, h-37.8, 1280x1024 is the max resolution, 24 bit color,
I've even tried lower ones. The one thing that I don't know is the video card memory. I think that is it - it lists 256, 512,1024,2048 and 4096 and other. I've choosen 256,512 and 1024. with the same result. Anything i've missed? Please help configure xserver.
 
Old 12-24-2004, 05:36 AM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Hmm.. you don't tell which Debian version you're trying to install and what error messages (in /var/log/XFree86.0.log) you get. But apparently you've got Kanotix, Mandrake, and RetHat installed -- with a working X configuration, I assume. This means that you should be able to get X working also in Debian.

I'd suggest that you try the new Sarge installer http://www.debian.org/devel/debian-installer/ and use the latest 2.6 kernel. I don't personally need nvidia driver but I think XFree86 comes with some version of this driver. You can use google or the search engine here at Linuxquestions.org to find out how the official (proprietary) nvidia driver is installed.

If you've got a PS/2 or ImPS/2 mouse, you'll probably want to use "/dev/input/mice" as the mouse device in X configuration, then add "psmouse" to the /etc/modules file and reboot. Sometimes this solves mysterious X problems.
 
Old 12-24-2004, 02:43 PM   #9
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
The Rive TNT2 video card is listed and selected. Will try the mice/mouse thing. Can't I just copy the file from either mandrake, kanotix or red hat to the debian one to get it to work?
 
Old 12-24-2004, 03:22 PM   #10
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Can't I just copy the file from either mandrake, kanotix or red hat to the debian one to get it to work?
Might be worth a try, especially with Kanotix since it's based on Debian Unstable. A good habit is never to delete the original files -- instead you can rename them with .orig ending so you can restore them in case something goes wrong.
 
Old 12-24-2004, 03:29 PM   #11
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
I haven't done this (since I configured it by hand) but some people boot Knoppix and then they just copy /etc/X11/XF86Config (or /etc/X11/XF86Config-4) to their Debian partiton! Just don't forget to mount it first before you copy it over...

y2k
 
Old 12-24-2004, 07:19 PM   #12
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
I'll give it a try and post back. Thanks.
 
Old 12-28-2004, 08:45 AM   #13
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
That did not work. I still get the same error message.
 
Old 12-28-2004, 11:11 AM   #14
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I found a HOWTO that recommends the "xdebconfigurator" tool (which uses RedHat's "kudzu" hardware-detection) for auto-configuring X. If nothing else seems to work, you should try this before giving up.

http://wiki.debian.net/index.cgi?DebianDesktopHowTo
 
Old 12-28-2004, 09:18 PM   #15
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
So how do I go about installing the xdebconfigurator 3000xyz when I am at the debian root prompt? apt-get -f install xdebconfigurator after a apt-get update. Kanotix also has that tool.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache on Debian: tips to get started? johnMG Linux - Networking 2 04-30-2005 08:34 PM
Is there an easy way to get debian started with programs like mandrake installs? r3dhatter Debian 23 10-22-2004 12:20 AM
video capture - having trouble getting started. tw001_tw Slackware 13 08-12-2004 02:01 AM
debian: alsa started but no sound... joe0815 Linux - Hardware 3 04-21-2004 03:21 PM
Trouble getting my Qmail started Dionysos Linux - Newbie 0 11-29-2002 03:09 AM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration