[Solved]User issues after copy vm installation to hard disk

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
dancer_69
Level 1
Level 1
Posts: 15
Joined: Thu May 19, 2011 1:25 pm

[Solved]User issues after copy vm installation to hard disk

Post by dancer_69 » Thu Sep 13, 2018 5:52 am

Hello,
I had linux mint 19 installed and updated in a vmware vm. I transered the installation to a hard disk partition and I've managed to boot. After I tried change the username and transfer the home directory to another partition which I use for home. After that and when I rebooted I could login with the changed username without problems from tty console, but lightdm failed to login to the graphical enviroment, which was expected because was trying to login to the previous username. At first I edited lightdm' s config file and added the option to login with different usernames. Then I was able to input the correct user name but lightdm again failed to login to desktop.
So, because I haven't any configurations I want to keep, I created a new user and I managed to login from lightdm to this new user without problems.
The problem now is that I want to configure lightdm to login(and maybe autologin) to this new user, and remove the old user entry from lightdm and also the old user's old username entry which is still the default in lightdm.
To sum up and avoid to confuse you:
old username -> user
changed old username -> minduser
new username -> mindus
Lightdm has "user" as default
I want to keep and use as default the "mindus" user and remove the other two entries.
Last edited by dancer_69 on Thu Sep 13, 2018 7:17 am, edited 1 time in total.

dancer_69
Level 1
Level 1
Posts: 15
Joined: Thu May 19, 2011 1:25 pm

Re: User issues after copy vm installation to hard disk

Post by dancer_69 » Thu Sep 13, 2018 7:17 am

I edited lightdm' s config file to set the new user name as autologin user, and I deleted the old user, its directory and group. After that the system booted and login to the new user automatic without problems. Also the previous user(old and new name) removed from lightdm' s login screen.
So seems that my problem solved.

deepakdeshp
Level 11
Level 11
Posts: 3774
Joined: Sun Aug 09, 2015 10:00 am

Re: [Solved]User issues after copy vm installation to hard disk

Post by deepakdeshp » Thu Sep 13, 2018 7:17 am

If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Post Reply

Return to “Cinnamon”