Press Ctrl+Alt+F1 at the login screen to go console mode. Once the script is executed, it will take you back to the log in screen graphical interface (chvt 7) and after five seconds it will take and save the screenshot in your home directory with a file name screenshot.