ubuntu16.04 启动时停留在logo界面,无法进入系统

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
funicorn
帖子: 1318
注册时间: 2005-09-13 4:56
系统: Ubuntu Jammy Jellyfi

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#16

帖子 funicorn » 2017-12-10 15:58

不对呀,感觉咋像是X起不来呢。你系统里装的是gdm还是lightdm,我建议你在recovery里root进去,remount之后,试一下

代码: 全选

service lightdm start
或者

代码: 全选

service gdm start
看看是什么反应。

另外,你系统里有待安装的软件包更新,联网之后更新一下软件包

还有,你最初贴的那些错误现在是不是还跟原来一样?可以recovery里选resume再看一下。

/var/log/boot.log存放了启动日志,想办法拷出来贴出来
pkokoc
帖子: 18
注册时间: 2017-12-09 17:36
系统: ubuntu 16.04

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#17

帖子 pkokoc » 2017-12-10 16:51

使用的是 lightdm,recovery里root进去.

代码: 全选

mount -o remount,rw /
service lightdm start
出错如下图:
附件
service lightdm start 错误信息
service lightdm start 错误信息
pkokoc
帖子: 18
注册时间: 2017-12-09 17:36
系统: ubuntu 16.04

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#18

帖子 pkokoc » 2017-12-10 16:53

按上楼提示,用systemctl查看

代码: 全选

systemctl status lightdm.service
信息如下:
附件
ststemctl status lightdm.service 输出信息
ststemctl status lightdm.service 输出信息
上次由 pkokoc 在 2017-12-10 17:24,总共编辑 1 次。
pkokoc
帖子: 18
注册时间: 2017-12-09 17:36
系统: ubuntu 16.04

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#19

帖子 pkokoc » 2017-12-10 17:01

/var/log/boot.log information as following
ubuntu@ubuntu:/var/log$ ls -al|grep boot.log
-rw-r--r-- 1 root root 1130 Dec 10 08:55 boot.log

ubuntu@ubuntu:/var/log$ more boot.log
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
Generating locales (this might take a while)...
Generation complete.
pwconv: failed to change the mode of /etc/passwd- to 0600
Using CD-ROM mount point /cdrom/
Identifying... [f0db31ce080d85042c848aee83ef1a0c-2]
Scanning disc for index files...
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
Found label 'Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)'
This disc is called:
'Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)'
Copying package lists...gpgv: Signature made Tue Aug 1 11:51:24 2017 UTC using RSA key ID EFE21092
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>"
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
Repeat this process for the rest of the CDs in your set.
ubuntu@ubuntu:/var/log$
pkokoc
帖子: 18
注册时间: 2017-12-09 17:36
系统: ubuntu 16.04

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#20

帖子 pkokoc » 2017-12-10 17:14

recovery里选resume查看,错误与之前相比少了一个logind.service错误,但 Accountts-daemon.service, ModemManager.service, NetworkManager.service 三个错误仍然还在。如下图:
附件
recovery里选resume查看,三个错误
recovery里选resume查看,三个错误
funicorn
帖子: 1318
注册时间: 2005-09-13 4:56
系统: Ubuntu Jammy Jellyfi

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#21

帖子 funicorn » 2017-12-10 21:51

如果你还有耐心的话,再进去查看一下systemd-user-session.service的状态

代码: 全选

systemctl status systemd-user-sessions.service
正常载入的输出是:
● systemd-user-sessions.service - Permit User Sessions
Loaded: loaded (/lib/systemd/system/systemd-user-sessions.service; static; ve
Active: active (exited) since Sun 2017-12-10 21:33:00 CST; 17min ago
Docs: man:systemd-user-sessions.service(8)
Process: 816 ExecStart=/lib/systemd/systemd-user-sessions start (code=exited,
Main PID: 816 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/systemd-user-sessions.service

12月 10 21:33:00 limorg-hp systemd[1]: Starting Permit User Sessions...
12月 10 21:33:00 limorg-hp systemd[1]: Started Permit User Sessions.
pkokoc
帖子: 18
注册时间: 2017-12-09 17:36
系统: ubuntu 16.04

Re: ubuntu16.04 启动时停留在logo界面,无法进入系统

#22

帖子 pkokoc » 2017-12-10 23:33

感谢支持! 没耐心搞下去了,已经重装。
回复