I leave my Ubuntu (20.04 LTS) running with multiple applications as a VMware guest. When the host is locked and the display turns off, I come back to Ubuntu and it's logged me out, closing all applications. This behavior does not happen on the same machine with Windows guests... they come back normally. This is making it really difficult to use Ubuntu productively.
I've tried: - Setting "Automatic Screen Lock" to off - Setting "Blank Screen Delay" to Never - Setting "Lock Screen on Suspend" to off - Setting "Blank Screen" to Never - Setting "Suspend & Power Button"'s "Automatic Suspend to Off - Installing Gnome Tweaks and turning off "Suspend when laptop lid is closed" - Editing /etc/systemd/logind.conf and adding HandleLidSwitch=ignore - Editing the virtual machine's .vmx file and adding suspend.disabled = "TRUE"
Nothing works. Any ideas?
Environment is: VMware workstation player 15.5.5; Ubuntu 20.04 LTS guest running on Windows 10 host. The problem appears specific to Ubuntu, as Windows 10 guests don't have this problem.