id summary reporter owner description type status component version resolution keywords cc guest host 9594 Losing X11 connection to Ubuntu guest VM on Mac OS Lion Marko Anastasov "On Mac OS Lion's VirtualBox 4.0.12, I'm running Ubuntu server 10.04.02 for web development. I'm connected to the VM via multiple ssh connections in terminal. One of the is ""ssh -X vm"", so I can run graphical programs on the guest. The problem is that after a couple of minutes this X11 connection is lost (""Error: cannot open display: localhost:10.0"" when I run anything), and I need to create a new ssh connection to have it back. I'm a Mac user since Lion, but my colleague has told me that this has not happenned with VirtualBox on Snow Leopard. I have not figured the exact pattern of what happens before the X11 connection is lost. Opening other ssh (non-X) connections could be a reason, although not immediately. I'm attaching my VBox.log file." defect closed host support VirtualBox 4.1.2 obsolete x11 ubuntu lion Linux Mac OS X