LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Setting up X Windows: cannot find monitor data (http://www.linuxquestions.org/questions/slackware-14/setting-up-x-windows-cannot-find-monitor-data-4175468023/)

amenos42 07-01-2013 11:55 AM

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?

allend 07-01-2013 06:39 PM

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.

amenos42 07-01-2013 08:06 PM

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.

mlslk31 07-02-2013 02:15 AM

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.

allend 07-02-2013 08:23 AM

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.

perbh 07-02-2013 12:57 PM

Quote:

Originally Posted by amenos42 (Post 4982071)
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

amenos42 07-02-2013 06:06 PM

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

allend 07-02-2013 09:19 PM

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'?

amenos42 07-06-2013 07:17 AM

(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" "?

allend 07-06-2013 10:56 AM

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".

amenos42 07-08-2013 10:03 AM

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.

allend 07-08-2013 10:40 AM

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?


All times are GMT -5. The time now is 11:19 PM.