Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!
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.
# 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
# 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
# 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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.