Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1505  / 1 Year ago, fri, december 2, 2022, 6:23:23

I'm only asking this question because any other answer I found online to this problem didn't help me resolve it.



Basically I updated my Ubuntu 14.04 system last night and it asked me to restart my system. When I restarted it and logged in to my admin account the Unity interface didn't load. I could only see my background and Ubuntu 14.04 written in the bottom right corner of the screen. No shortcuts work like Alt+Ctrl+t to open the terminal, the mouse right click doesn't work either. I can only access the terminal with Alt+Ctrl+F1. I restarted the system several times and it was the same every time. I can, however, log in to another account which is not an administrator account, and that's what I'm using right now, but I don't have access to all my files from my admin account which I normally use.



I tried a number of solutions that people said worked for them in similar circumstances but none of them worked. I even installed gnome to see if that will help, but it didn't. Again I could only log in to the other non-admin account which displayed gnome without a problem, but the admin account didn't move past the background after login.



I even tried booting to another kernel in advanced options but that didn't work either.



I found the following solutions online which I tried but none of them worked:



sudo apt-get install unity-tweak-tool
unity-tweak-tool --reset-unity





Another one was:



sudo apt-get install compizconfig-settings-manager
export DISPLAY=:0
ccsm





Also this one:



sudo apt-get update --fix-missing





And this one:



sudo apt-get purge lightdm
sudo apt-get update
sudo apt-get install lightdm
dpkg-reconfigure lightdm
sudo shutdown





None of these worked. Can anyone please help me with this?


More From » 14.04

 Answers
0

As you have one user that works in the GUI and an admin that works in console mode, you have all you need to recover your system without re-installing it.



Log into the Admin account using Ctrl+Alt+F1 and type:



sudo adduser admin-new


Enter all info and then type:



sudo adduser admin-new adm 
sudo adduser admin-new cdrom
sudo adduser admin-new sudo
sudo adduser admin-new dip
sudo adduser admin-new plugdev
sudo adduser admin-new lpadmin
sudo adduser admin-new sambashare


log off and log on as admin-new using the GUI (if this doesn't work, report back here)



Open a terminal with Ctrl+Alt+T and type:



Warning! Do not try to be smart and do a cp --recursive /home/admin-old/* /home/admin-new/ as this will copy the error(s) you have in your current user settings!!!



cp --recursive --no-dereference /home/admin-old/Documents/* /home/admin-new/Documents
cp --recursive --no-dereference /home/admin-old/Downloads/* /home/admin-new/Downloads
cp --recursive --no-dereference /home/admin-old/Pictures/* /home/admin-new/Pictures
cp --recursive --no-dereference /home/admin-old/Templates/* /home/admin-new/Templates
cp --recursive --no-dereference /home/admin-old/Desktop/* /home/admin-new/Desktop
cp --recursive --no-dereference /home/admin-old/Music/* /home/admin-new/Music
cp --recursive --no-dereference /home/admin-old/Public/* /home/admin-new/Public
cp --recursive --no-dereference /home/admin-old/Videos/* /home/admin-new/Videos


(Leave out the stuff you don't really need any more like the old Downloads directory or the Templates or …)



You now have 99% of all your stuff back! (if you do not have enough space to do the above all together, delete the original in-between copy commands)



If you want to copy any additional directories beyond those above, make a full system backup first because one of the directories you didn't copy contains the error.



Now do a: deluser --remove-home admin-old


[#22176] Saturday, December 3, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
theurn

Total Points: 30
Total Questions: 110
Total Answers: 111

Location: Bahrain
Member since Fri, Sep 16, 2022
2 Years ago
;