LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2003, 02:44 PM   #1
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Rep: Reputation: 15
Can't Start X


when i type "startx" in console this is what happens:
-------------------------------------------------------------------------
XFree86Version 4.3.0
Release Date: 27 February 2003
Xprotocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21.0.13mkdsmp i686 [ELF]
Build Date: 12 March 2003
Module Loader Present
Markers: (--)Probed, (**)From config file, (++) Default Setting
(++)from command line, (!!)notice, (II) informational,
(ww)Warning, (EE)error, (NI)not implimented, (??)Unkown

(==)Logfile: "/ver/log/XFree86.0.log, time <gives time>
(==)Using Config file "etc/X11/XF86Config-4"
Parse Error on line 77 of sections Screen in file /etc/X11/XF86config-4
The DefauldDepth Keword requires a number to follow it
(EE)Problem parsing the config file
(EE)Error from xf86 Handel ConfigFile ()
Fatal Server error:
No Screens found

XI0: fatal IO error 104 (connection-reset by peer on X server ":0.0"
---------------------------------------------------------------------------------

I want to fix this so i can get back to the gui so i can start to learn linux! I have no idea how to use linux but i did have a gui before and all of a sudden when i try it this happens. please help i F*ing hate using windows.
 
Old 09-22-2003, 02:55 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Type xf86config at the command line, it will setup X. After that type startx to start X (the GUI).

You will need to know your graphics card make, model and amount of ram. You will also need to know your horizonal and vertical refresh rates.
 
Old 09-22-2003, 03:01 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
You have an error in /etc/XF86Config-4 file, line 77. It seems that you have something like:
DefaultDepth
but there should be something like
DefaultDepth 24
You need to edit the file and fix it. I don't know which ones you have, but you should have 2-3 different text mode editors.
Log in as root, then try one of the following:
vim /etc/X11/XF86Config-4
joe /etc/X11/XF86Config-4
mc
To run vim correctly, you need an introduction to its commands (and shortcuts), so get one before trying.
Joe is easier to use, you move using arrows, save using ctrl+ks, save & exit ctrl+kx.
MC is a file manager with a build in editor. If you have it installed, it should be the easiest. Run it, browse to /etc/X11, then press F4 when you're on XF86Config-4. You save using F2.
 
Old 09-22-2003, 04:10 PM   #4
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
thanks a lot for your help
 
Old 09-29-2003, 11:06 PM   #5
ch4s3r
Member
 
Registered: Sep 2003
Posts: 97

Original Poster
Rep: Reputation: 15
I've been trying for weeks to get the xf86config to setup my startx. I go through the whole process of setting up everything and i end up with the same original result! i need some guidance please!
 
Old 09-30-2003, 12:55 AM   #6
linuxetcx11
LQ Newbie
 
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
If you're trying for weeks to get 1 thing to work that too long. Here's what i would do and what I did. Get a copy of Redhat 9. Install it, if you mess it up, install it again, and so on, and so on. This way you'll eventually learn what makes linux tick, and what stops it in it's tracks. At least using this method you'll have a working system to start with, you wont have to mess with setting up xfree86 right off the bat.

And just incase you want to try to fix your XF86Config file. I've included a copy of mine so you can cross reference.

# XFree86 4 configuration created by pyxf86config

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

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
Option "Resolution" "800"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
Option "Buttons" "5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unprobed Monitor"
HorizSync 31.0 - 130.0
VertRefresh 48.0 - 170.0
ModeLine "1600x1200" 162.0 1600 1680 1872 2160 1200 1201 1204 1250 -hsync +vsync
ModeLine "1152x864" 143.4 1152 1248 1376 1568 864 865 868 915 -hsync +vsync
ModeLine "1024x768" 139.1 1024 1120 1232 1408 768 769 772 823 -hsync +vsync
ModeLine "800x600" 84.0 800 872 960 1088 600 601 604 643 -hsync +vsync
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
VideoRam 131072
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 03:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 09:53 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 05:49 PM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 03-01-2004 12:06 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration