Skip to main content

Posts

Showing posts with the label virtualbox

WILT: Fixing Virtual box shared clipboard issue

I have a Windows 10 laptop (host) which uses Virtualbox as the hypervisor. In the Virtualbox, I have a Ubuntu 16.10 VM. Once in a while its required to copy text between the VM and the host and Virtualbox has a feature to enable bi-directional shared clipboard: This feature does not work sometimes. After going through some discussion forums I came across the below suggestion which solved this problem. Run the following commands on the VM: sudo VBoxClient-all stop sudo VBoxClient-all start    

VirtualBox Networking Modes

VirtualBox gives an option to select various types of networking modes for an adapter. The simplest description for each mode is as follows: NAT :VM can connect to internet but VM and Host can't talk to each other.    Bridge Adapter : The VM acts like a separate machine connected on the same network as the host. It gets an IP from the same DHCP server as the Host. Host and the outside world can talk with the VM directly. Host-only Adapter : VMs can communicate with each other and the Host but not outside. Internal Network : VMs can communicate with each other. Host and outside world can't communicate with the VMs. Not Attached : If you want to test pulling out the virtual Ethernet cable, you can set to this mode on a running VM. Generic Driver : Can be used for two purposes: UDP Tunnel This can be used to interconnect virtual machines running on different hosts directly, easily and transparently, over existing network ...

Installing VirtualBox Guest Additions from the Command Line

VirtualBox Guest Additions helps improve a VM's performance and usability. The biggest plus I see going for it is the dynamic screen resizing of the guest window. If you are using a supported OS with a GUI, installing the guest additions is as simple as clicking on the menu "Devices --> Insert Guest Additions CD Image" and the installation follows. On an OS without GUI, generally the server versions, you will have to do the following operations from the CLI to install the guest additions: