Anytime I open a file with vim I am taken to the lockout screen. My monitors briefly display that there is no signal. After entering my credentials I am back in and the file is opened. This started happening yesterday, but was only doing it in new tabs or tmux sessions. So naturally I updated and rebooted. Ran clamscan on the entire computer and found nothing as well. I use vim for git-commit and it opens there without a problem. Twice, in several hours, I've also had random logouts that were not connected with executing vim. Here is the system info:Distributor ID: UbuntuDescription:    Ubuntu 16.04.2 LTSRelease:    16.04Codename:   xenialAnd vim is pointed to:$ which vim/usr/bin/vimVersion:vim 7.4The vimrc file hasn't been updated in months (or any plugins). There have beens several restarts since then, so I assume no connection to that. I run zshell, and frequently use tmux. I find that this happens if I'm in bash, tmux, out, zshell, or any combination of these. Other than the two random events, I have not found another command that causes this lockout event. As a vim user, this is quite a frustrating problem and I'd appreciate any help at trying to debug this.Another interesting thingIf I log into a tty session I do not get the screen-lock when typing vim BUT when I return back to tty7 I do get locked out. I can switch with no problems, but if I execute vim after switching I get the screen-lock when returning. There is a slight delay after returning before I get the screen-lock, about half a second. If ssh is used to execute vim then the graphical session goes to screen-lock. No error with GNOME
`vim` brings me to lockout [Unity bug? Solved...ish]
vim;screen lock;bugs