LinuxSir.cn,穿越时空的Linuxsir!

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

每次登陆都要两次,怎么解决?

[复制链接]
发表于 2008-5-20 21:12:32 | 显示全部楼层 |阅读模式
每次登陆ubuntu都要两次才行。第一次登陆屏幕会黑一下,显示几行英文,然后又跳到让你输入用户名的界面,再次登陆才能登陆到桌面。
按2楼的提示贴上日志中显示错误的部分 /var/log/messages



May 21 23:49:54 rambo kernel: [   33.961795] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
May 21 23:49:54 rambo kernel: [   33.979154] NFSD: starting 90-second grace period
May 21 23:49:55 rambo kernel: [   93.468460] Marking TSC unstable due to: cpufreq changes.
May 21 23:49:55 rambo kernel: [   93.479065] Time: acpi_pm clocksource has been installed.
May 21 23:49:56 rambo kernel: [   93.751052] Clocksource tsc unstable (delta = -176637807 ns)
May 21 23:49:57 rambo dhcdbd: Started up.
May 21 23:49:58 rambo kernel: [   58.306942] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
May 21 23:49:59 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
May 21 23:50:02 rambo kernel: [  100.999857] NET: Registered protocol family 17
May 21 23:50:02 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.host_name
May 21 23:50:02 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
May 21 23:50:02 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
May 21 23:50:02 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.interface_mtu
May 21 23:50:02 rambo kernel: [   38.358281] [drm] Initialized drm 1.1.0 20060810
May 21 23:50:02 rambo kernel: [   38.376736] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
May 21 23:50:02 rambo kernel: [   38.376813] [drm] Initialized i915 1.6.0 20060119 on minor 0
May 21 23:50:02 rambo kernel: [   38.376874] [drm] Initialized i915 1.6.0 20060119 on minor 1
May 21 23:50:18 rambo kernel: [  119.888281] e1000: eth0: e1000_watchdog: NIC Link is Down
May 21 23:58:28 rambo kernel: [  694.072404] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
May 21 23:58:32 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.host_name
May 21 23:58:32 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
May 21 23:58:32 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
May 21 23:58:32 rambo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.interface_mtu
发表于 2008-5-21 11:52:16 | 显示全部楼层
查看/var/log/message,看看有没有错误信息。显示的几行英文是什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-22 00:12:03 | 显示全部楼层
谢谢楼上,日志已经贴上了
回复 支持 反对

使用道具 举报

发表于 2008-5-22 11:19:52 | 显示全部楼层
难道是网卡驱动的问题?!别的看不出来。试试改动一下网络设置或者重装一下网卡驱动。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-23 00:54:05 | 显示全部楼层
Post by phenix;1853280
难道是网卡驱动的问题?!别的看不出来。试试改动一下网络设置或者重装一下网卡驱动。

/etc/network/interfaces 设置是这样

auto lo
iface lo inet loopback

输入 ifconfig 显示的信息是

eth0      Link encap:以太网  硬件地址 00:0d:60:7a:02:37  
          inet 地址:192.168.0.100  广播:192.168.0.255  掩码:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
          接收数据包:47279 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:30621 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:100
          接收字节:70053166 (66.8 MB)  发送字节:2268095 (2.1 MB)
          基本地址:0x7000 Memory:d0220000-d0240000

eth1      Link encap:以太网  硬件地址 00:0e:35:b1:08:3f  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
          接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:1560 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000
          接收字节:0 (0.0 B)  发送字节:0 (0.0 B)
          中断:11 基本地址:0xe000 Memory:d0204000-d0204fff

lo        Link encap:本地环回  
          inet 地址:127.0.0.1  掩码:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  跃点数:1
          接收数据包:172 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:172 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:0
          接收字节:10404 (10.1 KB)  发送字节:10404 (10.1 KB)

PS:带一个无线网卡

这有里面有错误么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-24 17:18:54 | 显示全部楼层
改自动登陆后过几天再取消自动登陆就OK了,不知道是什么原因。
回复 支持 反对

使用道具 举报

发表于 2008-5-26 14:59:28 | 显示全部楼层
真是够奇怪的,“奇怪的ubuntu”应该把这一条加上。
回复 支持 反对

使用道具 举报

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

本版积分规则

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