ubuntu登录黑屏,有鼠标

https://askubuntu.com/questions/1041054/login-to-black-screen-in-18-04

ogin to black screen in 18.04

I recently upgraded to 18.04. Currently, I get to the login screen just fine. If I attempt to login, I am confronted with a black screen and nothing more. I can drop to the terminal at the login screen, login through the terminal, enter startx and now I'm at my desktop. I am pretty sure that this is an nvidia issue as I'm continuously getting crash reports popping up for libnvidia-gl-390 install, but when i try to install this manually from the terminal, no issues.

Output of "find ~/ -mount ! -user michael"

sudo find ~/ -mount ! -user michael
[sudo] password for michael: 
/home/michael/.wget-hsts
/home/michael/Downloads
/home/michael/.dbus
/home/michael/.dbus/session-bus
/home/michael/.dbus/session-bus/cd82760ca7c64274a03b987139d8bbd9-1
/home/michael/Videos
/home/michael/Documents
/home/michael/Pictures
/home/michael/Public
/home/michael/Music
/home/michael/Desktop
/home/michael/.cache/dconf

You have run some GUI application that has taken ownership of files in your personal area. The login manager isn't working because it doesn't have sufficient permission for the configuration files.

You can retake ownership of the files in your personal space by running this command:

$ sudo chown -R $(whoami):$(whoami) ~/

After running this command, you won't have any problems logging in.

Also insure the integrity of your login manager. You can do this by installing lightdm with:

$ sudo apt install lightdm

At the command configuration prompt select Lightdm.

You can toggle between the Lightdm login manager and the Gnome login manager with this command:

$ sudo dpkg-reconfigure lightdm

shareimprove this answer

猜你喜欢

转载自blog.csdn.net/mljsuc/article/details/89743505
今日推荐