ubuntu12.04 停留在tty1 login界面的解决

来源:互联网 发布:淘宝代码采集器 编辑:程序博客网 时间:2024/06/03 01:30








====卸载掉昨天最后安装的ubuntu tweak============





安装lightgdm和gdm:


=============是没有lightdm的原因么?==========================

lightdm应该是存在的吧。

http://askubuntu.com/questions/172861/ubuntu-12-04-logins-to-tty1-instead-of-regular-login-screen-cant-start-lightdm

sudo apt-get remove lightdmsudo apt-get install lightdm.

If that doesn't work try sudo start lightdm.

If that doesn't work than I don't know.


==========================是因为没有gdm么?=========================

我的gdm却是被我删掉了。


使用默认的lightdm


重新安装下?





=======但还是会卡在这里=================





startx,进入系统,这个时候界面是u界面,不是gnome的:




可见,问题出在修改的一个启动的脚本上:

正确的是不修改,用原来默认的:




昨天按照这个修改的,所以无法进入界面,卡在tty1的字符界面上:




正确的选择登陆界面的方法是:




我现在运行fcitx的界面是gnome classic (no effect )

=====================================================================================



http://ubuntuforums.org/showthread.php?t=1967017

http://ubuntuforums.org/showthread.php?t=1430479

主要参考

http://ubuntuforums.org/showthread.php?t=1967945


If you can't start GDM, simply make it the default and reboot.

Code:
    sudo apt-get install gdm    sudo dpkg-reconfigure gdm    sudo reboot
The second command above will give you a colorful screen where you choose between lightdm and gdm. Choose gdm, press enter. Then use the last command to reboot. 

To find out what went wrong, have a look at your log files:

Code:
sudo less /var/log/lightdm/x-0-greeter.logsudo less /var/log/lightdm/lightdm.log
=======================================================================================




原创粉丝点击