lightdm输入密码之后, 进入桌面超级慢. 是什么鬼?

各种窗口管理器和美化相关
回复
eleven.i386
帖子: 67
注册时间: 2011-11-26 12:55
联系:

lightdm输入密码之后, 进入桌面超级慢. 是什么鬼?

#1

帖子 eleven.i386 » 2016-04-19 23:59

RT
桌面环境 elementary OS 0.3.2 Freya (64-bit)

lightdm日志如下

[+0.04s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.04s] DEBUG: Starting Light Display Manager 1.10.6, UID=0 PID=2342
[+0.04s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/40-pantheon-greeter.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-guest-session.conf
[+0.04s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.04s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.04s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.04s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.04s] DEBUG: Registered seat module xlocal
[+0.04s] DEBUG: Registered seat module xremote
[+0.04s] DEBUG: Registered seat module unity
[+0.04s] DEBUG: Registered seat module surfaceflinger
[+0.05s] DEBUG: Adding default seat
[+0.05s] DEBUG: Seat: Starting
[+0.05s] DEBUG: Seat: Creating greeter session
[+0.07s] DEBUG: Seat: Creating display server of type x
[+0.08s] DEBUG: Deactivating Plymouth
[+0.10s] DEBUG: Using VT 7
[+0.10s] DEBUG: Seat: Starting local X display on VT 7
[+0.10s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.10s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.10s] DEBUG: DisplayServer x-0: Launching X Server
[+0.10s] DEBUG: Launching process 2364: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.10s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.10s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.10s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.36s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.36s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.96s] DEBUG: Got signal 10 from process 2364
[+0.96s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.96s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.96s] DEBUG: Quitting Plymouth; retaining splash
[+1.05s] DEBUG: Seat: Display server ready, starting session authentication
[+1.05s] DEBUG: Session pid=2402: Started with service 'lightdm-greeter', username 'lightdm'
[+1.21s] DEBUG: Session pid=2402: Authentication complete with return value 0: Success
[+1.21s] DEBUG: Seat: Session authenticated, running command
[+1.21s] DEBUG: Session pid=2402: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/pantheon-greeter
[+1.21s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.21s] DEBUG: Session pid=2402: Logging to /var/log/lightdm/x-0-greeter.log
[+1.27s] DEBUG: Activating VT 7
[+1.27s] DEBUG: Activating login1 session c1
[+1.82s] DEBUG: Session pid=2402: Greeter connected version=1.10.6
[+3.55s] DEBUG: Session pid=2402: Greeter start authentication for eleven
[+3.55s] DEBUG: Session pid=2543: Started with service 'lightdm', username 'eleven'
[+3.60s] DEBUG: Session pid=2543: Got 1 message(s) from PAM
[+3.60s] DEBUG: Session pid=2402: Prompt greeter with 1 message(s)
[+3.83s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+8.62s] DEBUG: Session pid=2402: Continue authentication
[+8.66s] DEBUG: Session pid=2543: Authentication complete with return value 0: Success
[+8.66s] DEBUG: Session pid=2402: Authenticate result for user eleven: Success
[+8.66s] DEBUG: Session pid=2402: User eleven authorized
[+9.00s] DEBUG: Session pid=2402: Greeter requests session pantheon
[+9.00s] DEBUG: Seat: Stopping greeter; display server will be re-used for user session
[+9.00s] DEBUG: Session pid=2402: Sending SIGTERM
[+9.08s] DEBUG: Session pid=2402: Greeter closed communication channel
[+9.08s] DEBUG: Session pid=2402: Exited with return value 0
[+9.08s] DEBUG: Seat: Session stopped
[+9.08s] DEBUG: Seat: Greeter stopped, running session
[+9.08s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+9.08s] DEBUG: Session pid=2543: Running command /usr/sbin/lightdm-session gnome-session --session=pantheon
[+9.08s] DEBUG: Creating shared data directory /var/lib/lightdm-data/eleven
[+9.08s] DEBUG: Session pid=2543: Logging to .xsession-errors
[+9.11s] DEBUG: Activating VT 7
[+9.11s] DEBUG: Activating login1 session c2
[+10.10s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+182.05s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+271.99s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: lightdm输入密码之后, 进入桌面超级慢. 是什么鬼?

#2

帖子 vickycq » 2016-04-20 0:11

新建用户 排除现有用户配置问题
查看现有用户的 ~/.xsession-errors
具体描述输入密码后的现象
具体说明“超级慢”等待的时间
具体说明你要登入的桌面环境

可能与 AccountService 有关
相似问题 参考
https://bugs.launchpad.net/lightdm/+bug/870685
http://ubuntuforums.org/showpost.php?p=11921373
https://bugs.launchpad.net/ubuntu/+sour ... bug/996791
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

Re: lightdm输入密码之后, 进入桌面超级慢. 是什么鬼?

#3

帖子 TeliuTe » 2016-04-20 8:47

换一个窗口管理器试试
eleven.i386
帖子: 67
注册时间: 2011-11-26 12:55
联系:

Re: lightdm输入密码之后, 进入桌面超级慢. 是什么鬼?

#4

帖子 eleven.i386 » 2016-04-22 1:42

vickycq 写了:新建用户 排除现有用户配置问题
查看现有用户的 ~/.xsession-errors
具体描述输入密码后的现象
具体说明“超级慢”等待的时间
具体说明你要登入的桌面环境

可能与 AccountService 有关
相似问题 参考
https://bugs.launchpad.net/lightdm/+bug/870685
http://ubuntuforums.org/showpost.php?p=11921373
https://bugs.launchpad.net/ubuntu/+sour ... bug/996791
输入密码之后 能进入桌面. 但是 我的dock和上方的panel都没显示出来. 就一个光标在屏幕中心.
超级慢 等待时间大约半分钟(人体感觉)
登入的桌面环境是 elementary os 0.3.2

btw, 这种现象在用ubuntu15.10以及之前的版本都有遇到过. 新装的系统. 进入桌面出现 panel速度还是可以接受. 随着安装的软件增多. 速度就慢了.
回复