ubuntu 14.04一直重复输入密码登录状态

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

ubuntu 14.04一直重复输入密码登录状态

#1

帖子 413327079 » 2015-03-18 16:35

本人菜鸟,刚接触ubuntu一个星期左右,然后今天突然就开不了机,一直重复输入密码登录状态,进不了图形界面,然后在按ctrl+alt+F2后进入tty一直有这样的界面。。。(附图),求教程, :em80 :em80 :em80 :em80 :em80 :em87 :em87 :em87 。我是装双系统的笔记本,一个为win8.1,一个ubuntu,我怕重装会影响系统。。。
附件
Screenshot_2015-03-18-16-28-20.png
Screenshot_2015-03-18-16-28-15.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#2

帖子 poloshiao » 2015-03-18 21:28

今天突然就开不了机
看看能否登入 Recovery Mode
https://wiki.ubuntu.com/RecoveryMode
請再貼文
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#3

帖子 413327079 » 2015-03-20 14:07

我现在可以进入recoverymode,但是我不知道怎么修复,还好,现在我可以通过进入tty然后startx启动,再在终端输入unity才可以启动到图形界面。求大神们帮帮忙,教我怎样修复自动进图形界面吧!非常感谢 :em80 :em80 :em80
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#4

帖子 poloshiao » 2015-03-20 16:32

进入 recoverymode 桌面 (不是進入 tty1)
1. 參閱
http://askubuntu.com/questions/396957/m ... m-log-file
看看 lightdm 的 logfile
有沒有什麼資訊 能夠幫你判斷
1-1. 進一步 參閱
http://askubuntu.com/questions/150487/w ... er-graphic

2. 如果找不到能夠幫助的資訊
2-1. sudo apt-get install pastebinit
2-2. sudo cat /var/log/syslog | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
2-3. sudo cat /var/log/lightdm/lightdm.log | pastebinit
會回應 http://paste.ubuntu.com/yyyyyyy # yyyyyyy 是一組數字
2-4. 把 http://paste.ubuntu.com/xxxxxxxhttp://paste.ubuntu.com/yyyyyyy 貼上來
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#5

帖子 413327079 » 2015-03-20 16:50

poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#6

帖子 poloshiao » 2015-03-20 21:36

http://paste.ubuntu.com/10633172/
47 [+1.32s] DEBUG: Session pid=1284: Exited with return value 0
48 [+1.32s] DEBUG: Seat: Session stopped

91 [+10.25s] DEBUG: Session pid=1307: Exited with return value 0
92 [+10.25s] DEBUG: Seat: Session stopped


100 Session pid=1353: Exited with return value 0
101 [+10.51s] DEBUG: Seat: Session stopped
1. 已經確認的 Bug
參見
https://bugs.launchpad.net/ubuntu/+sour ... ug/1312526
lightdm fails to start session unless user selects session
2. 你的 acpi 有許多錯誤訊息
3. 你的 有線網卡/無線網卡 有許多錯誤
4. 如果能夠安裝正確的顯卡/網卡驅動 看看錯誤訊息 會不會減少
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#7

帖子 413327079 » 2015-03-20 21:59

非常感谢您帮忙查看bug,我去尝试重新安装一下驱动吧,还有,在系统设置里它提供的驱动安装安装错误了吗?不然怎么会有这种错误?如果可以,打扰您可以帮我看看amd radeon R5 M230显卡和Broadcom802.11n网卡和Qualcomm的网卡驱动在ubuntu里怎么装吗?麻烦了,感谢您的帮助 :em06 :em10
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#8

帖子 poloshiao » 2015-03-20 22:08

我去尝试重新安装一下驱动吧,还有,在系统设置里它提供的驱动安装安装错误了吗?不然怎么会有这种错误?如果可以,打扰您可以帮我看看amd radeon R5 M230显卡和Broadcom802.11n网卡和Qualcomm的网卡驱动在ubuntu里怎么装吗?
把下面指令 複製 貼進終端機 執行
1. 顯卡
sudo lshw -numeric -class video
2. 網卡
sudo lshw -numeric -class network
把結果直接 選取/複製 貼上來
不必擷圖
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#9

帖子 413327079 » 2015-03-20 22:30

*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller [8086:416]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:45 memory:b9000000-b93fffff memory:a0000000-afffffff ioport:5000(size=64)


*-network
description: Ethernet interface
product: QCA8172 Fast Ethernet [1969:10A0]
vendor: Qualcomm Atheros [1969]
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 10
serial: f8:a9:63:ba:0a:f6
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=172.18.71.235 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:48 memory:b9400000-b943ffff ioport:3000(size=128)


还有一个问题acpi是什么呢?可以怎样修改呢? :em06 :em06
麻烦了! :em10
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#10

