kaca
Member
Posts: 4
Likes: 4
|
Post by kaca on Oct 23, 2022 13:19:56 GMT
Hi guys, I've spent 2 days trawling internet to find solution but nothing works. I run Bodhi linux in HyperV as a docker server. I was testing a docker container and after testing a couple of times, I was not able to login, as in every time I put in my password, it will come back to the login screen. I have gone to grub and recovery and do all that I can there. I have also tried on the login screen to ctrl-alt-F1 and login as root with the same details which works. So I know it's just the moksha gui that may be corrupted, but how do I reinstall this? I've tried dpkg-reconfigure lightdm (I saw from internet), apt-get update and upgrade, docker system prune -a, apt-get autoremove, apt-get autoclean, apt-get clean and all that, but nothing works. I also suspect the docker or host linux is filling up with something as I can see the .vhdx filesize has increased by a lot and this may well be the reason that the gui is not working, but I've checked all that and I don't know what needs to be cleaned. This setup has work flawlessly for maybe 1-2 years with no issue, and I'm pretty sure the docker testing have something to do with all the issues. I'm technical enough but doesn't know as much in linux. Anyone have any ideas? Thanks Attachments:
|
|
|
Post by Hippytaff on Oct 23, 2022 16:48:08 GMT
You could try logging in as root again via tty and deleting the ./e folder. Then restart. This will remove all moksha settings or stuff in there that might be corrupted and create a new one with the default settings. You will lose any custom settings.
|
|
kaca
Member
Posts: 4
Likes: 4
|
Post by kaca on Oct 23, 2022 22:51:54 GMT
Where is ./e folder located? I tried to look around but couldn't find this
|
|
|
Post by ylee on Oct 24, 2022 0:20:10 GMT
He means the .e folder found in the user's home directory. It is a hidden file.
And for the record
sudo apt install --reinstall moksha will reinstall moksha as well. Try removing the hidden .e folder first.
|
|
kaca
Member
Posts: 4
Likes: 4
|
Post by kaca on Oct 24, 2022 1:18:47 GMT
I've deleted /home/username/.e with rm -rf .e and checked it's not there anymore, reboot and still the same. Does it suppose to recreate .e folder as it doesn't do that when I checked.
I did sudo apt install --reinstall moksha after and still the same infinite login loop.
I'm lost
|
|
|
Post by ylee on Oct 24, 2022 8:08:32 GMT
/home/username/.e is recreated if moksha boots successfully. Yes.
If moksha is not getting that far in starting up then something bad is going on. On the moksha side of things you can install moksha-debug and then try to log in under the moksha with the logging option in lightdm. that will create a log file in /tmp. See if you can somehow post that here or link to it in pastebin.
|
|
kaca
Member
Posts: 4
Likes: 4
|
Post by kaca on Oct 24, 2022 10:58:30 GMT
Sorry, I didn't see your post just now, so I apt purge moksha, restart and apt install moksha again. Not sure if it will make it worse.
I don't know if it's worth troubleshooting this further, or might as well re-install from scratch.
|
|
|
Post by ylee on Oct 24, 2022 11:25:26 GMT
Reinstalling can be the best way at least in terms of time.
|
|