Vagrant Tips and Tricks
How to start a Vagrant VM with GUI
- Sometime it may be necessary to start a VM with a GUI, e.g. to analyze a strange booting problem. However our servers have no GUI installed.
Login to our Host Server
- Login to our host server as vagrant with X server redirection. It is recommended, that you copy your ssh key first to vagrant's authorized keys file. The example shows the situation with the MGT system on LU2.
$ ssh -X vagrant@lu2.softxs.ch $ cd vms/mgt $ vi Vagrantfile # add "v.gui = true" in section "config.vm.provider :virtualbox do |v|" $ vagrant reload