LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X Windows Not Starting (https://www.linuxquestions.org/questions/linux-software-2/x-windows-not-starting-4175555287/)

rewilliams1988 10-04-2015 07:16 PM

X Windows Not Starting
 
Hello All, I have been stuck on this issue for about 3 days and am not finding any threads that can help me solve this. Any help is greatly appreciated. I am running Oracle Linux 6.4. The issue started after the server was rebooted , and once it was back up I was not able to start it. Not sure if software got upgraded or not.

Here is the error that I get when I run "startx"

Quote:

Build Date: 22 July 2015 10:21:44PM
Build ID: xorg-x11-server 1.15.0-36.el6
Current version of pixman: 0.32.4
Before reporting problems, check https://www.redhat.com/apps/support/
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 4 19:09:20 2015
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(II) [KMS] drm report modesetting isn't supported.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the Red Hat, Inc. support
at https://www.redhat.com/apps/support/
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional info rmation.
(EE)
(EE) Server terminated with error (1). Closing log file.
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
Please let me know if anyone want to see any additional config related to X Windows.


Thanks in advance

Tonus 10-05-2015 01:43 AM

X Windows Not Starting
 
I'd say you upgraded your kernel without checking if the correct module for your graphic card was build.

Could you boot using previous kernel?

rewilliams1988 10-05-2015 08:51 AM

Not 100% sure with that , "X Windows" did not open prior to me running the yum update which i believe updated the kernel. The nodes in the cluster are running on an older kernel and the same problem exist. I am very new to linux and graphic cards and devices. I will display some config files to help better troubleshoot.


xorg.conf

Quote:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Kernel Version
Quote:

2.6.39-400.264.1.el6uek.x86_64
Graphic Card
Quote:

01:03.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] ES1000 (rev 02)

Tonus 10-05-2015 04:10 PM

X Windows Not Starting
 
Isn't it a cross post?

rewilliams1988 10-05-2015 04:51 PM

Yes, wasn't sure if i posted on the correct thread.

debguy 10-19-2015 02:31 PM

there are too many faqs to see answering your question. my advice is that the first "hurdle" of X has black screen is due soley that X.org changed input without fixing impact of: thus it will recognize mouse and keyboard late (ok, good) but will fail to load because it was finished after check (race condition unresolved)

to resolve this you have to "ignore mouse/kbd fail on start". this is one way to do that:

# put this just after the Section "ServerLayout"
# yes your mouse works - Xorg will still lock you out due to ?race cond?
Section "ServerFlags"
# use ctrl-alt-div to grab keyboard back
Option "AllowDeactivateGrabs" "on"
# use ctrl-alt-mul; sends app kill signal that may regain locked screen
Option "AllowClosedownGrabs" "on"
# start X even if mouse doesn't detect / load
Option "AllowMouseOpenFail" "on"
# xorg fakes no mouse/keyboard without this - but tells no one
Option "AllowEmptyInput" "off"
EndSection

(again, there are too many ways for X not to start and too many answers. this i think is the best try if video drivers loaded but you got a black screen anyway)

debguy 10-19-2015 02:38 PM

oh. you did run this to get a reasonable xorg.conf file made right?

$ X -configure

another popular reason for "no screens found" is there is no screen section right for your monitor. or perhaps for some reason you have an OLD xorg.conf who's old Screen section is not goign to work today. you might want to start off with a "simple default" (which X -configure makes)

Section "Screen"
Identifier "Screen0"
Device "VESA"
Monitor "Monitor0"
SubSection "Display"
EndSubSection
EndSection

or
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection

notice how no scanlines or physical limits (like screen size) are used. the "new X11R7" works without them and giving the wrong numbers will result in "finding no screen"

debguy 10-19-2015 02:44 PM

> (II) [KMS] drm report modesetting isn't supported.

you need "drm mode setting" in kernel.

you *might* already have it (a module to load, /etc/modules, for some reason isn't pre-loaded: that's a whole another FAQ with good answers found elsewhere, getting drm modules up and in)

if not (if drm does not load, try 'lsmod' to see what modes are loaded) you can use X11's VESA support almost always works except on some cheap 3d crook-cards that say "vga/vesa" on box but actaully doesnt have (must be emulated by drivers loaded by maybe drm - and of course if that's not done you have a 1970's text-only card on your hands at the moment :) surprising they didn't rip that out too? ...

debguy 10-19-2015 02:58 PM

another factor (maybe not involved here): your LCD monitor

today's LCD are cool but they are also extermely unruly

some run linux interenally or can have linux installed and run in them :) but they all differ in whether or how.

standards-wise it's a nightmare of continuall hacked standards and connectors

end of story: LCD are cool but you never know what is in that box and what versions of what are supported (HDMI ok what version, size, etc ? does it support some necessary size or required a large border and shrinkage to show it and or special commands to do it?)

LCD "tend to work" but roughly so. for something like an OS seeking to use a particular HDMI driver, or you having "and old HDMI cable version": it might be a problem before you even start X

debguy 10-19-2015 03:03 PM

yesterday's SVGA was just as unruly in it's own ways (both cards and monitors)

and today's 3D GL / CL are also absolutely unruly, as is (access to) any multimedia support in general (mpeg), for anyone remembering the mm2k standard from the 1990's

if only video were the only. blue tooth, sound, all of them: custom "one off" products that work when released the day release and then abandoned just after purchase (no meaningful updates, you get what you got at time of sale, works with nothing except specific drivers and with specific situations, sofware to leverage capability always pay for play only with apple or ms windows, etc, etc)

debguy 10-20-2015 01:08 PM

Postscript:

you mean X.org X11R7 not starting, all starup issues added by x.org and recent linux distro releases

Not X, not X10, not X11. "X.org is not starting" please.

X11R6, or XFree86-4.8.0 downloads+builds+installs in < 1hr and has only a fraction of the startup issues

(video card selection, use of xdm are historic issues, but these due to lack of proper use by new users)


All times are GMT -5. The time now is 07:38 PM.