As a person who has maintained jenkins setups for multiple firms and projects since it was still called Hudson:
- auto login the machine to desktop when machine boots
- disable any lock screens or screen savers
- always launch agents from ssh session if the agent will do any (ui) test automation.
part 3 is not mandatory for linux agents but one needs to deal with virtual or nested x servers (and the DISPLAY
env @damies13 mentioned earlier …