Make sure you are not logged in as the original user. Go to the first tty (Ctrl+Alt+F1), login to the text console there as he original user, and run the command.
Then go back to the GUI (Ctrl+Alt+F7) and login as the original user and see if its back to normal.
I think that you only need to do this with users who you are keeping their home directories. For any new users, they seem to be fine.
If you need to do this again, the command will remain the same for all user accounts because $HOME will always reference the current user's home directory - whoever the current user may be.
Ran all commands for 4 users - deleted new account that I had created.
Everything now seems to be fine thanks very much with just a little tidying up to do.
You are a genius Toz
Will now mark as "solved"
Last edited by BlinkinCat; January 18th, 2013 at 05:16 AM.
I have re-opened this thread briefly to ask if the command in post #20 could have resulted in the users losing their sudo privileges ? I receive a message "user is not in sudoers file" when I try to issue a sudo command in my minor 3 user accounts. To clarify, I am the only user on this machine using the other 3 users for such things as bookmarks, etc.
Could the issue be rectified via Case 1A of - http://www.psychocats.net/ubuntu/fixsudo ?
I wasn't sure if the method would work for Xubuntu.
Edit: Boy oh Boy am I embarrassed -
After doing a little thinking, I realized I could achieve what I wanted with the following command on my main user account.
All the best Toz if you read this, I have learnt a lot from both you and CharlesA in the last few weeks. Thanks kindly for that - I will again mark as Solved.Code:sudo adduser username sudo
Last edited by BlinkinCat; January 19th, 2013 at 08:46 PM. Reason: Added Edit.