0

I have installed tomcat 8 and shutdown my laptop. Now when I start it after login it doesn't show anything. Right click is also disabled and only the splash screen appears with wallpaper. I'm using Ubuntu 15.10. When I log in to a guest session, my own user or gnome desktop the same thing happens.

What could be the problem and how can I fix it?

Zanna
  • 70,465

1 Answers1

0

Press Ctrl+Alt+F1 to got to tty and log in, now run this

dconf reset -f /org/compiz/

then

setsid unity
Mark Kirby
  • 18,529
  • 19
  • 78
  • 114
Ashu
  • 3,966
  • But where should I write it.I can not open terminal or any application its not visible – Drashti Pandya Feb 14 '16 at 08:28
  • 2
    On login screen you can access tty by pressing Ctrl+Alt+F1. To exit press Ctrl +Alt+F7 – Olimjon Feb 14 '16 at 09:43
  • @Olimjon I enetered in that mode what should I do to get my GUI desktop still it does not appear. – Drashti Pandya Feb 15 '16 at 07:31
  • @mark when I am applying first command it says error "cannot autolaunch D-Bus without $DISPLAY" because Display variable not set – Drashti Pandya Feb 15 '16 at 11:24
  • Drashti - you need to ask @ashu about this solution, I did not write it, I am sure he can help, this comment will notify him. – Mark Kirby Feb 15 '16 at 16:14
  • @DrashtiPandya. Please refer to this thread 'http://askubuntu.com/questions/289719/cant-get-xterm-to-work-display-not-set' regarding display. In my case 'echo $DISPLAY' gives this output ':0'. – Ashu Feb 15 '16 at 17:12
  • @ashu have set display variable to 0.but error is spawing command line 'dbus-lunch--autolaunch' child process exit with code 1 – Drashti Pandya Feb 17 '16 at 05:25
  • @DrashtiPandya. Refer this thread 'http://askubuntu.com/questions/323776/gsettings-not-working-over-ssh' – Ashu Feb 17 '16 at 05:29
  • @ashu why did I need to set Display var everytime in same login.export DISPLAY=host:server in my case host is localhost and server is xyz name. – Drashti Pandya Feb 17 '16 at 07:59