LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to start STARTX on redhat 5 (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-start-startx-on-redhat-5-a-830545/)

amol0009in_7 09-06-2010 12:09 AM

Unable to start STARTX on redhat 5
 
Hi,
I have being googling and trying to find out solution to unable to startx.
Please note i have already search from last 2-3 days for the solution but didn't found anything.

So request someone to guide me step by step.
Also one more thing, the server was crashed and i upgraded the existing server using CD. But since then we are not able to start startX

I hope i can get some help here ,i am a newbie to linux but i am computer engg so i can understand some logics..
Please HELP!!

I am getting below error

Code:

[root@astarcftp /]# startx

xauth:  creating new authority file /root/.serverauth.13592


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-128.1.16.el5 i686 Red Hat, Inc.
Current Operating System: Linux astarcftp.astsrv1.com 2.6.18-164.el5PAE #1 SMP Tue Aug 18 15:59:11 EDT 2009 i686
Build Date: 22 July 2009
Build ID: xorg-x11-server 1.1.1-48.67.el5
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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: Mon Sep  6 10:30:32 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "keyboard" (module does not exist, 0)
(**) RADEON(0): RADEONPreInit
(**) RADEON(0): RADEONScreenInit e0000000 0
(**) RADEON(0): Map: 0xe0000000, 0x01000000
(WW) RADEON(0): Failed to set up write-combining range (0xe0000000,0x1000000)
(**) RADEON(0): RADEONSave
(**) RADEON(0): RADEONSaveMode(0x8ccc85c)
(**) RADEON(0): Read: 0x00000007 0x00060065 0x00000000
(**) RADEON(0): Read: rd=7, fd=101, pd=6
(**) RADEON(0): RADEONSaveMode returns 0x8ccc85c
(**) RADEON(0): RADEONInitMemoryMap() :
(**) RADEON(0):  mem_size        : 0x04000000
(**) RADEON(0):  MC_FB_LOCATION  : 0xe3ffe000
(**) RADEON(0):  MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0): RADEONModeInit()
1024x768      78.80  1024 1040 1136 1312  768  769  772  800 (24,32) +H +V
1024x768      78.80  1024 1040 1136 1312  768  769  772  800 (24,32) +H +V
(**) RADEON(0): Pitch = 8388736 bytes (virtualX = 1024, displayWidth = 1024)
(**) RADEON(0): dc=7879, of=31516, fd=140, pd=4
(**) RADEON(0): TMDS_PLL from a27 to a27
(**) RADEON(0): RADEONInit returns 0x8ccd20c
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):  MC_FB_LOCATION  : 0xe3ffe000
(**) RADEON(0):  MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0):  Map Changed ! Applying ...
(**) RADEON(0):  Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x0000000c 0x0002008c 0x00000000 (0x0000a500)
(**) RADEON(0): Wrote: rd=12, fd=140, pd=2
(**) RADEON(0): GRPH_BUFFER_CNTL from 20005c5c to 20095c5c
(**) RADEON(0): RADEONSaveScreen(0)
(**) RADEON(0): Setting up initial surfaces
(**) RADEON(0): Initializing fb layer
(**) RADEON(0): Setting up accel memmap
(**) RADEON(0): Initializing backing store
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(**) RADEON(0): EngineInit (32/32)
(**) RADEON(0): Pitch for acceleration = 128
(**) RADEON(0): EngineRestore (32/32)
(**) RADEON(0): Initializing DPMS
(**) RADEON(0): Initializing Cursor
(**) RADEON(0): Initializing color map
(**) RADEON(0): Initializing DGA
(**) RADEON(0): Initializing Xv
(**) RADEON(0): RADEONScreenInit finished
(EE) No Input driver matching `keyboard'
No core keyboard

Fatal server error:
failed to initialize core devices
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):  MC_FB_LOCATION  : 0xffff0000
(**) RADEON(0):  MC_AGP_LOCATION  : 0x003fffc0
(**) RADEON(0):  Map Changed ! Applying ...
(**) RADEON(0):  Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x00000007 0x00060065 0x00000000 (0x0000a500)
(**) RADEON(0): Wrote: rd=7, fd=101, pd=6
(**) RADEON(0): Ok, leaving now...
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


amol0009in_7 09-06-2010 12:10 AM

One more thing, i have usb keyboard and HAL daemon is not starting, maybe that is the only problem

amol0009in_7 09-06-2010 01:17 AM

Anyone alive ...is there any alternative to find X so that i can get GUI started on redhat

gripip 09-06-2010 02:10 AM

i've never used red hat or fedora, and i really dont know too much much about xservers but some time ago, i started xwindows on a minix3 and a slackware machine, reasons they were not being able to start x server was:
minix3 - no xorg.conf file
slackware - wrong xorg.conf file

for both of system i tried ' xorgconfig ' command and tried different values:

slackware retained its x system in 2 attempts
minix3 - i had to change reserve memory for X by chmem command. i guess they had bug.

so if ur red hat supports xorgconfig command try it.

amol0009in_7 09-06-2010 04:43 AM

I have tried to check every config of xorg.conf but it is not happening.

Someone who have faced this issue might be able to help me as i know this is common issue every linux admin may have face once in lifetime.

linuxlover.chaitanya 09-06-2010 04:58 AM

I never use X on my CentOS server (presumably though), but you should look into the Xorg.log file for information. You should get valid info there and paste the log file contents here. Not the complete file but the portion that might be usable.

i92guboj 09-06-2010 06:04 AM

Before anything else, it would be useful to know what exact version of X are you using. Also, paste these files on some pastebin service and post the links here so we can review them:
  • /etc/X11/xorg.conf
  • /var/log/Xorg.0.log
  • /var/log/messages

Not being able to find input devices via HAL, nowadays, shouldn't prevent the server from starting. But it seems there's also some problem with your video driver. So, please, post also the output for this command:

Code:

$ lspci | grep -i vga

amol0009in_7 09-06-2010 06:13 AM

1 Attachment(s)
Code:

[root@astarcftp ~]# lspci | grep -i vga
04:03.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)


[root@astarcftp ~]# cat /etc/X11/xorg.conf
Code:

# Xorg configuration created by system-config-display

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

Section "ServerFlags"
        Option      "AllowMouseOpenFail" "yes"
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    16
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
EndSection

I was looking into same area.. either i suspect problem with kbd drivers or video drivers.

Also even though it is giving unable to load kbd drivers, i am able to use my usb keyboard

amol0009in_7 09-06-2010 06:16 AM

1 Attachment(s)
Here is my /var/log/messages

honeybadger 09-06-2010 06:21 AM

Hi there,

with red hat there is a command called 'systemconfig' or 'sysconfig' I do not remember (never used red hat/fedora) and this will give you an option to repair the xorg files.

Hope this is useful.

PS. Next time when upgrading make sure that you copy the entire /etc somewhere.

i92guboj 09-06-2010 06:30 AM

Did you try (re-)installing the "kbd" package? It seems your X isn't using hal at all, so maybe just installing the right driver will work.

Otherwise, what does this quote from your post mean?

Quote:

One more thing, i have usb keyboard and HAL daemon is not starting, maybe that is the only problem
Do you have any more concrete details? What happens if you try to start it manually?


All times are GMT -5. The time now is 04:23 AM.