分页: 1 / 1

elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-11 19:19
cpas
我用的是elementary os 0.4基于ubuntu 16.04,但是最近不知道怎么回事,进入桌面总是很慢,一进入桌面只有壁纸和鼠标,打开不了任何东西。非要等上一分半钟左右才能正常载入桌面,相应的其他程序才可以正常使用打开,期间看到快要载入桌面时会看到硬盘灯在闪烁,后台应该在载入什么东西。
但是具体我不知道哪里出了问题。
我的是Thinkpad x230本,该有的驱动elementary os 0.4应该都带了。不知道是哪里的问题。麻烦有大神解决一下,比如让我用具体什么命令贴个启动信息出来让诊断下,谢谢。问题虽然很小,但每次打开都要等上一分半钟左右,很是恼人。谢谢。

Re: elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-11 21:36
qy117121
我的有时也这样

Re: elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-11 22:34
vickycq
卡住时,到虚拟终端查看 ~/.xsession-errors 寻找线索。

Re: elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-13 15:16
cpas
vickycq 写了:卡住时,到虚拟终端查看 ~/.xsession-errors 寻找线索。
这个时候要查,只能CTRL+ALT+F1 切换到虚拟台看东西了,因为在这近一分半钟内桌面是无法调入终端出来反映的。我先试试看,谢谢科学家。

Re: elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-13 15:29
cpas
我是双系统。另外一个是win7,不知道怎么回事,其实我昨天晚上就是进win7用浏览器上网用了一段时间。今天的现在我再进入elementary os 0.4竟然先前的进入桌面要等待约一分半钟的现象惊人消失了,回归正常,只要几秒就可以使用桌面了。我用CRTL+ALT+F1切换到虚拟台,用vi编辑查看 ~/.xsession-errors,发现里面没有内容。

Re: elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-13 19:05
科学之子
cpas 写了:后台应该在载入什么东西。
也许是开机自动运行的程序(包括各种软件包的脚本)有bug,在循环自动检查什么东西之类.
仅供参考的思路:
从最小化安装(debootstrap安装)开始不断增加需要的包,判断哪个包出现问题.
精简掉不必要的组件,看卸载掉哪个包后问题消失.

Re: elementary os 0.4载入桌面总是很慢 要等上约一分半钟

发表于 : 2017-10-14 18:28
cpas
vickycq 写了:卡住时,到虚拟终端查看 ~/.xsession-errors 寻找线索。
我另外一台台式机同样是双系统,一个是win8,另外一个是elementary os 0.4,同样是有时候要等上一分半句才能载入桌面,根据三楼的提示,查到xsessionerrors文件如下内容,希望能得到大家的指点。
openConnection: connect: 没有那个文件或目录
cannot connect to brltty at :0
dbus-update-activation-environment: setting LC_PAPER=zh_CN.UTF-8
dbus-update-activation-environment: setting LC_ADDRESS=zh_CN.UTF-8
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
dbus-update-activation-environment: setting LC_MONETARY=zh_CN.UTF-8
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/vvv
dbus-update-activation-environment: setting QT_STYLE_OVERRIDE=gtk
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
dbus-update-activation-environment: setting LC_NUMERIC=zh_CN.UTF-8
dbus-update-activation-environment: setting GTK_MODULES=pantheon-filechooser-module:gail:atk-bridge
dbus-update-activation-environment: setting USER=vvv
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LC_TELEPHONE=zh_CN.UTF-8
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting DEFAULTS_PATH=/usr/share/gconf/pantheon.default.path
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-pantheon:/etc/xdg
dbus-update-activation-environment: setting DESKTOP_SESSION=pantheon
dbus-update-activation-environment: setting PATH=/home/vvv/bin:/home/vvv/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
dbus-update-activation-environment: setting QT_IM_MODULE=fcitx
dbus-update-activation-environment: setting LC_IDENTIFICATION=zh_CN.UTF-8
dbus-update-activation-environment: setting PWD=/home/vvv
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XMODIFIERS=@im=fcitx
dbus-update-activation-environment: setting LANG=zh_CN.UTF-8
dbus-update-activation-environment: setting MANDATORY_PATH=/usr/share/gconf/pantheon.mandatory.path
dbus-update-activation-environment: setting GDM_LANG=zh_CN
dbus-update-activation-environment: setting LC_MEASUREMENT=zh_CN.UTF-8
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting PAPERSIZE=a4
dbus-update-activation-environment: setting GDMSESSION=pantheon
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting HOME=/home/vvv
dbus-update-activation-environment: setting LANGUAGE=zh_CN
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=pantheon
dbus-update-activation-environment: setting LOGNAME=vvv
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-gTSEdum5Qo,guid=834622bbb8caa23e68c9386159e1e4d3
dbus-update-activation-environment: setting QT4_IM_MODULE=fcitx
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/pantheon:/usr/local/share/:/usr/share/
dbus-update-activation-environment: setting GTK_CSD=1
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting GTK_IM_MODULE=fcitx
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=Pantheon
dbus-update-activation-environment: setting LC_TIME=zh_CN.UTF-8
dbus-update-activation-environment: setting XAUTHORITY=/home/vvv/.Xauthority
dbus-update-activation-environment: setting LC_NAME=zh_CN.UTF-8
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-googlepinyin.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-notificationitem.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-pinyin.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-pinyin-enhance.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-kimpanel-ui.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-quickphrase.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-spell.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-autoeng.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-x11.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-dbus.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-vk.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-imselector.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-punc.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-freedesktop-notify.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-unicode.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-fullwidth-char.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-remote-module.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-table.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-classic-ui.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-ipc.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-xkbdbus.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-clipboard.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-xim.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-xkb.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-keyboard.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-lua.conf
(INFO-1292 /build/fcitx-w3DhPW/fcitx-4.2.9.1/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-chttrans.conf