3

I have enabled root account on Ubuntu 14.10. After that, I logged out and logged in, but there is no desktop and no bars. I tried opening a terminal using keyboard shortcut but nothing is working. I can't see anything on the screen.

How should I restore my Desktop?

Mudit Kapil
  • 1,991
  • 7
  • 29
  • 45
  • 1
    simply enabling the root account will not do this, there must be an additional problem. Check your X session logs for errors ( ~/.xsession-errors) – Panther Apr 11 '15 at 13:11
  • But I didn't install or do anything before I rooted it. – Muhammad al Jayyosi Apr 11 '15 at 15:08
  • Check the logs for errors and check the ownership and permissions of all the files in your home directory `sudo chown -Rv your_user:your_user /home/your_user` – Panther Apr 11 '15 at 15:29
  • I know you said you tried a terminal but try again with ctrl + alt + T and if it opens run sudo gedit ~/.xsession-errors Are there any errors ? Add them to your question – Mark Kirby Apr 11 '15 at 16:25
  • If you still cant get a terminal, ctrl + alt + F1, will go to a "hard" terminal (no desktop at all), log in here and run- sudo nano ~/.xsession-errors -and post any errors for this and bodhi.zazen's request sudo chown -Rv your_user:your_user /home/your_user – Mark Kirby Apr 11 '15 at 16:39
  • @markkirby Are you asking for `.xsession-errors` in the user's home directory (in which case `sudo` should be unnecessary even if a file like `.Xauthority` is root-owned -- but [if `sudo` is to be used, it should be `sudo -H` or `-sudo -i` for running `gedit`](https://askubuntu.com/q/270006/22949)) or `.xsession-errors` in `root`'s home directory (in which case `sudo -H gedit /root/.xsession-errors` should be used instead)? **Muhammad al Jayyosi**: Exactly what steps did you use when you enabled the root account? – Eliah Kagan Apr 25 '15 at 20:11
  • @EliahKagan Sorry I can no longer remember the context of this it was 15 days ago and I revived no feedback but you may be right that it seems the OP is using a root profile so he should sudo -H gedit /root/.xsession-errors – Mark Kirby Apr 26 '15 at 15:55
  • I do the following: sudo -i then: sudo passwd root then i put a new password.then i closed terminal and logged out – Muhammad al Jayyosi May 04 '15 at 16:18

0 Answers0