System freezes after login screen

Is it gnome or kde or something else?
There is an issue with gnome it comes and goes. No one really knows why.