0

I have an issue similar to this.

I connect via windows remote desktop to a windows server 2012 R2. On that machine I have virtual box installed and want to run my virtual machine. I don't want to connect directly to the VM via RDP. Just rdp to server and work on the server like on a local machine and working also includes running this VM. ( I don't even have the RDP extension installed)

My VM has virtual display disabled and installation of virtualbox did not break RDP connection. What breaks the connection is as soon as I start the VM. The VM uses NAT not bridged networking which also is slightly different from the linked thread.

So what causes my Remote desktop connection to fail on start of the VM? How can I work on the remote server with virtual box just like ti was a local PC without losing connection?

EDIT:

Issue most likely caused to running nested virtualization (see potential answer in comments or here). My solution was to just request another VM via IT which is a bit cumbersome usually.

  • Is a UAC popup kicking you off? If you reconnect, is the VM started? What happens if you start the VM using VBoxManage? – Attie Mar 6 '18 at 12:42
  • As soon as i start the VM, I get kicked out of the RDP session and reconnection is not possible. The remote server must be rebooted via management tools. This is done by IT and each reboot means a new ticket and takes hours. So experimenting is not really an option. – beginner_ Mar 6 '18 at 12:46
  • How frustraiting - I'd suggest arranging a 1-to-1 session with someone from IT who can assist with reboots etc. If the server is itself a VM, then this may be part of the issue - do you know about the infrastructure you're running on? – Attie Mar 6 '18 at 12:51
  • Did you review this answer? superuser.com/a/642851/707676 – Attie Mar 6 '18 at 12:52
  • AFAIK the remote server is on vSphere / VMWare. I saw the that answer but I have the bridged adapter installed and RDP works just fine. It's only when I actually launch the VM that the connection gets cut. Also the VM uses NAT. – beginner_ Mar 6 '18 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.