LinuxSir.cn,穿越时空的Linuxsir!

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

升级后,无法进入图形界面

[复制链接]
发表于 2006-5-19 17:25:19 | 显示全部楼层 |阅读模式
ubuntu(5.04)升级后,无法进入图形界面,可能是xorg.conf惹的祸
但是不知道如何修改,网上搜了些,改了,还是进不去,贴上xorg.0.log和xorg.conf
大虾告诉我如何修改xorg.conf,谢谢!

========================================================

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

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

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

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

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

======================================================== xorg.conf文件

  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. #原来没有相关的东西,按照网上有人写的,我尝试了下,不行,后来给我注释掉了
  18. #RgbPath  "/usr/share/X11/rgb"
  19. #ModulePath "/usr/lib/xorg/modules"
  20. #****END****

  21. #原来的
  22.     FontPath    "/usr/share/X11/fonts/misc"
  23.     FontPath    "/usr/share/X11/fonts/cyrillic"
  24.     FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
  25.     FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
  26.     FontPath    "/usr/share/X11/fonts/Type1"
  27.     FontPath    "/usr/share/X11/fonts/CID"
  28.     FontPath    "/usr/share/X11/fonts/100dpi"
  29.     FontPath    "/usr/share/X11/fonts/75dpi"

  30. #****我添加的****
  31. FontPath           "/usr/share/fonts/misc"
  32. FontPath          "/usr/share/fonts/75dpi"
  33. FontPath          "/usr/share/fonts/100dpi"
  34. FontPath          "/usr/share/fonts/TTF"
  35. FontPath          "/usr/share/fonts/Type1"
  36. FontPath        "/usr/share/fonts/wqy"
  37. FontPath         "/usr/share/fonts/CID"
  38. FontPath       "/usr/share/fonts/cyrillic"
  39. FontPath       "/usr/share/fonts/75dpi/:unscaled"
  40. Fontpath       "/usr/share/fonts/100dpi/:unscaled"
  41. #****END****

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

  46. Section "Module"
  47.     Load    "GLcore"
  48.     Load    "i2c"
  49.     Load    "bitmap"
  50.     Load    "ddc"
  51.     Load    "dri"
  52.     Load    "extmod"
  53.     Load    "freetype"
  54.     Load    "glx"
  55.     Load    "int10"
  56.     Load    "type1"
  57.     Load    "vbe"
  58. EndSection

  59. Section "InputDevice"
  60.     Identifier    "Generic Keyboard"
  61.     Driver        "kbd"
  62.     Option        "CoreKeyboard"
  63.     Option        "XkbRules"    "xorg"
  64.     Option        "XkbModel"    "pc104"
  65.     Option        "XkbLayout"    "us"
  66. EndSection

  67. Section "InputDevice"
  68.     Identifier    "Configured Mouse"
  69.     Driver        "mouse"
  70.     Option        "CorePointer"
  71.     Option        "Device"        "/dev/input/mice"
  72.     Option        "Protocol"        "ImPS/2"
  73.     Option        "Emulate3Buttons"    "true"
  74.     Option        "ZAxisMapping"        "4 5"
  75. EndSection

  76. Section "Device"
  77.     Identifier    "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
  78.     Driver        "nv"
  79.     BusID        "PCI:2:0:0"
  80. EndSection

  81. Section "Monitor"
  82.     Identifier    "MAG 770FT"
  83.     Option        "DPMS"
  84. EndSection

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

  115. Section "ServerLayout"
  116.     Identifier    "Default Layout"
  117.     Screen        "Default Screen"
  118.     InputDevice    "Generic Keyboard"
  119.     InputDevice    "Configured Mouse"
  120. EndSection

  121. Section "DRI"
  122.     Mode    0666
  123. EndSection
复制代码

========================================================
发表于 2006-10-23 22:55:16 | 显示全部楼层
我的系统也是这样,刚装上的debian,一升完级就进不去x了,郁闷阿,有哪位高手来帮帮忙啊~!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
回复 支持 反对

使用道具 举报

发表于 2006-10-23 23:09:16 | 显示全部楼层
没知道怎么办的吗?我已经装了4遍debian,受不了了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
回复 支持 反对

使用道具 举报

发表于 2006-10-24 19:43:35 | 显示全部楼层

edit the xorg.conf file

as root to edit the xorg.conf file as below:

sudo gedit /etc/X11/xorg.conf

look for the line content "nvidia"

change "nvidia" to "nv" then save the file.

reboot, now you should get in to the X,  but without 3D support.
回复 支持 反对

使用道具 举报

发表于 2006-10-24 23:30:13 | 显示全部楼层
字体路径变了, 要修改配置文件, 我的如下, 参考:
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/share/fonts/truetype"
回复 支持 反对

使用道具 举报

发表于 2006-10-25 14:01:20 | 显示全部楼层
楼主也不知道跑哪去了。。。 我在这谢谢上面的两位了。
我是新手,不知道修改那个配置文件;置于显卡的设置我用的是通用的驱动,还没装nvidia的驱动呢,我重新配了好几次xorg,其中也选了nv,不过还是不行
我从网上找了半天,记得试着装了一个包(名字记不住了),可没想到用apt-get install ×××的时候,居然显示install 1, remove 500(具体数字记不清了),我很怀疑,但还是y了下去,结果是把机子上的gnome,kde等软件都删了,(爽了,只剩命令行了),我又自己升级了内核,一步一步把gnome装上的,再升级就没事了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 15:01:54 | 显示全部楼层
我当时也是修改了xorg.conf把所有可能的字体路径加进去,系统ok了
后来使用的是ubuntu dapper 6.06了

PS:我5月发的贴,大家10月才回,我也没有办法啊~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 15:03:31 | 显示全部楼层
我当时也是修改了xorg.conf把所有可能的字体路径加进去,系统ok了
后来使用的是ubuntu dapper 6.06了

PS:我5月发的贴,大家10月才回,我也没有办法啊~~
回复 支持 反对

使用道具 举报

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

本版积分规则

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