LinuxSir.cn,穿越时空的Linuxsir!

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

如何修改启动时的分辨率???

[复制链接]
发表于 2005-3-22 14:40:28 | 显示全部楼层 |阅读模式
我装的是MagicLinux1.2fina
安装设置的时候没怎么在意
结果进不了图形界面,startx有问题

在字符模式下用xconfig配置,修改了一下depth,但是分辨率没设好
现在可以进linux了,但是默认的分辨率是最高的,好像是1400*。。。(具体数据不记得了)
只能修改桌面分辨率为1024*768
打开终端的时候,还是那么大的分辨率

在/etc/X11下的XF86Config-4中有没有选项可以改启动时的分辨率的??


谢谢大虾抽空来看一下
发表于 2005-3-22 15:34:33 | 显示全部楼层
  1. Section "Screen"
  2.         Identifier "Screen0"
  3.         Device     "Card0"
  4.         Monitor    "MoNItor0"
  5.         DefaultDepth 16
  6.         SubSection "Display"
  7.                 Viewport   0 0
  8.                 Depth     1
  9.         EndSubSection
  10.         SubSection "Display"
  11.                 Viewport   0 0
  12.                 Depth     4
  13.         EndSubSection
  14.         SubSection "Display"
  15.                 Viewport   0 0
  16.                 Depth     8
  17.         EndSubSection
  18.         SubSection "Display"
  19.                 Viewport   0 0
  20.                 Depth     15
  21.         EndSubSection
  22.         SubSection "Display"
  23.                 Viewport   0 0
  24.                 Depth     16
  25.                 Modes     "1024x768"
  26.         EndSubSection
  27.         SubSection "Display"
  28.                 Viewport   0 0
  29.                 Depth     24
  30.         EndSubSection
  31. EndSection
复制代码


能看明白吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-22 18:42:03 | 显示全部楼层
楼上的大哥
谢谢你的指点

我现在把我的两分配置发出来给大哥你看看

XF86Config-4
  1. Section "Monitor"
  2. Identifier "PHILIPS 107S"
  3. VendorName "Unknown"
  4. ModelName  "Unknown"
  5. HorizSync 30 - 71
  6. VertRefresh 50 - 160
  7. Option "dpms"
  8. EndSection

  9. Section "Screen"
  10. Identifier "Screen0"
  11. Device "My Video Card"
  12. Monitor "PHILIPS 107S"
  13. DefaultDepth 24
  14. Subsection "Display"
  15.   Depth 24
  16.   Modes "1024*768"
  17. EndSubsection
  18. EndSection
复制代码



原来的x配置文件
XF86Config

  1. # **********************************************************************
  2. # Screen sections
  3. # **********************************************************************

  4. # The Colour SVGA server

  5. Section "Screen"
  6.     Driver      "svga"
  7.     Device      "Generic VGA"
  8.     #Device      "My Video Card"
  9.     Monitor     "PHILIPS 107S"
  10.     Subsection "Display"
  11.         Depth       8
  12.         #Modes       (null)
  13.         ViewPort    0 0
  14.     EndSubsection
  15. EndSection

  16. # The 16-color VGA server

  17. Section "Screen"
  18.     Driver      "vga16"
  19.     Device      "Generic VGA"
  20.     Monitor     "PHILIPS 107S"
  21.     Subsection "Display"
  22.         Modes       "640x480" "800x600"
  23.         ViewPort    0 0
  24.     EndSubsection
  25. EndSection

  26. # The Mono server

  27. Section "Screen"
  28.     Driver      "vga2"
  29.     Device      "Generic VGA"
  30.     Monitor     "PHILIPS 107S"
  31.     Subsection "Display"
  32.         Modes       "640x480" "800x600"
  33.         ViewPort    0 0
  34.     EndSubsection
  35. EndSection

  36. # The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64
  37. # I128, and S3V)
  38. Section "Screen"
  39.     Driver      "accel"
  40.     Device      "My Video Card"
  41.     Monitor     "PHILIPS 107S"
  42. EndSection
复制代码




现在可以自动进入图形界面,但是分辨率还是1400*1050
不知道为什么

添加代码的时候有什么地方要注意的阿?
回复 支持 反对

使用道具 举报

发表于 2005-3-22 20:30:52 | 显示全部楼层
Subsection "Display"
  Depth 24
  Modes "1024*768"   <-------- 这里些错了,应该是xyz的"x"而不是“*”  
EndSubsection


                           
回复 支持 反对

使用道具 举报

发表于 2005-3-22 21:12:52 | 显示全部楼层
呵,楼上的细心,没看到你的帖子,我都找了半天,竟没注意楼主犯这样的错误。楼主,咋搞的?我还以为你有好几个配置文件呢。
回复 支持 反对

使用道具 举报

发表于 2005-3-22 21:14:37 | 显示全部楼层
呵,楼上的细心,没看到你的帖子,我都找了半天,竟没注意楼主犯这样的错误。楼主,咋搞的?我还以为你有好几个配置文件呢。也怪我的显示器,跟楼主的一样的,可惜老化了,看不大清楚。唉,视力也大受影响了,等 我有了钱,一定要买新液晶显示器,一次买俩,一个用,另一个备用。
回复 支持 反对

使用道具 举报

发表于 2005-3-22 21:17:38 | 显示全部楼层
哈哈,我也奢望有一个又大又清晰的液晶显示器,一个就满足啦
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-23 10:10:08 | 显示全部楼层
我晕阿
我说什么问题呢。。。

多谢楼上的大大细心

这下解决了
呵呵,粗心的老毛病了


等咱有钱了
液晶显示器想买几台买几台
哈哈
回复 支持 反对

使用道具 举报

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

本版积分规则

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