[求助] 空白桌面 无法启用终端

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

[求助] 空白桌面 无法启用终端

#1

帖子 whitesky » 2015-06-18 13:57

硬件&系统: 联想b475 32位 win7 2G内存 双显卡 显卡型号是AMD Radeon HD 6480G 和AMD Radeon. HD 6470M

操作:用easybcd引导 硬盘安装ubuntu-14.04.2-desktop-i368.iso(此ISO的MD5值与官网给出的一样)联网安装

过程:
1、 iso放到32格式化后的h盘(30G) 空闲150G 解压出的v和i文件放c盘
2、 eastbcd引导并进入ubuntu安装界面(配置时splash后面加了nomodeset不然进不去ubuntu安装界面,此桌面只有“安装程序”和“示例”)
Ctrl+Alt+F1 输入sudo umount -l /isodevice(不然会卡在一个地方)
3、联网并安装(分区后面选/boot盘引导 200M )
安装时自动下载了语言包之类的
5、win7下删除v i iso三个文件,设置easybcd引导ubuntu从boot盘启动
6、重启进入第一个ubuntu 按e, 在splash后加nomodeset(不然进不去)

结果:ubuntu桌面空白并且CTRL+ALT+T无响应,只能进入Ctrl+Alt+F1的tty1

失败的尝试:1、格式化ubuntu的四个盘后重新安装
2、sudo apt-get install gnome

求助:如何让桌面正常、终端可用。
whitesky
帖子: 5
注册时间: 2015-06-18 11:51
系统: ubuntu win7

Re: [求助] 空白桌面 无法启用终端

#2

帖子 whitesky » 2015-06-18 14:14

1、空白的桌面
图片
2、选择ubuntu时,按e加nomodeset的地方
图片
3、在tty1输入 sudo apt-get install gnome 安装一夜后(不知道有没有成功),再次输入时出现的代码
图片
4、在recovery mode,root,输入 mount -o remount,rw / 又输入 mount -all 然而没有回应
再输入sudo lshw -numeri -class video 回应如下
图片

图片是手机拍的,不知道怎么在代码区复制、截图,非常抱歉。
whitesky
帖子: 5
注册时间: 2015-06-18 11:51
系统: ubuntu win7

Re: [求助] 空白桌面 无法启用终端

#3

帖子 whitesky » 2015-06-18 17:36

结果:已经解决了
途径:站内右上角搜索 关键字忘了
方式:在上图2 中 选择ubuntu时,按e加nomodeset的地方 ,改为加 xforcevesa,进入桌面就是正常的了。
保存这个修改:CTRL+ALT+T 调出终端 sudo gedit /boot/grub/grub.cfg 再文件中搜索splash,有两个地方,后面都加上 xforcevesa,保存退出,在终端输入sudo update-grub,重启,OK了。

参见:viewtopic.php?t=382760
感谢:youzhiyili
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: [求助] 空白桌面 无法启用终端

#4

帖子 poloshiao » 2015-06-18 19:48

方式:在上图2 中 选择ubuntu时,按e加nomodeset的地方 ,改为加 xforcevesa,进入桌面就是正常的了。
保存这个修改:CTRL+ALT+T 调出终端 sudo gedit /boot/grub/grub.cfg 再文件中搜索splash,有两个地方,后面都加上 xforcevesa,保存退出,在终端输入sudo update-grub,重启,OK了。
1. 在 開機選單 加上 核心參數 通常是 暫時解決方案 讓你可以登入桌面
目的 幫助你 可以安裝合適 顯卡驅動
換句話說 通常原因來自 還沒有安裝合適 顯卡驅動

2. 如果已經可以登入桌面
把下面指令 複製 貼進終端機 執行
2-1. uname -r
2-2. sudo lspci -knn
2-3. sudo lshw -numeric -class video
2-4. sudo ubuntu-drivers devices
把結果直接 選取/複製 貼上來
不必擷圖

3. 等合適 顯卡驅動 安裝妥適
在 開機選單 加上 的核心參數
就可以移除
不移除 恐怕影響合適 顯卡驅動 的表現
whitesky
帖子: 5
注册时间: 2015-06-18 11:51
系统: ubuntu win7

Re: [求助] 空白桌面 无法启用终端

