Fixing some issues that caused my gdm login to fail