07-20-2019, 03:51 AM
(This post was last modified: 07-20-2019, 04:06 AM by stuartiannaylor.
Edit Reason: Doh me and forums
)
(07-19-2019, 05:58 PM)Faradn Wrote: SBC: Rockpro64 4Gb v2.1
OS: Ayufan Ubuntu 18.04 v0.83
Deleting account U:rock64 / P:rock64 is locking up lightDM at
the login screen.
[Using Mate' user/group management utility]
- Log in as rock64/rock64.
- Add user t3st3r1/what3v3r# with administrative rights.
- Log out rock64.
- Log in as t3st3r1/what3v3r#.
- Delete account rock64.
- Log out t3st3r1.
Now it's just the lightDM login screen with t3st3r1 and rock64 (??).
No mouse cursor.
Blinking '|' in password text edit.
I cannot log in.
Remote access with SSH works fine.
What can I do to get my t3st3r1 lightDM login to work?
TIA,
/Faradn
Code:
sudo usermod -d /home/newHomeDir -m newUsername rather than delete ?
Presuming you are losing loads of groups when you delete that way.
You might have to do it as root via console 1
So first
Code:
sudo passwd root
Code:
exit
- Log in using the "root" account and the password you have previously set.
- Change the username and the home folder to the new name that you want.
Code:usermod -l <newname> -d /home/<newname> -m <oldname>
- Change the group name to the new name that you want.
Code:groupmod -n <newgroup> <oldgroup>
- Log in using the "root" account and the password you have previously set.
- Change the username and the home folder to the new name that you want.
- Lock the "root" account.
Code:passwd -l root
- Log out.
Code:exit