Author Topic: xorg corruption  (Read 477 times)

Offline alphaace

  • Sr. Member
  • ****
  • Posts: 310
xorg corruption
« on: August 06, 2011, 03:34:29 PM »
Hi,

I just upgraded one of my computers to 2011 pclos, and after reboot, I can't start x. It tells me no screens found. I can't copy /var/log/Xorg.0.log but it says:

"Screen(s) found, but none have a usable configuration"
Then
"No screens found".

Any suggestions? Thanks!

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2137
Re: xorg corruption
« Reply #1 on: August 06, 2011, 03:47:57 PM »
Please, give hardware specifications, like video hardware, Updated from early install or a fresh one?
From which iso did you install, are you fully update ect...

Without specifications what you having is guessing in the air.

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline alphaace

  • Sr. Member
  • ****
  • Posts: 310
[Solved:] Re: xorg corruption
« Reply #2 on: August 06, 2011, 04:00:23 PM »
Eek, sorry, had a bit of a panic moment there. I found this here: http://www.pclinuxos.com/forum/index.php/board,77.0.html and after doing a remove and a reboot it seems to have worked (whew!)

It seems that the new xorg doesn't have an xorg.conf file and my old one was somehow screwing it up. Everything starts up now. Out of curiousity, any way to make it spit out an xorg.conf file?

Thanks again!

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: [Solved:] Re: xorg corruption
« Reply #3 on: August 06, 2011, 05:35:06 PM »
Out of curiousity, any way to make it spit out an xorg.conf file?

The current X server does, indeed, have an xorg.conf file.

[darrel@AMD64 ~]$ X -version

X.Org X Server 1.10.3
Release Date: 2011-07-08
X Protocol Version 11, Revision 0
Build Operating System: Linux_2.6.38.8-pclos3.pae.bfs PCLinuxOS
Current Operating System: Linux AMD64.johnston 2.6.38.8-pclos1.pae.bfs #1 SMP PREEMPT Sat Jun 4 02:51:08 CDT 2011 i686
Kernel command line: BOOT_IMAGE=linux root=LABEL=PCLOS splash=silent vga=788
Build Date: 09 July 2011  05:58:14AM
 
Current version of pixman: 0.22.0
   Before reporting problems, check http://pclinuxos.com
   to make sure that you have the latest version.


[darrel@AMD64 ~]$ ls -l /etc/X11/xorg.conf
-rw-r--r-- 1 root root 2129 Aug  3 14:14 /etc/X11/xorg.conf


And you should be able to copy the Xorg.0.log file.

[darrel@AMD64 ~]$  cp /var/log/Xorg.0.log Xorg.0.log
[darrel@AMD64 ~]$


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline alphaace

  • Sr. Member
  • ****
  • Posts: 310
Re: xorg corruption
« Reply #4 on: August 06, 2011, 11:27:24 PM »
Hm, when I do the ls command I get the following:

[greg@localhost ~]$ ls -l /etc/X11/xorg.conf
ls: cannot access /etc/X11/xorg.conf: No such file or directory


Thanks!

Offline marcin82

  • Full Member
  • ***
  • Posts: 129
  • Jest wirek - jest impreza ;]
Re: xorg corruption
« Reply #5 on: August 06, 2011, 11:41:48 PM »
Do it as root:
Code: [Select]
su rootthen:
Code: [Select]
cat /etc/X11/xorg.conf > /home/alphaace/Dekstop/xorg
marcin'82

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: xorg corruption
« Reply #6 on: August 07, 2011, 12:54:37 AM »
Hm, when I do the ls command I get the following:

[greg@localhost ~]$ ls -l /etc/X11/xorg.conf
ls: cannot access /etc/X11/xorg.conf: No such file or directory



Okay. The message from trying to list the file shows it doesn't exist. From your previous post, it's impossible to tell what instructions you followed, as the link points to the entire Xorg Migration section of the forum.

I found this here: http://www.pclinuxos.com/forum/index.php/board,77.0.html and after doing a remove and a reboot it seems to have worked (whew!)

Looking at your first post, you say that you "just upgraded one of my computers to 2011 pclos". Before going further, did you install from one of the PCLinuxOS 2011 isos? Or did you upgrade a PCLinuxOS 2010 installation? Let's be sure you are really up to date by checking a couple of versions. Open a terminal and enter these two commands in the terminal. You do not need to be root user.

rpm --version
apt-get --version


You should see the following two version numbers. If you don't see those versions, you are not up to date.

RPM version 4.8.1
apt 0.5.15lorg3.95 for linux i386 compiled on Jun 10 2011 19:24:14


If you have lower version numbers, you must install and run aptupgrade before going any further, as per this notice: http://www.pclinuxos.com/forum/index.php/topic,94949.0.html. If you are unsure what to do, post in this thread. If you have the correct rpm and apt versions, proceed to the next step.


Out of curiousity, any way to make it spit out an xorg.conf file?

Yes, and I should have answered that. Because you have no existing config file, there's nothing to back up. Open the PCLinuxOS Control Center. Click on Hardware in the left panel and Configure Video Card in the right panel. Click the Graphic Card button at the top. You should accept the default selection, which is the one that is highlighted. Next, click the Monitor button and select Plug'n Play. Once you've done that, your monitor model should appear as text on the Monitor button. Click the Resolution button and select your desired screen resolution. Once you have selected the video card driver, the monitor and the screen size, click the Quit button. A screen with text describing your choices will appear. Click the Yes button to keep the changes. You will get a message that you need to reboot for changes to take effect. Click the OK button, close all windows, and REBOOT.

The configuration file will be saved as /etc/X11/xorg.conf. There are other ways to accomplish this, but you should become familiar with using the PCLinuxOS Control Center first.
« Last Edit: August 07, 2011, 12:56:57 AM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378