The update process must be done from the root account or the administrator account via the sudo command.
In certain circumstances, If you can not log in to your regular account, do the following:
user.group -> Ramy.Ramy
A. As @Dani said, use the terminal via Ctrl + Alt + F2, F3 ... for terminal use.
B. user characteristics may be distorted, so go to the root account in the terminal environment to check the user characteristics command "ls -al", or to check user permissions if there is a problem
Check the status of users and groups in the /home folder.
# ls -al /home
C. If the user ownership has changed, use the chown command to return the user ownership back to normal.
If the settings are different, change ownership.
# chown Ramy.Ramy /home/Ramy -R
D. Also, if your account abortion is wrong, you may want to reset the abort from the root account.
# passwd Ramy
I you do not know your root password or do not have root password then you need to boot on rescue mode to set new root password.