black screen after login ubuntu gnome 14.04

Asked by Axel Weißenberger

hi
after updating kubuntu 14.04.1 i wasn't able to login again. After login the screen stays black. The mousecurser was visible and movable. I tried to make a clean kubuntu install. With the same result. I tried to install ubuntu gnome, it works fine for one day then it happens again. Then i tried kubuntu, xubuntu, lubuntu all with the same result, black screen with movable mouse. Under xubuntu and lubuntu i everytime fall back to a working login screen. I have a thinkpad sl510 with a intel onboard grafic chip.
I hope for help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Press CTRL + ALT + F1 and login, then run:

sudo chown -R $USER:$ USER $HOME

You don't need to modify the command. You will get a warning but this is ok. Then run:

sudo reboot

Is it better?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

Sorry, extra space added

sudo chown -R $USER:$USER $HOME

That's what you should run.

Revision history for this message
Axel Weißenberger (aweissenberger) said :
#3

Ok thanks a lot now it works.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you don't use sudo with GUI applications then you won't be back in the same situation. Use gksudo for GUI applications and use sudo for only command line ones like apt-get, cp , mv and so forth. It's a common rookie mistake. Technically you can use gksudo for both.