Tob*_*ias 12 login-screen virtualbox pam lightdm
我有一个新设置的 12.04 LTS 电脑系统(120 GB SSD、1 TB HDD、16 GiB RAM);几天后,我无法再登录到图形桌面:有一个非常短的闪烁外壳窗口,它很快消失(编辑:见下文),我再次面临登录屏幕。我相信有一些关于modprobeand 的东西vbox,但我读得不够快......
我可以登录到一个终端(Ctrl+ Alt+ F1)。将我的主目录的所有内容 chown 到me:并没有帮助my-group,就像这里建议的那样。
这是我可以在 中找到的/var/log,grepping 日期和时间(我在 之后插入了换行符<my-hostname>;保留了实时值):
身份验证日志:
<date> 22:43:01 <my-hostname>
lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "tobias"
<date> 22:43:08 <my-hostname>
lightdm: pam_unix(lightdm:session): session closed for user lightdm
<date> 22:43:08 <my-hostname>
lightdm: pam_unix(lightdm:session): session opened for user tobias by (uid=0)
<date> 22:43:08 <my-hostname>
lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
<date> 22:43:08 <my-hostname>
lightdm: pam_unix(lightdm:session): session closed for user tobias
<date> 22:43:09 <my-hostname>
lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0)
<date> 22:43:09 <my-hostname>
lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
<date> 22:43:10 <my-hostname>
lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "tobias"
<date> 22:43:10 <my-hostname>
dbus[756]: [system] Rejected send message, 2 matched rules; type="method_call", sender="1:43" (uid=104 pid=1639 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1005 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Run Code Online (Sandbox Code Playgroud)
内核日志:
<date> 22:43:00 <my-hostname>
kernel: [ 16.084525] eth0: no IPv6 routers present
Run Code Online (Sandbox Code Playgroud)
系统日志:
<date> 22:43:00 <my-hostname>
kernel: [ 16.084525] eth0: no IPv6 routers present
<date> 22:43:01 <my-hostname>
ntpdate[1492]: adjust time server 91.189.94.4 offset -0.162831 sec
<date> 22:43:08 <my-hostname>
acpid: client 969[0:0] has disconnected
<date> 22:43:08 <my-hostname>
acpid: client connected from 1553[0:0]
<date> 22:43:08 <my-hostname>
acpid: 1 client rule loaded
Run Code Online (Sandbox Code Playgroud)
我安装了 Virtualbox 和 Truecrypt,但我想不出它们可能阻止图形登录的原因。
我糊涂了:
requirement "user ingroup nopasswdlogin" not met什么的?我愿意使用密码登录,并且在登录终端时密码工作正常!我对 Linux shell 有一些工作知识,但我是 Ubuntu 的新手。任何帮助,将不胜感激。
编辑:昨天(sudo shutdown now)关闭机器后,我在屏幕上发现以下文本,这似乎是之前提到的“闪烁”文本(已格式化;有一些愚蠢的前导空格):
Could not write bytes: broken pipe
speech-dispatcher disabled; edit /etc/default/speed-dispatcher
* Starting VirtualBox kernel modules
* modprobe vboxdrv failed. Please use 'dmesg' to find out why
saned disabled; edit /etc/default/saned
* Checking battery state... [ OK ]
Run Code Online (Sandbox Code Playgroud)
手动复制后,我按下按钮几秒钟关闭了机器。
可能是 virtualbox(安装了 4.2)导致了这个问题。我将在今天晚些时候(MET)添加更多日志文件提取。
编辑,记录:我从/a/133754/103086尝试了以下内容:
sudo apg-get install gdm (出现提示时,选择 GDM)sudo dpkg-reconfigure lightdm,重新启动;登录不起作用~/.Xauthority文件是空的;删除它并重新启动并没有改变任何东西此外:
sudo apt-get remove virtualbox-4.2),重新启动编辑:我将选定/过滤日志文件的 zip 存档上传到http://www.tobias-herp.de/en/errors/ubuntu-gui-lockout。apt-get upgrade最近保持,但不幸的是问题仍然存在。
最后我放弃了,重装了系统。这不是问题,因为系统相当新,并且大多数个人数据尚未迁移到其中。我不能确定问题不是由非标准包引起的,所以......
所以我重新开始,我采取了预防措施,以便下次做得更好。安装后,我更新了系统,安装了一些关键的软件包并关注配置:
sudo bash
apt-get upgrade
apt-get install ssh mercurial vim
cd /etc/
vim mercurial/hgrc
hg init .
hg add *
hg commit
Run Code Online (Sandbox Code Playgroud)
因此,每当出现新问题时,我应该有更好的机会知道可能出了什么问题。
小智 0
现在使用 lightdm + 任何非统一问候语遇到这个问题。如果我在 /etc/lightdm/lightdm.conf 中将欢迎程序设置为 unity-greeter,它似乎可以工作。不知道为什么。
编辑:已编辑。我刚刚引入的更新肯定是导致此问题的原因,现在甚至连统一问候语也无法工作。
| 归档时间: |
|
| 查看次数: |
33952 次 |
| 最近记录: |