LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-29-2008, 02:46 PM   #1
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
Can't get x-server to work on a slim Lenny install


Hi all,

I've got some serious problems with getting Xserver to function on an old Toshiba Satellite laptop running on Debian Lenny with a 2.6.25-1 Sid Kernel (I've also got 2.6.18-4 and 2.6.24-1 installed on the system.)

The base system is up and running. I want to keep it slim so I installed just the trident and the vesa video driver together with the base xorg/xserver packages. I topped it off with a couple of my favorite wm (fluxbox and openbox). I edited the .xinitrc to contain #! /bin/bash and exec fluxbox (no login manager as I want to keep it slim).

When I run startx the screen just goes black and the computer freezes up. This happen I've tried it with openbox too with same result. I've also tried it with an auto-generated xorg.conf and with an older config-file that I used under Etch (though I know it's not guaranteed to work with Lenny) and it produces the same result. Xorg.0.log doesn't show any errors or warnings whatsoever. When trying this under the other kernels I also get the same result.

As the problems persists with different kernels, with different wm and different xorg.conf I gather that I have a fairly fundamental problem. I even tried to install xdm and when I rebooted I got the same effect.

The problem is that as I can't see any error messages I don't really have anything to work with (or at least I don't know where to look for them). I tried to startx with standard error directed to a file but that just produced a few lines that said that a specific module was already loaded.My Xorg.0.log doesn't contain any significant error (just a missing cyrilic font but that's hardly the issue).

I'm totally lost here. Has anyone any ideas on this or has run into something similar? Any and all help is very much appreciated.

Cheers!

ps: For what it's worth, the laptop has worked fine with a number of other distribution - recently too - so a hardware malfunction can be ruled out. ds.
 
Old 06-29-2008, 04:37 PM   #2
souneedalink
Member
 
Registered: Jan 2008
Posts: 39

Rep: Reputation: 16
I would remove the xinitrc file and try startx and see what happens. Then if it still does it I would remove my xorg.conf file and try startx and see what happens.


.

Last edited by souneedalink; 07-01-2008 at 11:27 PM.
 
Old 07-01-2008, 01:42 PM   #3
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by souneedalink View Post
I would remove the xinitrc file and try startx and see what happens. Then if it still does it I would remove my xorg.conf file and try startx and see what happens.
Thanks for the reply.

I gave it a go but unfortunately it didn't work.

Any other ideas? Anyone?

Cheers
 
Old 07-01-2008, 06:19 PM   #4
souneedalink
Member
 
Registered: Jan 2008
Posts: 39

Rep: Reputation: 16
it didn't work......uh ok....



.

Last edited by souneedalink; 07-01-2008 at 11:27 PM.
 
Old 07-01-2008, 06:23 PM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
If with no other X should work with 2.6.24-1 kernel.Did you use a live cd of some distribution?If you did,is X working then?When you've tried to start X have you done it as a user or/and root.You've not mentioned anything about faillog,kern.log and messages in /var/log.Did you tried to reconfigure X server(and not just using the xorg.conf files that you already have)?It may be that you have run into the dependency issue,too by running sid and etch kernels on lenny.

Last edited by alan_ri; 07-01-2008 at 06:37 PM. Reason: adding info
 
Old 07-02-2008, 10:49 AM   #6
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by alan_ri View Post
If with no other X should work with 2.6.24-1 kernel.Did you use a live cd of some distribution?If you did,is X working then?When you've tried to start X have you done it as a user or/and root.You've not mentioned anything about faillog,kern.log and messages in /var/log.Did you tried to reconfigure X server(and not just using the xorg.conf files that you already have)?It may be that you have run into the dependency issue,too by running sid and etch kernels on lenny.
Hi,

I've used live CD on other distros and have other distros installed. Worked fine with thoese.

I've tried to startx as both user and root, same result

The problem was there before I installed the Etch and Sid Kernel so I don't think there are any dependency issues (nor did the kernels install or remove any additional packages).

I tried to reconfigure but the result is the same.

As for error messages, I get no output in xorg.0.log but it got me thinking. I had a look in kern.log and what I reacted on that there was no sing of trident. I had another look in lsmod and no sign of trident there either. So, I modprobed trident and tried to startx with a xorg.conf using the trident driver but same result. Might be that the module trident is actually a sound driver and not the raphic driver but I don't know what the module is used for the graphic driver.I've installed xserver-xorg-video-trident and that is, afaik, the correct driver.

For what it's worht, I tried both "trident" and "vesa" as driver in xorg.conf

Thanks for the help.

Any other ideas?
 
Old 07-02-2008, 10:55 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
The lame-way of doing it:

Find a debian (or derivate) LiveCD that works and looks what's installed. Like xorg.conf, loaded kernel modules, and inspect Xorg.0.log to see what Xorg modules are loaded.

With latest Xorg, you don't even need an xorg.conf, everything should be detected (not the keyboard mapping maybe..)

edit:
About "slim". Did you look at the size of video drivers packages? I don't think it's worth it..
so you could:
aptitude install xorg-video-all
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
Restart

Last edited by nx5000; 07-02-2008 at 10:57 AM.
 
Old 07-02-2008, 02:46 PM   #8
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nx5000 View Post
The lame-way of doing it:

Find a debian (or derivate) LiveCD that works and looks what's installed. Like xorg.conf, loaded kernel modules, and inspect Xorg.0.log to see what Xorg modules are loaded.

With latest Xorg, you don't even need an xorg.conf, everything should be detected (not the keyboard mapping maybe..)

edit:
About "slim". Did you look at the size of video drivers packages? I don't think it's worth it..
so you could:
aptitude install xorg-video-all
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
Restart
I wouldn't call it lame, sounds like a pretty good idea. I tried Knoppix v. 5.11 KDE LiveCD and it booted up nicely. I saved Xorg.0.log, xorg.conf and an output of lsmod on a usbstick. The xorg.conf didn't really contain anything out of the ordinary but I'm gonna look into the differences between my current lsmod and the one from the liveCD (there were quite a few different modules). Together with the Xorg.0.log I should be able to figure out what I need to get X going because I really thing this is the issue. I'll post back once I gotten around to it.

Thanks for the help!
 
Old 04-29-2009, 02:31 AM   #9
Ister
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 1
I don't know if You are still interested in this, but I managed to find a solution. See this for more details.
In general - You need to add
Code:
Option "NoDDC"
to Your xorg.conf in a monitor section.
 
Old 05-04-2009, 12:51 PM   #10
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Ister View Post
I don't know if You are still interested in this, but I managed to find a solution. See this for more details.
In general - You need to add
Code:
Option "NoDDC"
to Your xorg.conf in a monitor section.
Well, I currently have Arch installed on my old lappie but - how do I put this nice without starting a flamewar? ... bah, bring on the god damn flamewar, who cares? - since Arch is the dogs breath compared to Debian I have been thinking about what to install on it instead of Arch. Considering that I run Debian testing on my desktop and Debian stable on my server I guess the only option is to install Debian unstable on the laptop. This will surely come in handy if/when I do. Thanks.

/CZ
 
Old 05-09-2009, 02:14 PM   #11
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
You've likely already tried this, but, if not, perhaps running the command "dpkg-reconfigure -phigh xserver-xorg" would help (as root or sudo). This is the advice given in recent xorg.conf files that I've seen.

Otherwise, just randomly try installing and running different xserver-xorg video files, until you find one that works. Or, just install the meta-packages xserver-xorg-video-all (which will only add about 6 MB to your system), and xserver-xorg-input-all (an additional 2 MB). If you can get it working, you could then peel away some of the unnecessary packages later.
 
Old 09-21-2009, 02:18 AM   #12
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Ister View Post
I don't know if You are still interested in this, but I managed to find a solution. See this for more details.
In general - You need to add
Code:
Option "NoDDC"
to Your xorg.conf in a monitor section.

I finally dusted off my old laptop again and installed Sid. Same problem as I had with Lenny so I tried this solution. I just want to confirm that is indeed the way to solve the problem. Thanks.
 
  


Reply

Tags
debian, lenny, xinit, xorg, xserver



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
How well does KDE work with Debian Lenny? danbuter Debian 26 03-17-2008 08:44 AM
slim login problem - anyone succeed in configuring slim? rkrishna Slackware 20 02-18-2008 06:50 AM
Slim install? Perhaps even automated? TL_CLD Slackware 7 10-10-2006 04:16 PM
Slim-Client Server joshuarowley Linux - Networking 1 06-25-2006 11:12 AM
Slim FTP server install help Fuel Slackware 4 09-15-2004 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:50 PM.

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
Open Source Consulting | Domain Registration