rdp for remote vagrant?

257 views
Skip to first unread message

pixel fairy

unread,
Dec 2, 2017, 11:09:36 PM12/2/17
to Vagrant
My laptop runs qubes-os (linux vms), so i use vagrant remotely. When using a desktop vm, like windows, the libvirt provider works fine. virt-manager works over ssh.

But how is this done with virtualbox? i tried adding vrdp and even setting authentication to null, and ssh -L for the vrdp port and rdesktop still cant connect saying "error: connection closed" after a little while.

has anyone managed to get this to work?

Alvaro Miranda Aguilera

unread,
Dec 3, 2017, 6:34:50 AM12/3/17
to vagra...@googlegroups.com
Hello

vbox extension on the host need to be installed.

this works for me:

Vagrant.configure("2") do |config|

  config.vm.box = "hashicorp/precise64"

  config.vm.provider "virtualbox" do |v|

    v.customize ["modifyvm", :id, "--vrde", "on"]

    v.customize ["modifyvm", :id, "--vrdeport", "3389-3389"]

  end

end


no need to ssh into the VM if you have direct access, just rdp to the hostip:port


enjoy!
Alvaro

pixel fairy

unread,
Dec 4, 2017, 5:30:03 PM12/4/17
to Vagrant
thanks!
Reply all
Reply to author
Forward
0 new messages