Linux lock script on Ubuntu with GDM now switches UI to text mode to work around GUI issues.