Ticket #9594 (new defect)
Opened 2 years ago
Losing X11 connection to Ubuntu guest VM on Mac OS Lion
|Reported by:||markoa||Owned by:|
|Version:||VirtualBox 4.1.2||Keywords:||x11 ubuntu lion|
|Host type:||Mac OS X|
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.