So I changed my Ubuntu's username and after that the list of wifi is showing sometimes and sometimes not but the laptop is connecting to the wifi, and it shows the symbol shown when it gets connected to ethernet.
Also after changing the username, whenever I restart my computer, the lock screen does not show the desktop wallpaper but shows the purple screen. However after logging in once, and then logging out, it shows the wallpaper normally.
I did the following steps:
sudo passwd root
usermod -l <newname> -d /home/<newname> -m <oldname>
groupmod -n <newgroup> <oldgroup>
If this doesn't move the home folder, then I moved the home folder too to be over the new name.
UPDATE: There is some more weird behaviour. So consider a wifi network with name iitk. I connect to it. Then I go somewhere with the same wifi network, and it connects. And in connections, it shows one as iitk1, one as iitk2. Why? It didn't do that before.
The problems are not anything major but they are very irksome. So if anyone can provide a solution, it would be very helpful.
systemctl restart NetworkManager.service
– M. Becerra Jun 01 '17 at 20:44pwd
if unsure... (By the way, Ubuntu disables the root account by not setting a password for it - you did not need to do that and it is not recommended. But that would not cause the problems you are seeing.) – Zanna Jun 05 '17 at 20:42grep -R /home//.config/
is a good place to start.
Depending on how much stuff you have in your home directory you might find you have confused a few things by changing names.
– teknopaul Jun 05 '17 at 21:11