LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-06-2010, 12:09 AM   #1
amol0009in_7
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Rep: Reputation: 0
Exclamation 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.
 
Old 09-06-2010, 12:10 AM   #2
amol0009in_7
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

One more thing, i have usb keyboard and HAL daemon is not starting, maybe that is the only problem
 
Old 09-06-2010, 01:17 AM   #3
amol0009in_7
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Red face

Anyone alive ...is there any alternative to find X so that i can get GUI started on redhat
 
Old 09-06-2010, 02:10 AM   #4
gripip
Member
 
Registered: Jul 2010
Location: India
Distribution: mint9, slackware13.1, minix3
Posts: 48

Rep: Reputation: Disabled
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.
 
Old 09-06-2010, 04:43 AM   #5
amol0009in_7
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 09-06-2010, 04:58 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
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.
 
Old 09-06-2010, 06:04 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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
 
Old 09-06-2010, 06:13 AM   #8
amol0009in_7
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
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
Attached Files
File Type: log putty.log (42.7 KB, 4 views)
 
Old 09-06-2010, 06:16 AM   #9
amol0009in_7
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Here is my /var/log/messages
Attached Files
File Type: log putty.log (40.8 KB, 2 views)
 
Old 09-06-2010, 06:21 AM   #10
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Rep: Reputation: Disabled
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.
 
Old 09-06-2010, 06:30 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat ES3 Startx failed to start nasmi Linux - Enterprise 1 05-17-2009 10:48 PM
Unable to start the dhcpd deamon in redhat raghuvamsi Linux - General 5 09-18-2008 02:02 AM
startx won't start Trio3b Slackware 10 03-20-2005 04:51 PM
Unable to startX on Debian 3.0 r1 juanjavier_xxx Debian 11 08-20-2004 09:42 AM
Unable to run Startx Divxakias Linux - Newbie 3 03-15-2004 03:59 AM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration