LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-01-2013, 11:55 AM   #1
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Rep: Reputation: Disabled
Setting up X Windows: cannot find monitor data


I am installing slackware on a Panasonic CF-29 Toughbook. My interface is presently a bash shell because I started by installing only the essential packages: A, AP, F, and L. I'm now going back to deal with others. X Windows is giving me some trouble.

+ I used pkgtool to unpack E, KDE, N, X, XAP, and Y.
+ xorgsetup worked properly.
+ xorgconfig returns "-bash: xorgconfig: command not found" I don't know why. I am running as root.
+ xwmconfig worked properly and I selected KDE

The problem is that I cannot find info on the CF-29's monitor, specifically the horizontal sync and vertical refresh rates. The chipset is Intel 855 GM, which doesn't seem to be associated with a specific X server The manual is here. Is there a set of "safe" values to use here?
 
Old 07-01-2013, 06:39 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
I suggest running, as root, 'Xorg -configure' and working with the resulting file. The autodetection routines in the latest X versions are very good. You may not need an xorg.conf file at all.
From what I have seen, your LCD display device probably has a maximum resolution of 1024x768. A horizontal sync rate of 60kHz and vertical refresh rate of 75Hz would be typical.
 
Old 07-01-2013, 08:06 PM   #3
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
Okay, I tried "Xorg -configure" and it failed. Checking the log it seems to have gone pretty normally (though I wouldn't know) until the final line: "[190.997] Number of created screens does not match number of detected devices. / Configuration failed."

I put the entire log here because I'm a good newbie.
 
Old 07-02-2013, 02:15 AM   #4
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 110

Rep: Reputation: 32
Did `Xorg -configure` leave a file like /root/Xorg.conf.new behind? What did it look like?

Note that `Xorg -configure` seems to detect monitors better when the text console is a VGA console, not a framebuffer console.
 
Old 07-02-2013, 08:23 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Do you have problems when you simply do 'startx'?

The log shows that multiple drivers are potentially compatible with your hardware. We know it is an Intel 855GM GPU, so the 'intel' driver is the correct X driver to use.
If you are feeling brave and you want to generate a template xorg.conf then, as root
1. 'mkdir -p /tmp/usr/lib/xorg/modules/drivers/' # Create a temporary directory
2. 'mv /usr/lib/xorg/modules/drivers/* /tmp/usr/lib/xorg/modules/drivers/' # Move all the X drivers
3. 'mv /tmp/usr/lib/xorg/modules/drivers/intel_drv.so /usr/lib/xorg/modules/drivers/' # Move back the intel driver
4. 'Xorg -configure' # This should generate a template file /root/xorg.conf.new that can be copied to /etc/X11/xorg.conf
5. 'mv /tmp/usr/lib/xorg/modules/drivers/* /usr/lib/xorg/modules/drivers/' # Move back the remaining X drivers
6. 'rm -rf /tmp/usr' # Cleanup

NB - All of the above assumes a Slackware 32bit install. For Slackware 64bit change lib to lib64.

Last edited by allend; 07-02-2013 at 08:24 AM.
 
Old 07-02-2013, 12:57 PM   #6
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 236

Rep: Reputation: 38
Quote:
Originally Posted by amenos42 View Post
Okay, I tried "Xorg -configure" and it failed. Checking the log it seems to have gone pretty normally (though I wouldn't know) until the final line: "[190.997] Number of created screens does not match number of detected devices. / Configuration failed."

I put the entire log here because I'm a good newbie.
Seen that several times - it usually sets up for 2 or 4 monitors. However, it does leave behind a good xorg.conf.new and all you have to do is to remove the multi-display parts
 
Old 07-02-2013, 06:06 PM   #7
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
If I run startx, I get the following error:

startkde: Call to lnusertemp failed (temporary directories full?). Check your installation.
Warning: locale not supported by C library, locale unchanged
xinit: connection to X server lost

Is this related to the problem with configuration?

EDIT: /tmp/ is empty

Last edited by amenos42; 07-02-2013 at 06:21 PM.
 
Old 07-02-2013, 09:19 PM   #8
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Those errors look like a problem with your KDE installation.
It would be nice to know whether X is working for you.
What happens if you use 'xwmconfig' to choose another desktop environment e.g. xfce and do 'startx'?
 
Old 07-06-2013, 07:17 AM   #9
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
(Sorry for the delay, I was on vacation.)

allend:

Running startx with XFCE returns

/urs/bin/startxfce4: X server already on display :0
xfce4-session: error while loading shared libraries: libwnck-1.so.22: cannot open shared object file: No such file or directory
xinit: connection to X server lost

Keep in mind that I don't have XFCE installed. The slackware install I downloaded ONLY included KDE. I could grab an install for a different desktop environment or two.

perbh:
Here is xorg.conf.new as it currently exists on the CF-29: https://docs.google.com/document/d/1...it?usp=sharing
Here is the file as I modified it (I called it xorg.conf.new.mod). I just want someone to tell me it looks correct before I copy it back to the CF-29 and use it: https://docs.google.com/document/d/1...it?usp=sharing

So my final question is: would I be able to achieve the same results as allend recommends in his post at 07-02-13, 08:23 AM by simply going into the xorg.conf.new.mod I shared with you and deleting all of the "Device" sections except for the one with "Driver "intel" "?
 
Old 07-06-2013, 10:56 AM   #10
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
I suggest you reinstall and do a full installation. There are too many possible problems that can occur when you try to pick and choose packages. A full install will still leave you with over 30GB of free disk space (assuming a 40GB hard drive capacity).

As to the xorg.conf.new.mod, there is no need for the Device sections with Identifiers "Card1", "Card2" and "Card3".
 
Old 07-08-2013, 10:03 AM   #11
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
Well, I did the reinstall. I can't believe it took me this long to get this far. Took me weeks to learn it, then I did the whole thing in a morning. Everything works fine now. Thank you all so much for your help!

I'm using XFCE, since this is a rather old system. If you guys have any advice on where I should start looking for extension for it, that'd be much appreciated.
 
Old 07-08-2013, 10:40 AM   #12
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Glad that you have finally got things working to your satisfaction. Well done!

When you say "extension for it", do you mean additional software of some kind?
 
  


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
Pipelining data of find command in an array after processing the contents of the data AshishJogeshwar Linux - Software 5 06-10-2010 01:52 AM
Pipelining data of find command in an array after processing the contents of the data AshishJogeshwar Linux - Software 0 06-07-2010 06:15 AM
3 monitor setup w/ the 3rd monitor being plugged into a Windows XP box dlublink Linux - Desktop 4 08-13-2009 12:45 AM
Burn Data DVD... Read Data in Linux and Windows SaintStrive Linux - Newbie 3 09-18-2004 05:04 PM
setting up data exchange between Red Hat Linux and Windows 98 - Linux Newbie Hosiah Linux - Newbie 3 09-13-2004 01:11 PM


All times are GMT -5. The time now is 04:06 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 Google+: linuxquestions
Open Source Consulting | Domain Registration