LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 684|回复: 0

Can't start the x-window

[复制链接]
发表于 2006-5-20 13:50:51 | 显示全部楼层 |阅读模式
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.cn/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:

  1. FontPath          "/usr/X11R6/lib/X11/fonts/misc"
  2. FontPath          "/usr/X11R6/lib/X11/fonts/75dpi"
  3. FontPath          "/usr/X11R6/lib/X11/fonts/100dpi"
  4. FontPath          "/usr/X11R6/lib/X11/fonts/TTF"
  5. FontPath          "/usr/X11R6/lib/X11/fonts/Type1"
  6. FontPath          "/usr/X11R6/lib/X11/fonts/wqy"
  7. FontPath          "/usr/X11R6/lib/X11/fonts/CID"
  8. FontPath          "/usr/X11R6/lib/X11/fonts/cyrillic"
  9. FontPath          "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  10. Fontpath          "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
复制代码

then,i can start my x-window,but it's English version
like the picture in http://forum.ubuntu.org.cn/download.php?id=3597

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

  1. ... ...
  2. (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
  3. (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
  4. (II) Configured Mouse: ps2EnableDataReporting: succeeded
  5. Warning: font renderer for ".pcf" already registered at priority 0
  6. Warning: font renderer for ".pcf.Z" already registered at priority 0
  7. Warning: font renderer for ".pcf.gz" already registered at priority 0
  8. Warning: font renderer for ".snf" already registered at priority 0
  9. Warning: font renderer for ".snf.Z" already registered at priority 0
  10. Warning: font renderer for ".snf.gz" already registered at priority 0
  11. Warning: font renderer for ".bdf" already registered at priority 0
  12. Warning: font renderer for ".bdf.Z" already registered at priority 0
  13. Warning: font renderer for ".bdf.gz" already registered at priority 0
  14. Warning: font renderer for ".pmf" already registered at priority 0

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

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

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

  28. Please consult the The X.Org Foundation support  
  29.      at http://wiki.X.Org
  30. for help.  
  31. Please also check the log file at "/var/log/Xorg.0.log" for additional information
复制代码


My xorg.0.log Now

  1. (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
  2. (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
  3. (II) Configured Mouse: ps2EnableDataReporting: succeeded
  4. Warning: font renderer for ".pcf" already registered at priority 0
  5. Warning: font renderer for ".pcf.Z" already registered at priority 0
  6. Warning: font renderer for ".pcf.gz" already registered at priority 0
  7. Warning: font renderer for ".snf" already registered at priority 0
  8. Warning: font renderer for ".snf.Z" already registered at priority 0
  9. Warning: font renderer for ".snf.gz" already registered at priority 0
  10. Warning: font renderer for ".bdf" already registered at priority 0
  11. Warning: font renderer for ".bdf.Z" already registered at priority 0
  12. Warning: font renderer for ".bdf.gz" already registered at priority 0
  13. Warning: font renderer for ".pmf" already registered at priority 0
  14. AUDIT: Sat May 20 11:09:50 2006: 4830 X: client 7 rejected from local host
复制代码


My xorg.conf Now

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

  16. Section "Files"

  17. #old section
  18.         FontPath        "/usr/share/X11/fonts/misc"
  19.         FontPath        "/usr/share/X11/fonts/cyrillic"
  20.         FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
  21.         FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
  22.         FontPath        "/usr/share/X11/fonts/Type1"
  23.         FontPath        "/usr/share/X11/fonts/CID"
  24.         FontPath        "/usr/share/X11/fonts/100dpi"
  25.         FontPath        "/usr/share/X11/fonts/75dpi"
  26. #modify
  27. FontPath          "/usr/X11R6/lib/X11/fonts/misc"
  28. FontPath          "/usr/X11R6/lib/X11/fonts/75dpi"
  29. FontPath          "/usr/X11R6/lib/X11/fonts/100dpi"
  30. FontPath          "/usr/X11R6/lib/X11/fonts/TTF"
  31. FontPath          "/usr/X11R6/lib/X11/fonts/Type1"
  32. FontPath          "/usr/X11R6/lib/X11/fonts/wqy"
  33. FontPath          "/usr/X11R6/lib/X11/fonts/CID"
  34. FontPath          "/usr/X11R6/lib/X11/fonts/cyrillic"
  35. FontPath          "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  36. Fontpath          "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"

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

  41. Section "Module"
  42.         Load        "GLcore"
  43.         Load        "i2c"
  44.         Load        "bitmap"
  45.         Load        "ddc"
  46.         Load        "dri"
  47.         Load        "extmod"
  48.         Load        "freetype"
  49.         Load        "glx"
  50.         Load        "int10"
  51.         Load        "type1"
  52.         Load        "vbe"
  53. EndSection

  54. Section "InputDevice"
  55.         Identifier        "Generic Keyboard"
  56.         Driver                "kbd"
  57.         Option                "CoreKeyboard"
  58.         Option                "XkbRules"        "xorg"
  59.         Option                "XkbModel"        "pc104"
  60.         Option                "XkbLayout"        "us"
  61. EndSection

  62. Section "InputDevice"
  63.         Identifier        "Configured Mouse"
  64.         Driver                "mouse"
  65.         Option                "CorePointer"
  66.         Option                "Device"                "/dev/input/mice"
  67.         Option                "Protocol"                "ImPS/2"
  68.         Option                "Emulate3Buttons"        "true"
  69.         Option                "ZAxisMapping"                "4 5"
  70. EndSection

  71. Section "Device"
  72.         Identifier        "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
  73.         Driver                "nv"
  74.         BusID                "PCI:2:0:0"
  75. EndSection

  76. Section "Monitor"
  77.         Identifier        "MAG 770FT"
  78.         Option                "DPMS"
  79. EndSection

  80. Section "Screen"
  81.         Identifier        "Default Screen"
  82.         Device                "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
  83.         Monitor                "MAG 770FT"
  84.         DefaultDepth        24
  85.         SubSection "Display"
  86.                 Depth                1
  87.                 Modes                "1024x768" "800x600" "720x400" "640x480"
  88.         EndSubSection
  89.         SubSection "Display"
  90.                 Depth                4
  91.                 Modes                "1024x768" "800x600" "720x400" "640x480"
  92.         EndSubSection
  93.         SubSection "Display"
  94.                 Depth                8
  95.                 Modes                "1024x768" "800x600" "720x400" "640x480"
  96.         EndSubSection
  97.         SubSection "Display"
  98.                 Depth                15
  99.                 Modes                "1024x768" "800x600" "720x400" "640x480"
  100.         EndSubSection
  101.         SubSection "Display"
  102.                 Depth                16
  103.                 Modes                "1024x768" "800x600" "720x400" "640x480"
  104.         EndSubSection
  105.         SubSection "Display"
  106.                 Depth                24
  107.                 Modes                "1024x768" "800x600" "720x400" "640x480"
  108.         EndSubSection
  109. EndSection

  110. Section "ServerLayout"
  111.         Identifier        "Default Layout"
  112.         Screen                "Default Screen"
  113.         InputDevice        "Generic Keyboard"
  114.         InputDevice        "Configured Mouse"
  115. EndSection

  116. Section "DRI"
  117.         Mode        0666
  118. EndSection
复制代码


Thank you very much if you can help me!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表