LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: yanzhongsan

debian lenny 安装后分辨率错误无法显示

[复制链接]
 楼主| 发表于 2010-5-6 14:13:38 | 显示全部楼层
Post by blue_stone;2088180
单用户模式登录后, 将/etc/rc2.d/*kdm移动到别的地方(如果你的启动管理器是gdm, 则是*gdm).
重启进入正常模式, kdm/gdm就不会自动启动了,  你就可以使用startx测试你的X配置.

插入u盘后, 在命令行模式下, 运行dmesg, 可以看到u盘的设备符, 如果是假定是sdb1, 则可以使用命令mount /dev/sdb1 /mnt将u盘挂载, 如果没有sdb1, 则可能是sdb.


多谢,我现在已经按照您说的方法更改了,系统可以启动到普通模式下了,只是没有图形环境,另外我的xorg.conf也拷贝出来了,如下:
===以下为xorg.conf的文件内容==================
# 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"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

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

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
        Modeline        "1360x768_60.00" 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
        Subsection        "Display"
        Modes                "1360x768"
        EndSubsection
EndSection
===========以上为xorg.conf文件内容=============
其中Section "Monitor"中的Modeline行为gtf命令产生的内容,是我手动添加的,还有Section "Screen"的Subsection "Display"的内容也是我添加的,其他为系统默认的,未做改动,我看不出来系统默认的分辨率是多少。
回复 支持 反对

使用道具 举报

发表于 2010-5-6 16:42:22 | 显示全部楼层
删除xorg.conf可以启动X么? 分辨率正常么?

使用别的分辨率可以么?比如1024*768

BTW: 修改device,指定驱动为radeon看看。你的驱动似乎也不对
Section "Device"
Identifier        "Configured Video Device"
Driver "radeon"
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-6 22:24:46 | 显示全部楼层
谢谢blue,现在我将分辨率改为1024x768可以启动了,只是有部分内容超出了显示器范围,但不严重,算是能用了。

但碰到另外一个问题:无法访问网络,我设置的ip,netmask,gateway,dns和windows是一样的,但还是访问不了。
我的/etc/network/interface 文件内容是这样的:
======/etc/network/interface================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
auto eth0

# iface eth0 inet dhcp
iface eth0 inet static
address 192.168.75.32
netmask 255.255.255.0
broadcast 192.168.75.255
gateway 192.168.1.8
======/etc/network/interface================

/etc/resolv.conf文件内容:
======/etc/resolv.conf================
nameserver 192.168.1.8
======/etc/resolv.conf================

我在命令行试图重起网络时碰到一个错误:
==================================

debian:/etc/init.d# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:25:64:e9:e8:d5  
          inet addr:192.168.75.32  Bcast:192.168.75.255  Mask:255.255.255.0
          inet6 addr: fe80::225:64ff:fee9:e8d5/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1036 errors:0 dropped:2204605040 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:99179 (96.8 KiB)  TX bytes:3180 (3.1 KiB)
          Interrupt:220 Base address:0x2000

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5204 (5.0 KiB)  TX bytes:5204 (5.0 KiB)

debian:/etc/init.d# ./networking restart
Reconfiguring network interfaces...SIOCADDRT: No such process
Failed to bring up eth0.
done.
debian:/etc/init.d#
.....
debian:/etc/network# ping www.163.com
ping: unknown host www.163.com
debian:/etc/network#
=======================================

请问这是什么原因啊,是什么造成我无法访问网络呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-6 22:32:08 | 显示全部楼层
我的windows的IP设置如附件中图示(不知道能不能直接看到……)

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2010-5-6 23:26:22 | 显示全部楼层
Post by yanzhongsan;2088318
我的windows的IP设置如附件中图示(不知道能不能直接看到……)

linux 和windows的网关设置不同. 并且windows的网关和地址不在同一网段.

这样做windows可以, 但是linux不可以.

另外, 你看一下/var/log/Xorg.0.log, 看看现在使用的是什么驱动. 驱动不对可能无法上到高分辨率.

如果开源的radeon驱动不支持你的显卡, 则需要安装amd 的fglrx
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-7 09:41:24 | 显示全部楼层
基本上搞定了,只是分辨率还是不对,不过今天似乎犯了个错误,我在删除几个软件后系统提示说有些包不再需要,要我运行apt-get autoremove来删除,可我一运行这个命令,发现整个系统几乎被清空,没有图形界面,连登陆界面都没有了,debian不是号称软件管理很强么,怎么会出现这种问题呢?
回复 支持 反对

使用道具 举报

发表于 2010-5-7 09:48:40 | 显示全部楼层
呵呵, apt-get autoremove应该有提示吧.

在系统提示有可以删除的软件时, 我一般会一个一个的删除.
回复 支持 反对

使用道具 举报

发表于 2010-5-7 09:48:57 | 显示全部楼层
Post by yanzhongsan;2088366
基本上搞定了,只是分辨率还是不对,不过今天似乎犯了个错误,我在删除几个软件后系统提示说有些包不再需要,要我运行apt-get autoremove来删除,可我一运行这个命令,发现整个系统几乎被清空,没有图形界面,连登陆界面都没有了,debian不是号称软件管理很强么,怎么会出现这种问题呢?


你用了什么驱动?
回复 支持 反对

使用道具 举报

发表于 2010-5-7 14:21:23 | 显示全部楼层
Post by luzhou;2088016
关键是你的水平和垂直频率一定要设置准确,可以上网站查询你的显示器具体参数。


请问在哪个网站可以查出来显示器的水平和垂直频率,谢谢!!
回复 支持 反对

使用道具 举报

发表于 2010-5-7 15:16:22 | 显示全部楼层
Post by loki;2088464
请问在哪个网站可以查出来显示器的水平和垂直频率,谢谢!!


显示器的手册上,或者是显示器官方网站
回复 支持 反对

使用道具 举报

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

本版积分规则

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