banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix không thể start X  XML
  [Question]   không thể start X 26/01/2008 02:44:41 (+0700) | #1 | 112142
[Avatar]
try_and_try
Member

[Minus]    0    [Plus]
Joined: 22/03/2007 10:20:34
Messages: 51
Location: Ho Chi Minh City
Offline
[Profile] [PM]
Mình mới tìm hỉu về Linux, nên khi gặp lổi này không biết fải xử lý sao. Đã gần 1 tuần để tìm trên HVA và google mà vẫn chưa khắc fục được
Mình cài Redhat Enterprise 4 AS. Khi cài xong thì start X bình thường ( nhưng vẫn chưa nhận được driver card màh hình onboard, chip SiS630 ) Sau khi install driver cho nó thì không thể khởi động giao diện đồ hoạ được nữa )
Lỗi:
Code:
XFree86 Version 3.3.6 / X Window System
( Protocol Version 11, revision 0, Vendor release 6300 )
Release Date: December 10 1999
If the server is older than 6-12 months, or if your card is never than the above date, look for a newer version before reporting problems
( See //.XFree86.org/FAQ)
Operating System: Linux 2.0.35 I 568 ( ELF)
Configured driver:
SVGA: Server for SVGA graphic adaptors ( Patchlevel 0 ):
NV1, STG2000, RIVA 128 ……… SiS 5598, SiS 6326, SiS 530, SiS 620, SiS 630 ……
Couldn’t find config file!
Tries:
//XF86Config
/etc/XF86Config
/usr/X11R6/lib/X11/XF86Config.localhost.localadmin
/usr/X11R6/lib/X11/XF86Confid
Fatal server error: No config file found!

Ok típ thì có thông báo
Code:
Would you like me to try to run the X còniguration program. Note that you will need the root password for this ( Yes )

Típ theo đó là nhập pass cho root và 1 hộp thoại xuất hiện ( giao diện đồ hoạ ) để chọn Resolutation ( 800x 600, 640x480 ) và Color Depth: Milion color ( OK)
thì có thông báo
Code:
Display setting changed: Configuration was written to /etc/X11/xorg.conf. Original configuration saved as /etc/X11/xorg.conf.backup

và OK, típ tục là 1 thông báo
Code:
I will to try to restart the X server again

và cứ như thế lặp lại
Đây là file xorg của mình
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	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      "kbd"
	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" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Unknown monitor"
	HorizSync    31.5 - 37.9
	VertRefresh  50.0 - 70.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "sis"
	VendorName  "Videocard vendor"
	BoardName   "SiS 630"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

xorgsetup
Code:
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.9-1.860_ELsmp i686 [ELF] 
Current Operating System: Linux localhost.localdomain 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686
Build Date: 09 December 2004
Build Host: tweety.build.redhat.com
 
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-5.EL (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005 
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/dev/null", Time: Sun Jan 20 21:54:00 2008
(++) Using config file: "/tmp/tmpRBlo24xorg.config"
FATAL: Module sis not found.
[drm] failed to load kernel module "sis"
(EE) SIS(0): [dri] DRIScreenInit failed. Disabling DRI.


Ai biết cách khắc phục chỉ mình với nha, thnks
[Up] [Print Copy]
  [Question]   Re: không thể start X 26/01/2008 04:59:32 (+0700) | #2 | 112171
281
Elite Member

[Minus]    0    [Plus]
Joined: 27/05/2007 00:22:15
Messages: 228
Offline
[Profile] [PM]
Thử sửa lại như vậy xem sao.

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


Bồ cài driver cho graphic card như thế nào?
[Up] [Print Copy]
  [Question]   Re: không thể start X 26/01/2008 05:26:41 (+0700) | #3 | 112179
[Avatar]
try_and_try
Member

[Minus]    0    [Plus]
Joined: 22/03/2007 10:20:34
Messages: 51
Location: Ho Chi Minh City
Offline
[Profile] [PM]

281 wrote:
Thử sửa lại như vậy xem sao.

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


Bồ cài driver cho graphic card như thế nào? 


Để mình sửa thử xem sao. Vì máy linux là máy nhà
Lúc mình chạy install là đang trong giao diện đồ hoạ ( nhưng chưa có driver ). Khi install xong, reboot máy lại thì không còn khởi động X được nữa
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|