When I log in to Ubuntu, it logs out of it after some time. It happens only sometimes. It seems to me that when I try to change WiFi settings, this happens. I have tried previous answers, but none work. What could be the problem, or where can I find the reason of problem?