0

After I updated the packages on my Ubuntu 14.04LTS, my Ubuntu virtual machine that I was running on parallels wont let me log in. Also it won't work for the guest account.

This is the error-log output: xsessions-error

error message

Also if I run any sudo apt-get commands I get the following error:

apt-get: error while loading shared libraries: libstdc++.so.6: cannot ch file or directory 
Tony Lancer
  • 1,003
jquinno
  • 1
  • 1

1 Answers1

0

Switch to a TTY (ctrl-alt-f1). You may restart between each step to see if that worked.

sudo rm -r ~/.config/compiz*
sudo rm -r ~/.cache/compizconfig-1

Clear the cache

sudo rm -r .cache/

Reset Unity

sudo dconf reset -f /org/compiz/
setsid unity
Gayan Weerakutti
  • 3,770
  • 26
  • 38
  • Can this harm my files? And how to get out of tty3 to get in tty? – Adrians Netlis Nov 07 '15 at 08:26
  • P.S. I need all those settings and files I had to be the same as they were... – Adrians Netlis Nov 07 '15 at 08:34
  • Mark, the terminal is NOT accessible... I tried ctrl + alt + T, but in login screen it doesn't let it... – Adrians Netlis Nov 07 '15 at 08:50
  • @markkirby As mentioned in the original post he can't get past the login screen. It's something I'd try and I'm no expert. I'm just trying to help. It's not copy paste BTW. – Gayan Weerakutti Nov 07 '15 at 15:06
  • 1
    Sorry I must of missed that for some reason. Please accep my apologies. – Mark Kirby Nov 07 '15 at 15:09
  • Hi there, I tried the steps given above and when it comes to Reset Unity, the first command gives me an error which says: "Cannot autolaunch D-Bus without X11 $DISPLAY". I have found another thread with a similar problem but it was never solved link – jquinno Nov 08 '15 at 12:17