I'm running Ubuntu 10.04 in a Virtual Machine on a Windows 7 computer. If I press Ctrl-Alt-Delete when the Ubuntu VM is in focus, the Ubuntu system sees it and shuts down after 60 seconds. This does not happen if the Ubuntu VM is not in focus. I know I could just "be careful", but I'd like to avoid accidentally shutting down my Ubuntu system every time I lock my machine.
I found the following directions for disabling this behavior on Ubuntu:
To disable Ctrl+Alt+Del REBOOT edit
#sudo nano /etc/init/control-alt-delete.conf
comment out:
#start on control-alt-delete
#task
#exec shutdown -r now “Control-Alt-Delete pressed”
I tried that, but it's not working (even after rebooting the system). Considering how common this answer appeared to be, I'm a bit confused. Any other ways to disable this behavior? Thanks!