LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Cant't start X windows (https://www.linuxquestions.org/questions/linux-desktop-74/cantt-start-x-windows-663341/)

showping 08-17-2008 01:21 AM

Cant't start X windows
 
I wanted to install RHEL5 enterprise on my notebook
(HP 6520s
CPU:Intel core 2 5460
Chipset:Intel mobiel 965 Express Chipset Family
)
In the installing time,The winzard tell me the screen display English only
But I didn't take my attention it

After installed
Choose select to start RHEL5
try command "startx" after login
The screen lighted once or twice
and give a log
"fatal to start X server"
"no screens found"
I want use "system-config-dispaly" command to config the X window setting
the screen showed me the same image

oh,I take one day to resolve it but all is fruitless

Can anybody help me ?

Thank you very much!

/usr/darien 08-17-2008 01:54 AM

You may have a corrupt xorg.conf file. Boot into runlevel 3, cd into /etc/X11. Create an xorg.conf backup by doing mv xorg.conf xorg.conf.backup. Doing this will essentially remove xorg.conf and create a backup in the process.

Now, try startx. If it still fails to work, try startx -- :0 or startx -- :1.

If that works, try to reconstitute your xorg.conf file by invoking system-config-display --reconfig from the command line.

showping 08-17-2008 01:58 AM

But I find there is a html tell me to install driver

http://www.intellinuxgraphics.org/install.html

I am not sure that is true

pls give me the truth

thank you

showping 08-17-2008 02:01 AM

The command system-config-display
I had tried

but the System tell me it can not work

output log like :

Couldn't start x Server on card 0
Couldn't start x Server on card 1

showping 08-17-2008 02:29 AM

other

the command like "startx --:0" "startx --:1"

output log like :

fatal server error
no screen found

/usr/darien 08-17-2008 02:49 AM

Quote:

Originally Posted by showping (Post 3250391)
other

the command like "startx --:0" "startx --:1"

output log like :

fatal server error
no screen found


You must use the spaces correctly if you want to specify the screen number.

startx --:0 == bad syntax
startx --:1 == bad syntax

startx -- :0 == good syntax
startx -- :1 == good syntax


Not adding the space after -- is a common mistake.

/usr/darien 08-17-2008 02:51 AM

Quote:

Originally Posted by showping (Post 3250376)
The command system-config-display
I had tried

but the System tell me it can not work

output log like :

Couldn't start x Server on card 0
Couldn't start x Server on card 1


Just using "system-config-display" will not work in your case. That is why you use the option --reconfig afterwards to reconstitute your xorg.conf file.


system-config-display --reconfig

showping 08-17-2008 03:01 AM

Yes

first ,Thank you replied my post

second,
I do the command as you wish
system-config-display --reconfig

output log as the same
fatel server error
no screens found

third
I do the command used the right syntax

but the system output the same error
could not start x server on card 0
could not start x server on card 1

showping 08-17-2008 08:58 PM

Is there anybody can help me?

waiting for you...........

jschiwal 08-17-2008 09:13 PM

Could you try disabling the onboard card and using the other? Removing one of two cards on a power pc got me through an install for SuSE.

Here is a part of the xorg.conf manpage. Please note the part about busid:
Code:

DEVICE SECTION
      The config file may have multiple Device sections.  There must be at least one, for the video card being used.

      Device sections have the following format:

          Section "Device"
              Identifier "name"
              Driver    "driver"
              entries
              ...
          EndSection

      The Identifier and Driver entries are required in all Device sections.  All other entries are optional.

      The Identifier entry specifies the unique name for this graphics device.  The Driver entry specifies the name of the driver  to
      use for this graphics device.  When using the loadable server, the driver module "driver" will be loaded for each active Device
      section.  A Device section is considered active if it is referenced by an active Screen section.

      Device sections recognise some driver-independent entries and Options, which are described here.  Not all drivers make  use  of
      these  driver-independent  entries,  and  many  of  those that do don't require them to be specified because the information is
      auto-detected.  See the individual graphics driver manual pages for further information about this, and for  a  description  of
      the  device-specific  options.  Note  that most of the Options listed here (but not the other entries) may be specified in the
      Screen section instead of here in the Device section.

      BusID  "bus-id"
              This specifies  the  bus  location  of  the  graphics  card.  For  PCI/AGP  cards,  the  bus-id  string  has  the  form
              PCI:bus:device:function  (e.g.,  “PCI:1:0:0”  might  be appropriate for an AGP card).  This field is usually optional in
              single-head configurations when using the primary graphics card.  In multi-head configurations, or  when  using  a  sec‐
              ondary  graphics card in a single-head configuration, this entry is mandatory.  Its main purpose is to make an unambigu‐
              ous connection between the device section and the hardware it is representing.  This information can usually be found by
              running the Xorg server with the -scanpci command line option.

If you have more than one card, you need to have busid entries in the Device section for each card. They may need different video drivers as well.

If you can, disable the onboard card in bios and try to configure X using the second card. That would be a starting point. If you can get X working on one card, then save a backup of your xorg.conf file. The device section of that card will be what you want and you can work on the Device entry for the second card.


All times are GMT -5. The time now is 12:11 AM.