» RDP

Command: vagrant rdp

This will start an RDP client for a remote desktop session with theguest. This only works for Vagrant environments that support remotedesktop, which is typically only Windows.

» Raw Arguments

You can pass raw arguments through to your RDP client on thecommand-line by appending it after a . Vagrant just passesthese through. For example:

  1. $ vagrant rdp -- /span

The above command on Windows will execute mstsc.exe /span config.rdp,allowing your RDP to span multiple desktops.

On Darwin hosts, such as Mac OS X, the additional arguments are added to thegenerated RDP configuration file. Since these files can contain multiple optionswith different spacing, you must quote multiple arguments. For example:

  1. $ vagrant rdp -- "screen mode id:i:0" "other config:s:value"

Note that as of the publishing of this guide, the Microsoft RDP Client for Macdoes not perform validation on the configuration file. This means if youspecify an invalid configuration option or make a typographical error, theclient will silently ignore the error and continue!