Solve the Ubuntu system Unlimited login or desktop is a blank problem.

Source: Internet
Author: User

solve the Ubuntu system Unlimited login or desktop a blank problem

Solution: The first case: Graphics driver causes

Solution:
When you enter Ubuntu, switch to the command line interface.
Follow these steps:

1.ctrl +alt +f1  #切换到命令行界面
2.sudo service lightdm stop  #关闭xwindow
3.sudo apt-get–purge Remove nvidia-*< c6/> #卸载驱动
4.sudo sh nvidia*.run    #安装驱动 all  the way accept  --   "whether to use the Xconfig file of NV", yes
second case: unknown cause

If you think it's not a driver, you can find the source of the error by looking at the log.

1. Cd/var/log    
2.cat Xorg.0.log
or view. xsession-errors
1.sudo Find/-name. xsession-errors
2.cd  XXX
3.cat. xsession-errors
Then look at the output log, where the error is. Then delete the error package or file. the third situation: environmental variables/etc/proflie caused byUnder the command line:
1.sudo Cp/etc/profile/etc/profile_bac  #对profile backup
2.sudo rm/etc/profile  #将profile直接删除, or modify the location of your own changes
Fourth: The home directory is full of space, unable to mount causeUse at the command line:
1.df-h

The DF command is a command of the Linux system to view the file system on a disk partition basis, followed by a different parameter to view the remaining space information for the disk.
The approximate display reads as follows:

Seen from the picture, dev/mmcblk0p1 that column, the capacity of 28G, has been used 27G, available 0, has been used 100%, mount point for the root partition directory (/).
This is caused by the inability to login or landing after a blank desktop, only one mouse reason.
Workaround:
Go to the command line, log in, and delete unwanted or temporarily unused files to make room.
Command:

1.sudo rm-fr xxx*

The author was also the fourth way to solve.

The above is to solve the Ubuntu system under the infinite loop login or desktop is blank, only one mouse problem.

You are got a dream, you gotta protect it.
If you have a dream, you must defend it. When happiness knocks on the door

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.