Jump to content

Problems starting GUI


sambo
 Share

Recommended Posts

Just installed Mandake 10 (OE) and have had a few problems. The big one at the moment is that it now starts at the konsole and wont let me use the 'startx' command. The last lines it comes up with are:

 

Using config file: "/etc/x11/xf86Config-4"

Parse error on line 1 of section (null) in file /etc/x11/xf86Config-4 (and then all sorts of jarbled text and characters, which then leaves me at the konsole prompt again but every time I type something in it doesn't type letters, but characters)

 

Can anyone help me fix this?

Does anyone know the cause of this?

 

Thanks!

Sam.

Link to comment
Share on other sites

For the garbelled text, type reset (you will obviously have to type it 'blind')

 

For the non-working desktop, type xf86config and follow the prompts - you will need the make and model of your graphics card and monitor. In case your monitor is not in the database, you will need the horizontal and vertical timings.

 

Haven't ever seen startx leave the console unreadable before though...

 

Chris

Link to comment
Share on other sites

What video card?

What is the default language chosen at install?

When you say characters, do you mean you can actually make them out, or does it appear to be huge text so big that they are lines on the screen?

 

Oh, XFdrake (case sensitive) and drakconf are the commands that launches the mandrake config tools.

xf86config is XFree's config tool.

Edited by bvc
Link to comment
Share on other sites

tell us later how it goes

one more thing that might have gone wrong is your monitor. from my experience XF86Config-4 has a bad habit of crashing (well X at least) if the monitor settings are incorrect (it might have set them incorrect by itself. sometimes needs to be corrected by hand. like I just had to when messing with 3D acceleration)

 

edit: typo

Edited by solarian
Link to comment
Share on other sites

Thanks for all the help! Much appreciated. :D

I tried 'XF86config', but that didn't fix the problem.

Solarian could be on to something with the monitor settings though. I changed them (in X) to a higher refresh rate which I use in windows, which seemed to work fine (in X) then it restarted with the problems.

I'll have a go at xfconfig again and see what happens.

Link to comment
Share on other sites

What video card?

What is the default language chosen at install?

When you say characters, do you mean you can actually make them out, or does it appear to be huge text so big that they are lines on the screen?

 

It's a Nvidia FX5200.

The default language chosen was either English or some variation of English (New Zealand English if that is an option?)

The characters are about half symbols like ?'s and grey squares, so they're unreadable.

Link to comment
Share on other sites

change them without going into X! it was important for me.

 

I can't get into X, that's what I'm trying to do when the problems happen.

I've tried changing the monitor and video card settings to the ones I used originally (when I first installed Mandrake) and the problem is still there.

Link to comment
Share on other sites

Ok, it appears the strange characters are gone.

This is now coming up when 'startx' is entered:

Parse error on line 1 of section (null) in file /etc/x11/XF86Config-4 "net" is not a valid keyword in this section.

 

(EE) problem parsing the config file

(EE) error from xf86HandleConfigFile()

 

Fatal server error:

no screens found

 

X10: fatal IO error 104 (connection reset by peer) on X Server ":0.0" after 0 requests (0 known processed) with 0 events remaining.

 

Still can't get into X

Link to comment
Share on other sites

check if the monitor name everywhere is the same where mentioned. like -> "monitor 1" or "monior 0"

change if needed

also delete any references to monitors you don't have (or graphic cards!) (I know this sounds silly, but it had written some generic sony monitor definitions for my ctx monitor when I messed with the XF86 and a vga graphics card before my Radeon card. I deleted those and everything worked (+some radeon related edits)

Link to comment
Share on other sites

I am again experiencing problems : restarted into win2000, back into MDK 10, text screen. would not not startx - similar probs to Sambo. strangely i had KDE up and running only moments before :furious3: i had to change Driver "nvidia" back to "nv" to get into a GUI. (i'll change it back to "nvidia" as i edit ther stuff (using Midnight commander)

 

I have a Dell/Phillips 15"tft monitor. Should i completely remove the reference to Sony Vaio/Tv fullscreen? and should "Default colour depth" have spaces or be "defaultcolourdepth" ??

 

this is most confusing!

 

(Thanks for taking the time!)

 

erated by XFdrake.

 

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx" # 3D layer

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "Keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "gb"

Option "XkbOptions" ""

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

Option "ZAxisMapping" "6 7"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Generic"

ModelName "Flat Panel 1024x768"

HorizSync 31.5-48.5

VertRefresh 40-70

 

# Sony Vaio C1(X,XS,VE,VN)?

# 1024x480 @ 85.6 Hz, 48 kHz hsync

ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

 

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corporation"

BoardName "NVIDIA GeForce2 DDR (generic)"

Driver "nv"

Option "DPMS"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Virtual 1024 768

EndSubsection

 

Subsection "Display"

Depth 15

Virtual 1024 768

EndSubsection

 

Subsection "Display"

Depth 16

Virtual 1024 768

EndSubsection

 

Subsection "Display"

Depth 24

Virtual 1024 768

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1"

EndSection

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...