帖子 poloshiao » 2015-03-21 4:55

product: 4th Gen Core Processor Integrated Graphics Controller [8086:416]
configuration: driver=i915 latency=0
1. 顯卡 Intel 內建
目前作用中驅動 開源 i915
1-1. Ubuntu 14.04 Unity 桌面 需要 3D 加速 支援
i915 支援度 還不太夠
所以 建議 安裝
2D 桌面的
Lubuntu https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/Lubuntu
Xubuntu https://wiki.ubuntu.com/TrustyTahr.2/Re ... es/Xubuntu
Ubuntu MATE https://ubuntu-mate.org/trusty/
1-2. 如果還是喜歡 Unity 桌面 建議升級到 14.10
https://wiki.ubuntu.com/UtopicUnicorn/R ... _14.04_LTS
1-2-1. 升級完畢 參考
https://01.org/linuxgraphics/downloads/ ... inux-1.0.8
https://01.org/linuxgraphics/downloads/ ... ck-release
安裝 i915 及 配套程式
帮我看看amd radeon R5 M230显卡
沒有 ?
把下面指令 複製 貼進終端機 執行
sudo lspci -knn
把結果直接 選取/複製 貼上來
不必擷圖
product: QCA8172 Fast Ethernet [1969:10A0]
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=172.18.71.235 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
有線網卡 QCA8172 Fast Ethernet
目前作用中 驅動 alx
http://www.linuxfoundation.org/collabor ... orking/alx
The alx driver provide support for:
1969:10A0 - QCA8172 Fast Ethernet
是合適的驅動
Broadcom802.11n网卡
沒有 ?
把下面指令 複製 貼進終端機 執行
sudo lspci -knn
如果無線網卡是 usb 裝置 請增加
sudo lsusb
把結果直接 選取/複製 貼上來
不必擷圖
acpi是什么呢?可以怎样修改呢?
請參閱
你的電腦及主板的 Bios 有關使用說明書
https://help.ubuntu.com/community/Power ... rview#ACPI
http://zh.wikipedia.org/wiki/%E9%AB%98% ... 5%E5%8F%A3
http://en.wikipedia.org/wiki/Advanced_C ... _Interface
acpi 的部份控制機制 跟 顯卡/網卡 硬件及驅動及韌體 關係密切
所以等 顯卡/驅動/韌體 都正確安裝後 再來檢視
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#11

帖子 413327079 » 2015-03-21 9:10

您好,真的非常感谢您耐心的解答,以下是我按您的指令操作返回的结果。真的万分感谢。


00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
Subsystem: Lenovo Device [17aa:3978]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Lenovo Device [17aa:380b]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM86 Express LPC Controller [8086:8c49] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
Subsystem: Lenovo Device [17aa:3978]
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] [1002:6665] (rev ff)
Kernel driver in use: radeon
08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lenovo Device [17aa:0611]
Kernel driver in use: wl
09:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
Subsystem: Lenovo Device [17aa:3801]
Kernel driver in use: alx
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#12

帖子 poloshiao » 2015-03-21 11:12

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Lenovo Device [17aa:380b]
Kernel driver in use: i915
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] [1002:6665] (rev ff)
Kernel driver in use: radeon
1. 雙顯卡
1-1. 目前作用中 驅動
開源 i915
開源 radeon
1-2. [AMD/ATI] Jet PRO [Radeon R5 M230] 需要安裝 閉源驅動 Catalyst 或 fglrx
1-2-1. https://wiki.ubuntu.com/X/Config/HybridGraphics
1-2-2. https://help.ubuntu.com/community/HybridGraphics

1-3. 閉源驅動 Catalyst 最新穩定版本
http://support.amd.com/en-us/download/d ... x%20x86_64
AMD Catalyst 14.12 Proprietary Linux x86 Display Driver
12/9/2014
1-3-1. 支援
http://support.amd.com/en-us/kb-article ... Notes.aspx
AMD Mobility Product Family Compatibility ​
AMD Radeon R5 M200 Series
Linux Distributions Supported:
Ubuntu 12.04.4 LTS, 14.04 LTS
1-3-2. 安裝
http://support.amd.com/en-us/kb-article ... Notes.aspx
https://help.ubuntu.com/community/Binar ... 7s_website
08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lenovo Device [17aa:0611]
Kernel driver in use: wl
2. 無線網卡 BCM43142 作用中驅動 wl
2-1. 試試 wl 新版本的 bcmwl-kernel-source
https://help.ubuntu.com/community/WifiD ... rietary.29
viewtopic.php?p=3125994#p3125994
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#13

帖子 413327079 » 2015-03-21 21:10

首先,很感谢您的帮忙,但是可能因为我太蠢了,,在安装各种驱动时又有各种问题。。

