ubuntu14.04升级后,登陆界面循环解决办法(Nvidia独立显卡)

问题描述如下:

环境:

1. ubuntu14.04系统, NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2);

2. 系统提示有更新后,点击进行了软件的升级更新;

3. 重启后登陆界面输入正确的密码后,闪一下,然后又重新回到登陆界面;


解决办法如下:

原因查找:

1. 进入了登录界面后,不用输入密码,按住Ctrl+Alt+F1(听说F1~F6都行)

2. 进入了ubuntu的命令行界面,先输入用户名回车,然后输入密码回车

3. 在home目录下找到.xsession-errors文件,杳看原因;

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

init: gnome-session (Unity) main process (2599) terminated with status 1
init: unity-settings-daemon main process (2588) killed by TERM signal
init: Disconnected from notified D-Bus bus
init: logrotate main process (2478) killed by TERM signal
init: mediascanner-2.0 main process (2494) terminated with status 99
init: window-stack-bridge main process (2517) killed by TERM signal
init: update-notifier-crash (/var/crash/_usr_bin_update-manager.1000.crash) main process (2530) killed by TERM signal
init: update-notifier-crash (/var/crash/_usr_lib_ibus_ibus-ui-gtk3.1000.crash) main process (2538) killed by TERM signal
init: update-notifier-release main process (2552) killed by TERM signal
init: xsession-init main process (2583) killed by TERM signal
init: hud main process (2595) killed by TERM signal
init: unity-panel-service main process (2604) killed by TERM signa

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

解决办法:

a.  sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`   //编译依赖

b. sudo service lightdm stop  //关闭lightdm

c. sudo sh NVIDIA-Linux-x86_64-361.28.run

按提示重新安装一遍驱动后,问题完美解决;


网上提供的方法:

1. 修改profile方法(无效)

1. 进入了登录界面后,不用输入密码,按住Ctrl+Alt+F1(听说F1~F6都行)

2. 进入了ubuntu的命令行界面,先输入用户名回车,然后输入密码回车

3.输入sudo vi /etc/profile,打开了profile文件,将多余的语句删除掉,输入:wq回车保存,输入 sudo reboot重启。

2. Xauthority文件权限问题(无效)

1. 在登陆界面,按ctrl+Alt+F1进入命令行模式;

2. 进入了ubuntu的命令行界面,先输入用户名回车,然后输入密码回车

3. cd ~

4. sudo chown name:name .Xauthority ##Xauthority权限设置为用户权限


3. /home目录满,无法挂载问题(无效)

1. 在登陆界面,按ctrl+Alt+F1进入命令行模式;

2. 进入了ubuntu的命令行界面,先输入用户名回车,然后输入密码回车

3. cd ~

4. 尝试创建新目录或新文件,如果提示磁盘空间满,测删除一些不必要的文件;


你可能感兴趣的:(ubuntu)