I am a content producer and for a new style format gameshow, an upcoming shoot involves one cast member (a.) pranking the other (cast member b.). by taking their laptop away as they leave the room and upon return, cast member (b.) discovers the other is holding the laptop hostage by making it appear as if they had changed the password. In order to unlock the laptop with the "new password," [and to win the secretly occurring gameshow taking place unbeknownst to cast member (b.)] cast member (b.) must attempt to guess the answers to pre-selected questions that will match with the answers cast member (a.) had previously guessed would be answered by cast member (b.)
To simplify what is needed for this project, the objective is to provided a well-coded, custom overlay, script, or whatever programming language that can accomplish the following, for all intents and purposes:
- act as a mock log-in screen to an already unlocked Linux, Elementary OS system (similar to Ubuntu 16.04)
- will allow a user to make 2 attempts for entering a "password" in a text box field before automatically allowing access on the third attempted "password", regardless of the user input (because it's not really a password field but simply a textbox field to record their answers)
- will log to a text file or somehow relay whatever input or guesses are made by the user [in this case cast member (b.)] during their attempted 2 guesses by either logging the keystrokes being entered to a text file and sent by email to the production team while a network connection is active or later established (so that if the laptop is not connected to wifi at the time, the guesses will still be logged and provided so that a visual representation of the guesses can be edited into the shot for viewers entertainment and verification of possibly matching the correctly guessed answers) or otherwise logged and uploaded to the specified FTP server upon network connection for the intended purpose
To further elaborate, the mock log-in screen should appear similarly to the attached "[login to view URL]:" photo while "[login to view URL]" can be used as the provided image to help create the similar appearance. The overlaying image/script/program should prevent the user from being able to accessing the desktop or other app through any desktop shortcuts (such as preventing Ctrl+Alt+T to access a terminal or alt+tabbing out) and otherwise appears as if it was the real login screen with the only difference being that regardless of input (in order to provided being able to ask 3 questions) the user will be notified that the first 2 guesses are incorrect and on the third one, appear successful and show the desktop.
In addition to revealing the desktop, (which would essentially be the program removing the foreground GUI to reveal the desktop and continue running in the background until the logged input is successfully sent) it should also have an ending instruction to execute a "./thanks4playing" script which will play an animation on the screen letting them know they've just played in our candid camera gameshow.
- You do not have to write the ./thanks4playing script
- you will only need to create the mock log-in screen that accepts and logs a user's input, allowing 2 guesses before automatically allowing access to the desktop and executing the specified script above in addition to relaying the logged keystrokes as mentioned
- full screen appearance must be able to work with a resolution of 1920x1080 or stretches the image to possibly 3840x2160
- it can utilize whatever dependencies needed so long as they're defined in the makefile when compiled on the target system for simple installation
- a keyfile will be provided to automatically unlock the real encryption lock or it can be assumed the system will automatically be unlocked