#5

帖子 whitesky » 2015-06-20 10:58

poloshiao 写了:
方式:在上图2 中 选择ubuntu时,按e加nomodeset的地方 ,改为加 xforcevesa,进入桌面就是正常的了。
保存这个修改:CTRL+ALT+T 调出终端 sudo gedit /boot/grub/grub.cfg 再文件中搜索splash,有两个地方,后面都加上 xforcevesa,保存退出,在终端输入sudo update-grub,重启,OK了。
1. 在 開機選單 加上 核心參數 通常是 暫時解決方案 讓你可以登入桌面
目的 幫助你 可以安裝合適 顯卡驅動
換句話說 通常原因來自 還沒有安裝合適 顯卡驅動

2. 如果已經可以登入桌面
把下面指令 複製 貼進終端機 執行
2-1. uname -r
2-2. sudo lspci -knn
2-3. sudo lshw -numeric -class video
2-4. sudo ubuntu-drivers devices
把結果直接 選取/複製 貼上來
不必擷圖

3. 等合適 顯卡驅動 安裝妥適
在 開機選單 加上 的核心參數
就可以移除
不移除 恐怕影響合適 顯卡驅動 的表現
2-1. uname -r
3.16.0-30-generic

2-2. sudo lspci -knn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex [1022:1705]
Subsystem: Lenovo Device [17aa:397b]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Sumo [Radeon HD 6480G] [1002:9648]
Subsystem: Lenovo Device [17aa:397d]
Kernel driver in use: fglrx_pci
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series] [1002:1714]
Subsystem: Lenovo Device [17aa:397d]
Kernel driver in use: snd_hda_intel
00:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port [1022:1708]
Kernel driver in use: pcieport
00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port [1022:1709]
Kernel driver in use: pcieport
00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port [1022:170b]
Kernel driver in use: pcieport
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7812] (rev 03)
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7804]
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11)
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: ohci-pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11)
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: ehci-pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11)
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: ohci-pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11)
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b] (rev 13)
Subsystem: Lenovo Device [17aa:397b]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 01)
Subsystem: Lenovo Device [17aa:397b]
Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e] (rev 11)
Subsystem: Lenovo Device [17aa:397b]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge [1022:780f] (rev 40)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 [1022:1700] (rev 43)
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1 [1022:1701]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2 [1022:1702]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3 [1022:1703]
Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4 [1022:1704]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6 [1022:1718]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5 [1022:1716]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7 [1022:1719]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] [1002:6760]
Subsystem: Lenovo Radeon HD 6470M [17aa:397d]
Kernel driver in use: fglrx_pci
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: r8169
03:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
Subsystem: Lenovo Device [17aa:f101]
Kernel driver in use: rt2800pci


2-3. sudo lshw -numeric -class video
*-display
description: VGA compatible controller
product: Sumo [Radeon HD 6480G] [1002:9648]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=fglrx_pci latency=0
resources: irq:49 memory:80000000-8fffffff ioport:3000(size=256) memory:a0300000-a033ffff
*-display
description: VGA compatible controller
product: Seymour [Radeon HD 6400M/7400M Series] [1002:6760]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=fglrx_pci latency=0
resources: irq:50 memory:90000000-9fffffff memory:a0200000-a021ffff ioport:2000(size=256) memory:a0220000-a023ffff

2-4. sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0 ==
vendor : Advanced Micro Devices, Inc. [AMD/ATI]
model : Sumo [Radeon HD 6480G]
modalias : pci:v00001002d00009648sv000017AAsd0000397Dbc03sc00i00
driver : fglrx-updates - distro non-free
driver : fglrx - distro non-free
driver : xserver-xorg-video-ati - distro free builtin recommended

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

Re: [求助] 空白桌面 无法启用终端

#6

帖子 poloshiao » 2015-06-20 12:56

