I am having issues working with kali linux lately

I am automaticaly getting logged off of my machine well its not quite just a log off as all the running applications are closed and all the...