1.在安装catalyst时,进入了安装画面,提示 your graphics adapter is not supported....

2.我尝试安装fglrx, 终端提示
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:

fglrx : 依赖: xorg-video-abi-11 但无法安装它 或
xorg-video-abi-12 但无法安装它 或
xorg-video-abi-13 但无法安装它 或
xorg-video-abi-14 但无法安装它 或
xorg-video-abi-15

3.在安装网卡驱动时,下载了相应的驱动版本,是一个tar.gz包,解压后里面有src文件夹,makefile文件,readme文件。 然后我在终端用make,又得到了以下的信息。。
root@leo-Lenovo-G410:/home/leo/下载/bcmwl-6.30.223.248+bdcom# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: 正在进入目录 `/usr/src/linux-headers-3.16.0-31-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /home/leo/下载/bcmwl-6.30.223.248+bdcom/built-in.o
make[2]: *** 没有规则可以创建“/home/leo/下载/bcmwl-6.30.223.248+bdcom/wl.o”需要的目标“/home/leo/下载/bcmwl-6.30.223.248+bdcom/src/shared/linux_osl.o”。 停止。
make[1]: *** [_module_/home/leo/下载/bcmwl-6.30.223.248+bdcom] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.16.0-31-generic'
make: *** [all] 错误 2


希望你能再次解决我的问题,万分感谢。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu 14.04一直重复输入密码登录状态

#14

帖子 poloshiao » 2015-03-22 7:24

1.在安装catalyst时,进入了安装画面,提示 your graphics adapter is not supported....
2.我尝试安装fglrx, 终端提示
3. 在安装网卡驱动时,下载了相应的驱动版本,是一个tar.gz包,解压后里面有src文件夹,makefile文件,readme文件。 然后我在终端用make,又得到了以下的信息。。
1. 請把下載檔案全名 執行指令過程 及 文字回應 全部複製 貼上來
摘要 只能當補充說明
以免遺漏重要訊息
你提供的資訊越詳細 獲得立即有用的協助 速度越快

1-1. 如果內容太多
可以 複製 貼到
http://paste.ubuntu.com
再把回應網址貼上來

1-2. 分開 每一個驅動 一個網址 有利於討論
413327079
帖子: 16
注册时间: 2015-03-18 16:10
系统: ubuntu14.04lts

Re: ubuntu 14.04一直重复输入密码登录状态

#15

帖子 413327079 » 2015-03-22 11:38

好的,麻烦您了

1.安装catalyst,安装包是从http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64下载的。
解压后进入目录
在终端输入sudo sh ./amd-driver-installer-14.501.1003-x86.x86_64.run
终端返回

Created directory fglrx-install.Oo5AFK
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.501.1003..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Detected configuration:
Architecture: x86_64 (64-bit)
X Server: X.Org 6.9 or later 64-bit

进入安装画面,选择install Driver 14.501.1003 on x.org 6.9 or later 64bit.
然后就弹出message对话框 your graphics adapter is not supported by this driver. installation will not proceed.
就无法安装了。

2.安装fglrx
我在终端上输入sudo apt-get install fglrx
终端返回

正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
fglrx : 依赖: xorg-video-abi-11 但无法安装它 或
xorg-video-abi-12 但无法安装它 或
xorg-video-abi-13 但无法安装它 或
xorg-video-abi-14 但无法安装它 或
xorg-video-abi-15
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系

3.安装网卡驱动
我在https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx#Broadcom_STA_Wireless_driver_.28Proprietary.29
上下载的安装包,因为我知道我的网卡是BCM43142,所以我选择下载了Broadcom STA Wireless driver
选择了The Utopic Unicorn (current stable release)这个版本,进入下载页
进入了https://launchpad.net/ubuntu/+source/bcmwl/6.30.223.248+bdcom-0ubuntu1下载页面
下载了bcmwl_6.30.223.248+bdcom.orig.tar.gz
然后在终端解压
进入了目录发现有一个src文件夹,一个make文件,一个readme文件
(其实我并不知道这个tar包应该怎样安装)
所以我就在这个目录里,终端输入make
终端返回

leo@leo-Lenovo-G410:~/下载/bcmwl-6.30.223.248+bdcom$ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: 正在进入目录 `/usr/src/linux-headers-3.16.0-31-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
make[2]: *** 没有规则可以创建“/home/leo/下载/bcmwl-6.30.223.248+bdcom/wl.o”需要的目标“/home/leo/下载/bcmwl-6.30.223.248+bdcom/src/shared/linux_osl.o”。 停止。
make[1]: *** [_module_/home/leo/下载/bcmwl-6.30.223.248+bdcom] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.16.0-31-gen
eric'
make: *** [all] 错误 2


大概就是这样了,希望能再次得到您的帮助,谢谢 :em06
回复