
然后再进才可以.

代码: 全选
sudo dpkg-reconfigure lightdm
等等
代码: 全选
sudo apt-get install pastebinit
cat ~/.xsession-errors | pastebinit -b http://paste.ubuntu.com
sudo cat /var/log/lightdm/lightdm.log | pastebinit -b http://paste.ubuntu.com
sudo cat /var/log/auth.log | pastebinit -b http://paste.ubuntu.com
sudo cat /var/log/Xorg.0.log | pastebinit -b http://paste.ubuntu.com
http://paste.ubuntu.com/12681001/vickycq 写了:1.
先试常见的解决方案2.代码: 全选
sudo dpkg-reconfigure lightdm 等等
把所有回应的网址 (http://paste.ubuntu.com/XXXXXXXX/) 贴上来代码: 全选
sudo apt-get install pastebinit cat ~/.xsession-errors | pastebinit -b http://paste.ubuntu.com sudo cat /var/log/lightdm/lightdm.log | pastebinit -b http://paste.ubuntu.com sudo cat /var/log/auth.log | pastebinit -b http://paste.ubuntu.com sudo cat /var/log/Xorg.0.log | pastebinit -b http://paste.ubuntu.com
参考
http://askubuntu.com/questions/250930/u ... my-session
http://ubuntuforums.org/showthread.php?t=1867733
若系统为 15.04,尝试init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd 重新建立过快,停止
代码: 全选
sudo mv /etc/xdg/autostart/at-spi-dbus-bus.desktop ~/at-spi-dbus-bus.desktop.etcxdg
sudo mv /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.desktop ~/at-spi-dbus-bus.desktop.usrshare
代码: 全选
sudo mv ~/at-spi-dbus-bus.desktop.etcxdg /etc/xdg/autostart/at-spi-dbus-bus.desktop
sudo mv ~/at-spi-dbus-bus.desktop.usrshare /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.desktop
提示未找到命令poloshiao 写了:請增加提供一項資料
把下面指令 複製 貼進終端機 執行
1. journalctl -b -p err --no-pager
2. sudo journalctl -b -p err --no-pager
把結果直接 選取/複製 貼上來
3. 如果兩者結果完全一樣
只貼上一個即可
vickycq 写了:若系统为 15.04,尝试init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd main 进程结束, 重新产生
init: at-spi2-registryd 重新建立过快,停止注意两个文件不一样,/etc/xdg/autostart 的比较大代码: 全选
sudo mv /etc/xdg/autostart/at-spi-dbus-bus.desktop ~/at-spi-dbus-bus.desktop.etcxdg sudo mv /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.desktop ~/at-spi-dbus-bus.desktop.usrshare
如果没有效果或无法登入,再复制回去若系统为 15.10,升级 at-spi2-core 到 2.16.0-1ubuntu1 及以上代码: 全选
sudo mv ~/at-spi-dbus-bus.desktop.etcxdg /etc/xdg/autostart/at-spi-dbus-bus.desktop sudo mv ~/at-spi-dbus-bus.desktop.usrshare /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.desktop
参见
https://bugs.launchpad.net/ubuntu/+sour ... ug/1228567
系统是14.04
提示未找到命令
抱歉 15.04 才有 journalctl 指令初学者园地 - 15.04
直接把所有系统日志发上来,效果近似墨白歮 写了:提示未找到命令poloshiao 写了:請增加提供一項資料
1. journalctl -b -p err
2. sudo journalctl -b -p err
代码: 全选
sudo cat /var/log/syslog | pastebinit -b http://paste.ubuntu.com
sudo cat /var/log/syslog.1* | pastebinit -b http://paste.ubuntu.com
是否考虑把 gnome-keyring 重装一下试试。顺便执行一次 sudo apt-get update && sudo apt-get upgrade && dpkg-reconfigure lightdminit: gnome-keyring-gpg main 进程 (2205)已经被TERM 信号杀死
init: gnome-keyring-ssh main 进程 (2207)已经被TERM 信号杀死
... at-spi2-registryd ...
init: indicator-secret-agent main 进程 (2396)已经被KILL 信号杀死
init: gnome-session (Unity) main 进程 (2307)以状态 1 结束
1. journalctl -b -p err --no-pager
2. sudo journalctl -b -p err --no-pager
1. 還是有很大的差異直接把所有系统日志发上来,效果近似
在一天以内执行
sudo cat /var/log/syslog | pastebinit -b http://paste.ubuntu.com
sudo cat /var/log/syslog.1* | pastebinit -b http://paste.ubuntu.com
代码: 全选
rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="636" x-info="http://www.rsyslog.com"] start
代码: 全选
sudo journalctl -b
-- Logs begin at 六 2015-10-03 10:16:56 CST, end at 一 2015-10-05 17:43:42 CST. --
10月 05 17:40:43 Server06 systemd-journal[198]: Runtime journal (/run/log/journal/) is currently using 4.0M.
... 略
10月 05 17:40:43 Server06 systemd-journal[198]: Runtime journal (/run/log/journal/) is currently using 4.0M.
... 略
10月 05 17:40:43 Server06 kernel: Initializing cgroup subsys cpuset
10月 05 17:40:43 Server06 kernel: Initializing cgroup subsys cpu
10月 05 17:40:43 Server06 kernel: Initializing cgroup subsys cpuacct
10月 05 17:40:43 Server06 kernel: Linux version 4.2.0-12-generic (buildd@lcy01-10) (gcc version 5.2.1 20150922 (Ubuntu 5.2.1-18ubuntu1) ) #14
10月 05 17:40:43 Server06 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-12-generic root=UUID=76f6686b-0a45-4696-9a0e-09cf3793a5b5 ro l
10月 05 17:40:43 Server06 kernel: KERNEL supported cpus:
10月 05 17:40:43 Server06 kernel: Intel GenuineIntel
10月 05 17:40:43 Server06 kernel: AMD AuthenticAMD
10月 05 17:40:43 Server06 kernel: Centaur CentaurHauls
10月 05 17:40:43 Server06 kernel: x86/fpu: Legacy x87 FPU detected.
10月 05 17:40:43 Server06 kernel: x86/fpu: Using 'lazy' FPU context switches.
10月 05 17:40:43 Server06 kernel: e820: BIOS-provided physical RAM map:
10月 05 17:40:43 Server06 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
10月 05 17:40:43 Server06 kernel: BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
10月 05 17:40:43 Server06 kernel: BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
10月 05 17:40:43 Server06 kernel: BIOS-e820: [mem 0x0000000000100000-0x000000005ffeffff] usable
10月 05 17:40:43 Server06 kernel: BIOS-e820: [mem 0x000000005fff0000-0x000000005fffffff] ACPI data
10月 05 17:40:43 Server06 kernel: BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
10月 05 17:40:43 Server06 kernel: NX (Execute Disable) protection: active
....略
可能原因之一第一次开机登陆就会被退出.
Ubuntu 14.04 從 /var/log 記錄檔 看看能否看出每次开机后第一次登陆金桌面会被退出.
然后再进才可以.