Can't start the x-window

编译打包和其他
回复
chiefsailor
帖子: 11
注册时间: 2006-05-16 20:05

Can't start the x-window

#1

帖子 chiefsailor » 2006-05-20 11:44

when i setup the OS,my version is ubuntu 5.04
the day before yesterday,i update the core of the OS,then i cannot start the x-window
it told me"could not open default font 'fixed"
then i wanted to get the answer from the network
I have done these work:
1.
#rm xorg.conf
#apt-get --purge remove xserver-xorg
#apt-get install xserver-xorg
Refer to:
http://www.linuxsir.org/bbs/showthread.php?t=252893
Rusult:
i still can not go into the x-window,the error information is still "could not open default font 'fixed"

2.I add these into the xorg.conf:

代码: 全选

FontPath          "/usr/X11R6/lib/X11/fonts/misc"
FontPath          "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath          "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath          "/usr/X11R6/lib/X11/fonts/TTF"
FontPath          "/usr/X11R6/lib/X11/fonts/Type1"
FontPath          "/usr/X11R6/lib/X11/fonts/wqy"
FontPath          "/usr/X11R6/lib/X11/fonts/CID"
FontPath          "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath          "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
Fontpath          "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
then,i can start my x-window,but it's English version
like the picture i have upload

Now,I want to know that how i can make my OS normal? I think it's a bug of the xorg 7.0(many people also think so)

P.S.you can just reply in Chinese,because my scim can not work any more,my only choice is to write in English.

My Xorg.0.log before

代码: 全选

... ... 
(II) XINPUT: Adding extended input device \"Configured Mouse\" (type: MOUSE) 
(II) XINPUT: Adding extended input device \"Generic Keyboard\" (type: KEYBOARD) 
(II) Configured Mouse: ps2EnableDataReporting: succeeded 
Warning: font renderer for \".pcf\" already registered at priority 0 
Warning: font renderer for \".pcf.Z\" already registered at priority 0 
Warning: font renderer for \".pcf.gz\" already registered at priority 0 
Warning: font renderer for \".snf\" already registered at priority 0 
Warning: font renderer for \".snf.Z\" already registered at priority 0 
Warning: font renderer for \".snf.gz\" already registered at priority 0 
Warning: font renderer for \".bdf\" already registered at priority 0 
Warning: font renderer for \".bdf.Z\" already registered at priority 0 
Warning: font renderer for \".bdf.gz\" already registered at priority 0 
Warning: font renderer for \".pmf\" already registered at priority 0 

Fatal server error: 
could not open default font \'fixed\'; 
the X server\'s font paths might be misconfigured, remote font server(s) 
may be unreachable, and/or local fonts may not be installed or are not 
configured correctly. 

People inexperienced with the X Window System should have either the 
\"x-window-system\" or \"x-window-system-core\" packages installed. 
# apt-get install x-window-system-core 
# apt-get install x-window-system 

Other useful commands to run include: 
$ dpkg --status xserver-common 
$ dpkg --status xfonts-base 
$ zmore /usr/share/doc/xorg-common/FAQ.gz 

Please consult the The X.Org Foundation support  
     at http://wiki.X.Org 
 for help.  
Please also check the log file at \"/var/log/Xorg.0.log\" for additional information
My xorg.0.log Now

代码: 全选

(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
AUDIT: Sat May 20 11:09:50 2006: 4830 X: client 7 rejected from local host
My xorg.conf Now

代码: 全选

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"

#old section
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/CID"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
#modify
FontPath          "/usr/X11R6/lib/X11/fonts/misc"
FontPath          "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath          "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath          "/usr/X11R6/lib/X11/fonts/TTF"
FontPath          "/usr/X11R6/lib/X11/fonts/Type1"
FontPath          "/usr/X11R6/lib/X11/fonts/wqy"
FontPath          "/usr/X11R6/lib/X11/fonts/CID"
FontPath          "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath          "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
Fontpath          "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"

        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
	Driver		"nv"
	BusID		"PCI:2:0:0"
EndSection

Section "Monitor"
	Identifier	"MAG 770FT"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
	Monitor		"MAG 770FT"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
Thank you very much if you can help me!
附件
PrintScreen Now
PrintScreen Now
回复