Locking out user - Deskto effects stopped working
Hey folks - I am having a weird issue. I leave my box on for days at a time and yesterday I rebooted because I was moving my PC. When I powered backup I got to the login screen (Core 8 - Gnome) and hit my user name and typed my pass.
I saw the desktop background but then I was quickly logged out. I could still login as root - and I was able to make another account and that account could login, still could not login with my original account. Then I changed the session to KDE on my original account and was able to login, when I tried to start any desktop effects - the screen would go black - kill all apps and bring me back to the login screen. It was all working great prior to the reboot. Any ideas, thanks in advance. Huff |
When you say switched on, was it switched on and logged in?
If it was, then what probably happened is that at some point, the permissions for your user got changed, but had no effect until you logged out (and restarted). Use the root account to check the permissions and ownership of the home folder for the user that is having difficulty. If all the files in the user's home folder should be readable, writeable and executable by the user (whom we shall name 'bob') and his group (which will also be called 'bob'), then the following commands should make them all accessible, if run as root. If the ownership is more complicated, then you may need to do it manually. Code:
chown -R bob:bob ~bob Code:
chmod -R ug+rwx ~bob If you want to check permissions, without changing them, then run one of these commands: To check the ownership of all the files in bob's home folder, and highlight any files that do not belong to him and his group. Code:
ls -lR ~bob | grep -v "bob bob" To find all files where the permissions are not at least readable, writeable and executable to the owner and group, run: Code:
ls -lR ~bob | grep -v "^.rwxrwx" Hope this helps. |
All times are GMT -5. The time now is 11:36 AM. |