Re: linux - no gui

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 15 Oct 2005, sowmya menon wrote:

->   today i tried installing fedora 4 . when i installed

It's not which linux distro you install, stick with the most up to date one you like. Old versions of software can have serious security bugs in them that could let someone else take control of your machine remotely.

-> the previous versions it showed error "Unable to probe
-> video settings" while installation. but fedora 4 didnt
-> show any errors. it probed the video card -sis
-> 300/305.


-> but after installation still the Gui didnt come up. i
-> am sending the log file and config file.

http://www.gnu.org/philosophy/no-word-attachments.html

That config file is very long and differicult to follow, I think it's trying to give an example of every possible parameter. IMO, you'd do better to write a simple one of your own from these and the manpages examples.

-> > >Parse error on line 242
-> > >Config file /etc/X11/XF86Config -> > >"Device" is not a valid keyword in this section

Bad config file. The configuration file format is detailed in the file XF86Config.5x (as XFree86 distributes it), on my system there is no 5x man section, so I move it to XF86Config.5.

man 5 XF86Config
or maybe
man 5x XF86Config
if you have a 5x section

Sis card specifics are described here:

man 4 sis

-> > >(EE) problem parsing config file
-> > >(EE) Error from xf86HandleConfig()
-> > >
-> > >Fatal server error: no screens found

Bad config file. The one that comes with many distros is a little "off". They make it generic to fit all sorts of things, but in reality yours is only one card. Just note the format of it, particularly what sections are required, then start your own new one, following the format for a guide, but using the right parameters for your own system.

My device section:

Section "Device"
    Identifier  "Intel i810"
    Driver      "i810"
    #VideoRam   431000
    VideoRam    231000
    Option      "DRI" "false"
    Option      "XVideo" "true"
    Option      "NoAccel" "false"
EndSection


In /usr/X11R6/lib/modules/drivers

is file sis_drv.o, which if you have a Sis card might be the one you need (I don't know this card myself, but this seems like a logical guess), so a start point for you Device section might be like this:

The drivers are the file names, without the _drv.o part at the end. For a different card, select one of the other drivers you see there.

Section "Device"
    	Identifier	"Sis Card"
	Driver		"sis"
	# Options go here, but sometimes aren't really needed
EndSection

For the Options section, which you might not need if the above is enough, look in 'man 4 sis', about line 58 or so down the screen.

When you do your screen section later, you take the "Sis Card" Identifier, and plug it in:

Section "Screen"
    Identifier  "Screen 1"
    Device      "Sis Card"
    ...
    ...

and so on...


It might take awhile to get a good config; make some changes to
/etc/X11/XF86Config, try to run X. If it's not working yet, read the log and see if it says anything to help you. Make some more changes, save it, try again.


Here's a finished example of one with all it's
sections from my first machine:

## --------------------------------------------------
## X11R6 Configuration
##
## Configuration file for X Window ## using S3_Virge card driver ## (Works for both XFree86 and X.Org with minor ## adjustments)
##
## --------------------------------------------------

Section "Module"
	SubSection  	"extmod"
    	EndSubSection
	# Things in /usr/X11R6/lib/modules/fonts
    	Load        	"type1"
    	Load        	"freetype"
    	Load        	"speedo"
	Load		"xtt"
	# Ext. in /usr/X11R6/lib/modules/extensions
    	Load		"dbe"
	Load		"dri"
	Load		"record"
	Load        	"glx"
    	Load		"GLcore"
	Load		"xtrap"
EndSection

# Some configs, especially RedHat, use the xfs here, but
# you can just use paths to fonts like this
Section "Files"
	RgbPath		"/usr/X11R6/lib/X11/rgb"
        FontPath	"/usr/X11R6/lib/X11/fonts/local"
	FontPath	"/usr/X11R6/lib/X11/fonts/CID"
	FontPath   	"/usr/X11R6/lib/X11/fonts/misc/"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/Type1/"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/Speedo/"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/75dpi/"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/100dpi/"
    	FontPath   	"/usr/X11R6/lib/X11/fonts/cyrillic/"
    	ModulePath 	"/usr/X11R6/lib/modules"
    	ModulePath 	"/lib/modules/2.4.31/kernel/drivers/char/drm"
EndSection

Section "ServerFlags"
    	Option 		"Xinerama"
	Option 		"AllowDeactivateGrabs"	"true"
Option "AllowClosedownGrabs" "true" EndSection

# Change this depending on which X11 distro is in use
Section "InputDevice"
    	Identifier "Keyboard1"
    	# XFree86 uses this one:
	Driver     "Keyboard"
	# ...and this one is for X.org (shorter name)
        #Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier	"Mouse1"
    	Driver		"mouse"
    	Option 		"Protocol"		"PS/2"
    	Option 		"Device"		"/dev/mouse"
    	Option 		"Emulate3Buttons"	"on"
    	Option		"Emulate3Timeout"	"50"
EndSection

Section "Monitor"
    	Identifier  	"CrystalScan"
    	HorizSync   	31.5 - 50.0
    	VertRefresh 	40-90
EndSection

Section "Device"
    	Identifier 	"S3 ViRGE"
    	Driver     	"s3virge"
EndSection

Section "Screen"
    	Identifier  	"Screen 1"
    	Device      	"S3 ViRGE"
    	Monitor     	"CrystalScan"
   	DefaultDepth 24

	Subsection "Display"
        	Depth       8
        	Modes "1024x768" "800x600" "640x480"
    	EndSubsection

	Subsection "Display"
        	Depth       16
        	Modes "1024x768" "800x600" "640x480"
    	EndSubsection

	Subsection "Display"
        	Depth       24
        	Modes "1024x768" "800x600" "640x480"
    	EndSubsection
EndSection

Section "ServerLayout"
    	Identifier  	"Complex Layout"
    	Screen 		"Screen 1"
    	InputDevice 	"Mouse1"	"CorePointer"
    	InputDevice 	"Keyboard1" 	"CoreKeyboard"
EndSection




--
   / /     __  __  __  __  __ __  __ mail me for my *
  / /__   / / /  \/ / / /_/ / \ \/ /  *  email address.
 /_____/ /_/ /_/\__/ /_____/  /_/\_\ ::[ATr2 RG 2005]::
------------------------------------------------------------
Microsoft WinXP Pro/Home, Internet Explorer, MS Money, Office
HALL OF SHAME HONOREES:
http://www.threatcode.com/admin_rights.htm
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux