帮我看下我的xorg.conf文件,登录时分辨率调不下来。又遇到了新问题!各位前辈帮忙啊!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lovery
帖子: 4
注册时间: 2008-10-23 0:19

帮我看下我的xorg.conf文件,登录时分辨率调不下来。又遇到了新问题!各位前辈帮忙啊!

#1

帖子 lovery » 2008-10-24 21:55

不知是哪里出问题了?是不是驱动不对,如果是驱动不对的话应该怎么调,我想把登录的分辨率设为:1024*768,和网上查到的都不一样。

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout" "Default Layout"
Screen "Default Screen"
EndSection
上次由 lovery 在 2008-10-25 1:57,总共编辑 1 次。
lovery
帖子: 4
注册时间: 2008-10-23 0:19

Re: 帮我看下我的xorg.conf文件,登录时分辨率调不下来。

#2

帖子 lovery » 2008-10-24 21:56

没有别人说的那些分辨率设置。
头像
morphus
帖子: 14
注册时间: 2008-10-08 16:05

Re: 帮我看下我的xorg.conf文件,登录时分辨率调不下来。

#3

帖子 morphus » 2008-10-24 22:10

先运行gtf命令,把Modeline一行添加到Section "Monitor",保存,重启。

  :~$ gtf 1024 768 75 (gtf后面是分辨率,最后是刷新率,中间有空格)

  # 1024×768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz

  Modeline “1024×768_75.00″ 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
(此行加入Section "Monitor"段)
  然后进入/etc/X11/xorg.conf(用sudo编辑)

  找到并修改后

  Section “Monitor”

  Identifier "Configured Monitor"

  Modeline “1024×768_7500″ 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync

  EndSection
 
lovery
帖子: 4
注册时间: 2008-10-23 0:19

Re: 帮我看下我的xorg.conf文件,登录时分辨率调不下来。

#4

帖子 lovery » 2008-10-25 1:54

感谢楼上的回答,不过我的系统现在启动不起来了,按照楼上回答的做了一遍,(正好系统升级),升级完,后,重启,出现在了下面问题,x到现在还没启动起来。超级郁闷。真是搞死我了。
重启后出现在下面问题
Could not start the X
Server(your graphical environment)
due to some internal error
Please contact your system administrator
or check your syslog to diagnose
In the meantime this display will be disabled
Please restart GDM when the ploblem is correted.
我又在另一分区里划出一块ghost了一个xp,进xp上网查了一下,结果重启,遇到了更大的麻烦,出现在了grub error17 ,郁闷下,又fdisk /mbr ,终于进入了xp,找了一堆方法,最后,live cd启动到ubuntu,重建了grub,(sudo -i 取得root权限;
grub 进入grbu编辑;
find /boot/grub/stage1;(不知道什么作用)
出现:hd0.7
root (hd0,7) 指定安装的路径;
setup (hd0)
quit;)
再进入了/boot/grub/文件夹下,把menu.list里所有的(hd0,8)改为了(hd7,0),(我分出一个区的时候,好像ubuntu的分区进了hd7,我原来是hd8,奇怪了。重启,终地,再现了我可爱的grub菜单,高兴之下,引导,最后一步:

Could not start the X
Server(your graphical environment)
due to some internal error
Please contact your system administrator
or check your syslog to diagnose
In the meantime this display will be disabled
Please restart GDM when the ploblem is correted.
找了几个方法,都不行, init5 ,startx, fsck/dev/sda7
!!!!!!!!!!!!!我已经彻底崩溃了,睡觉去了。
lovery
帖子: 4
注册时间: 2008-10-23 0:19

Re: 帮我看下我的xorg.conf文件,登录时分辨率调不下来。

#5

帖子 lovery » 2008-10-25 1:56

三楼的DX,再帮我想想办法,好不容易都配置好了,也升级了(当时不知道改源,升级用了10个小时!),真不想重装了。各位老大们再来帮忙啊!!
头像
morphus
帖子: 14
注册时间: 2008-10-08 16:05

Re: 帮我看下我的xorg.conf文件,登录时分辨率调不下来。又遇到了新问题!各位前辈帮忙啊!

#6

帖子 morphus » 2008-10-25 10:29

不好意思,我也是新手,分辨率设置因为我刚弄过,所以把我的步骤写了下来,你升级后出现的问题我就帮不了你了。你在论坛转转,找个这方面熟悉的可以给他站内短信。祝 好运……
头像
daf3707
论坛版主
帖子: 12731
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 帮我看下我的xorg.conf文件,登录时分辨率调不下来。又遇到了新问题!各位前辈帮忙啊!

#7

帖子 daf3707 » 2008-10-25 10:31

重新配置X试试

代码: 全选

sudo dpkg-reconfigure xserver-xorg
回复