On Google Cloud Compute Engine GNU screen is exiting with no message. It works if I "sudo screen" but that is not what I need. The binary is suid root and has correct permissions, and I have also tried compiling my own copy of the latest screen straight from FSF. I have tried the copy of screen shipped with both Ubuntu and Debian images.
I have not been able to find any information on why this would happen (with no message) so I am assuming it is something Google Cloud related more than screen related? Screen is supposed to work on Google Cloud - they recommend using it. Not sure what's up, any help appreciated.
lrwxrwxrwx 1 root root 12 Jul 10 08:46 /usr/bin/screen -> screen-4.6.2
-rwsr-xr-x 1 root root 1613208 Jul 10 08:46 /usr/bin/screen-4.6.2
I tested it and tmux works so that is one way to achieve it but I am more accustomed to screen's key bindings.