sudo lshw -numeric -class video
product: Sumo [Radeon HD 6480G] [1002:9648]
product: Seymour [Radeon HD 6400M/7400M Series] [1002:6760]
1. 雙顯卡
https://wiki.ubuntu.com/X/Config/Hybrid ... quirements
AMD systems:
1-1. 雙顯卡 需要安裝閉源驅動 fglrx or fglrx-updates (包含 Catalyst)
https://wiki.ubuntu.com/X/Config/HybridGraphics#A14.04
AMD systems:
fglrx or fglrx-updates
sudo lshw -numeric -class video
configuration: driver=fglrx_pci latency=0
sudo ubuntu-drivers devices
driver : fglrx - distro non-free
2. 目前 作用中顯卡驅動
從 Ubuntu 套件庫 提供的閉源驅動 fglrx_pci
2-1. 想要知道 作用中的閉源驅動 fglrx_pci 版本
http://askubuntu.com/questions/249506/h ... er-version

3. 試試 最新版本 閉源驅動 AMD Catalyst 15.5
3-1. http://support.amd.com/en-us/kb-article ... Notes.aspx
AMD Catalyst 15.5 Proprietary Linux Graphics Driver Release Notes
Radeon HD 6480G
3-1-1. AMD Radeon HD 6000G Series
Radeon HD 6400M/7400M Series
3-1-2. AMD Radeon HD 6000M Series
3-1-3. AMD Radeon HD 7000M Series
uname -r
3.16.0-30-generic
3-2. System Requirements
Xorg/Xserver 7.4 and above (up to 1.16)
Linux kernel 2.6 or above (up to 3.17)
glibc version 2.2 or 2.3
POSIX Shared Memory (/dev/shm) support is required for 3D applications
3-2-1. Distributions supported:
Ubuntu 12.04.4 LTS, 14.04 LTS
3-2-2. Distribution specific packages are available for:
Ubuntu 12.04.4 LTS, 14.04 LTS
3-2-2-1. http://packages.ubuntu.com/trusty-updates/fglrx
套件: fglrx (2:15.200-0ubuntu0.3) [restricted]
意思是 把 trusty-updates 加入 軟體來源
sudo apt-get update
sudo apt-get install fglrx
安裝的 2:15.200-0ubuntu0.3
就是
AMD Catalyst 15.5
微調適合於 Ubuntu 安裝
3-2-3. 安裝 fglrx (2:15.200-0ubuntu0.3) 參閱
3-2-3-1. https://help.ubuntu.com/community/Binar ... mmand_line
注意 參閱 3-2-2-1.
3-2-4. 當然 你也可以自行從 AMD 官網 下載 Catalyst 15.5 來安裝
3-2-4-1. https://help.ubuntu.com/community/Binar ... d_graphics
注意 版本請修正為 catalyst-15-5
3-2-4-2. http://support.amd.com/en-us/download/d ... 20x86%2064
3-2-4-3. http://support.amd.com/en-us/kb-article ... Notes.aspx

4. 如果安裝成功 歡迎整理成筆記 貼文分享
whitesky
帖子: 5
注册时间: 2015-06-18 11:51
系统: ubuntu win7

Re: [求助] 空白桌面 无法启用终端

#7

帖子 whitesky » 2015-06-29 11:07

poloshiao 写了:
sudo lshw -numeric -class video
product: Sumo [Radeon HD 6480G] [1002:9648]
product: Seymour [Radeon HD 6400M/7400M Series] [1002:6760]
1. 雙顯卡
https://wiki.ubuntu.com/X/Config/Hybrid ... quirements
AMD systems:
1-1. 雙顯卡 需要安裝閉源驅動 fglrx or fglrx-updates (包含 Catalyst)
https://wiki.ubuntu.com/X/Config/HybridGraphics#A14.04
AMD systems:
fglrx or fglrx-updates
sudo lshw -numeric -class video
configuration: driver=fglrx_pci latency=0
sudo ubuntu-drivers devices
driver : fglrx - distro non-free
2. 目前 作用中顯卡驅動
從 Ubuntu 套件庫 提供的閉源驅動 fglrx_pci

4. 如果安裝成功 歡迎整理成筆記 貼文分享
1/感谢您的指导,问题正如您所说的,是AMD驱动不正确。
2/fglrx的安装方法很简单:系统设置——软件和更新——附加驱动——选择第二个“使用Video driver for the AMD graphics accelerators 来自 fglrx (专有)"__—— 应用更改 , 这样就自动安装好了。重启后就可以自动进入正常的桌面。
3/再次感谢。
回复