Questions tagged [virtualization]
Questions about Virtualizing Ubuntu or virtualizing other operating systems within Ubuntu.
860
questions with no upvoted or accepted answers
7
votes
0
answers
2k
views
Key grabbing under wayland (shortcuts won't work in virt-manager)
I use virt-manager on Ubuntu 17.10.1 (both host and guest). Key grabbing won't work. That is, I can't do control tab inside the guest machine for example.
I discovered that it has to do with Wayland:
...
6
votes
1
answer
14k
views
Beginner GPU passthrough Windows Host to Ubuntu Guest (Whats KVM? I use vBox)
I run win10 with 18.04LTS VM on virtual box. I am not experienced in VM's but have a need for Linux (personal use) so I thought vBox was the only solution.
I have 2 discrete graphics cards so I want ...
5
votes
0
answers
2k
views
CPU does not support KVM, but I want to run android emulator in Ubuntu 18.04 on HP Computer
I have set up my react Native environment on an HP UEFI Computer running Ubuntu 18.04.
When I try to run an emulator using AVD, I get the following error:
Starting emulator for AVD '...
5
votes
0
answers
1k
views
Graphics glitches in VirtualBox Ubuntu guest when 3D acceleration is enabled
I am using Ubuntu 16.04 as a VirtualBox guest on a Windows 10 host machine, I've installed and re-installed guest additions by following the instruction on this page. The drivers appear to be ...
4
votes
0
answers
912
views
Unable to start QEMU VM with SDL display due to Apparmor: cannot load AppArmor profile 'libvirt-32963ecb-fd2f-454c-93a6-c818af618ba4'
I am trying to run my virtual machines in virt-manager using SDL as my display, rather than a spice server.
The VMs boot flawlessly with spice but when I switch its display to SDL I get the following ...
4
votes
0
answers
5k
views
Cannot access an Ubuntu guest VM running under multipass on an Ubuntu Host from the outer network
Setup & Purpose
I use a headless Ubuntu server as VM host running a nextcloud appliance using multipass.
I want to access the VM from another Desktop System in the same network for testing.
local ...
4
votes
0
answers
8k
views
Can I use Nvidia GPU from virtual machine?
I will get a Windows machine soon. This machine has a Nvidia GPU
Ideally. If I install Ubuntu in a Virtualbox (or other virtualization method), will I be able to access and use this GPU for CUDA ...
4
votes
1
answer
2k
views
providing vm priority for kvm based virtual machines
Is there any way I can prioritize my VMs based on their resource (vCPUs, memory etc.) usage in a kvm/qemu based virtualized environment so that I can allocate more cpu/memory to some VMs which need ...
4
votes
0
answers
989
views
How to set up debugger for ARM Assembly using qemu and gdb
I followed this tutorial as well as this one to set up a compiler + debugger for ARM Assembly.
Following the first one, I ran the command qemu-arm -singlestep -g 1234 emptyand started a new shell, ...
4
votes
0
answers
2k
views
systemctl enable libvirtd failed: too many levels of symbolic links on 16.04
I just installed virt-manager with APT (via $ sudo apt-get install -y virt-manager) and ran:
$ sudo gpasswd -a fusion809 libvirtd
(where fusion809 is the name of the user account I am presently ...
4
votes
0
answers
2k
views
How to hot add a new disk with virsh attach-disk?
I'm trying to add a new LVM disk to my guest machine (Ubuntu 14.04.1) by doing
the following on the host:
lvcreate -L 14G -n vm_vm005_data3 vg00
virsh attach-disk vm005 /dev/vg00/vm_vm005_data3 --...
4
votes
0
answers
3k
views
kvm bridge dropping packets
Periodically one or more of the guests lose network connectivity. We are getting packet loss only in vms.
Setup:
We're running 3 KVM guests, all Ubuntu 12.04 LTS using bridged networking.
OS on ...
4
votes
0
answers
1k
views
MAAS, JUJU, VirtualBox 4.3 and virsh command
I've a problem with libvirt 1.2.2 and VirtualBox 4.3.
After installing Ubuntu 14.04 server and setting MAAS and JUJU, I need to use virsh to see the list of my installed VM (as reported in the guide ...
4
votes
2
answers
4k
views
Virtual machine running painfully slow
I am running Ubuntu 14.04, and I've installed windows 8 on VirtualBox. The problem is that it is too slow - even minimizing a window takes 2-3 seconds.
The reason I think this is a problem, because I ...
4
votes
1
answer
305
views
How do I run a PXE server?
I'm going to run several virtual machines with KVM virtualization. In order to install guest systems over PXE protocol, I am going to run a PXE server on my host machine (I'm not doing it wrong, am I?)...
4
votes
1
answer
3k
views
Building Opengl 3+ in ubuntu under virtualbox/vmware
For a computer graphics class we will be developing opengl 3+ applications. I have installed ubuntu under both vmware and virtualbox, and installed there respective guest additions.
If I run
...
4
votes
0
answers
617
views
How do I get the VT running X in my LXC container to my host?
I'm trying to run Lubuntu within an LXC container on my host already using a GUI.
Is it possible to redirect the X output from the container to say; VT9 rather than VT7? If so where is the VT7 ...
3
votes
0
answers
229
views
Screen locked on desktop resize (aarch64 virtual machine)
I use Ubuntu 22.10 (and used all previous versions) in various environments, mostly virtual machines. I just ran into a new unexpected and annoying behavior on aarch64 (64-bit Arm).
When I resize the ...
3
votes
0
answers
1k
views
Ubuntu 21.04 (64-bit) fails to boot on QEMU raspi3 machine
I'm trying to launch prebuilt Ubuntu for Raspberry Pi on QEMU and I managed to do that successfully with 20.04.2 by following steps below.
Download the image
https://ubuntu.com/download/raspberry-pi -&...
3
votes
0
answers
825
views
VMware workstation/player does not work on Ubuntu 20.04.1
I have several Windows VMs, one of Win10 brand new VM for test, which starts, but it takes ages to get a login screen - practically speaking VMs cannot be used at all. I have used VMware for 15+ years ...
3
votes
0
answers
2k
views
Virtual Machine Manager not showing edit XML option
I'm looking to use my virtual machine manager to setup a Windows KVM/QEMI. I followed this tutorial...
https://www.youtube.com/watch?v=2WDASJ0ye0A
It's for Arch Linux but I managed to do it. I'm stuck ...
3
votes
0
answers
728
views
Ubuntu 20.04 on vmware ESXi 7 and Nvidia 2080 ti - device available,drivers installed,external monitor not detected,gpu can't be fully used
I have esxi 7 installed and I have passed through my Nvidia RTX 2080 ti to the guest. On the guest side, I have installed ubuntu desktop 20.04 with Plasma and Wayland with the support for Nvidia,...
3
votes
0
answers
607
views
How to emulate a vertical screen in Xubuntu guest?
I am using an Xubuntu guest virtual machine with Virt-Manager, Spice, and QXL. I want to rotate the virtual display to be vertical so as to fit my monitor.
Stuff I tried:
Settings > Display in ...
3
votes
0
answers
2k
views
KVM Virtual Machine Manager Shared Folder Mount Error
I've created an Ubuntu 18.04 LTS Desktop VM inside Fedora using Virtual Machine Manager. I'm trying to mount a host directory in the guest OS but it's not working. I used the instructions provided ...
3
votes
0
answers
4k
views
qemu-system-x86_64: Property '.md-clear' not found'
I tried to start a Windows VM using QEMU/KVM (and virt-manager) on Ubuntu 16.04, it worked perfectly before I upgraded the qemu version from 2.5 to 3.0 (I followed this to build and install qemu3.0).
...
3
votes
1
answer
1k
views
Emulate NUMA machine with virt-manager
I need to develop a C program which uses libnuma library. But I don't have a NUMA machine at home, and the function numa_avaiable() returns 0.
I would like to emulate a NUMA machine. So, I have ...
3
votes
2
answers
2k
views
Simplest and most scalable way to isolate ImageMagick in VM or container
For users of my web service running on Ubuntu Server 16.04 or 18.04, I’d like to integrate features from such useful programs as ImageMagick. For example, I’d like to crop their profile pictures or ...
3
votes
1
answer
1k
views
Virtual Ubuntu 18.04 gets slow over time
I was happily running Ubuntu 16.04 as a virtual machine using Virtualbox on my Windows PC for about a year. Recently I decided to upgrade that (with do-release-upgrade) to 18.04.
The problem is that ...
3
votes
0
answers
2k
views
Ubuntu Hyper-V VM Production Checkpoints Suddenly Failing
I have an Ubuntu 16.04.4 LTS VM that all the suddenly started failing to create "Production Checkpoints" which "Use backup technology in the guest operating system to create data-consistent ...
3
votes
0
answers
74
views
Buggy window titles and buttons in Ubuntu 16.04 (VM)
I recently installed Ubuntu 16.04.1 LTS on a virtual machine (VMware Workstation Pro 12) to test it out. Everything works fine except for one thing, the window titles and the close, maximize and ...
3
votes
2
answers
6k
views
Unable to shutdown - libvirt-guest.sh
after doing an upgrade (via update && apt upgrade) Ubuntu doesn't turn off or reboot.
Every time I try to turn it off or restart it, appears this string and i'm forced to switch off with the ...
3
votes
1
answer
8k
views
Ubuntu 16.10 doesn't work in virtual machine (VMware)
Ubuntu 16.10 doesn't work in Virtual Machine. It gets installed though, but when powered on, it gives an error "Guest OS has disabled the CPU, Please power down or restart"
Even though I upgrade a VM ...
3
votes
0
answers
972
views
How to run a program in a Windows VM and have it be it's own window
I love Ubuntu greatly, but there is one Windows program that I really need to run in Ubuntu: Windows Live Movie Maker (I know, I should be ashamed!).
I have Windows 10 running in Virtual Box. Is there ...
3
votes
0
answers
927
views
QEMU-KVM with VLANS and no bridges
Please be gentle, I'm both a novice Ubuntu user and novice networking guy.
I'm trying to put together a virtual server to support a couple of telephony applications at my office. Both applications ...
3
votes
0
answers
2k
views
virt-sysprep problem
Virt-sysprep man page notes :
You do not need to run virt-sysprep as root. In fact we'd generally
recommend that you don't. The time you might want to run it as root
is when you need root in ...
3
votes
1
answer
867
views
Virtualization limits for Ubuntu Server 14.04 LTS with KVM
Essentially I'm after something like this, but for Ubuntu Server 14.04 LTS.
I'm trying to create some KVM guests with very large 1TB+ RAM (through OpenStack Nova). I can boot the 1TB VM fine, but I ...
3
votes
0
answers
683
views
jujud won't start because of different ip address
Is there anyone who can tell me how to modify both public and private IP of juju bootstrap node stored in mongodb?
I have an all in one openstack server. This week, I launched a vm named juju-core ...
3
votes
1
answer
241
views
VM can't ping LAN name but sees it via nslookup
I am trying to connect to a network resource from my 10.04.4 VM (VMware Fusion) but the destination is unreachable by name.
What is weird is that the name is visible in DNS:
>nslookup my.name
...
3
votes
0
answers
1k
views
KVM-Guest only boots single user mode
We have a Vserver Host running on Ubuntu 12.04 with KVM/QEMU and so far guests been running fine with various OS's (Ubuntu 10.04, 12.10, Debian 6,7, CentOS 5,6).
After the installation of Ubuntu 14....
3
votes
0
answers
704
views
How do I make wireless bridged networking work with linux guest in kvm/qemu?
I am running the ubuntu 13.10 cloud image on kvm/qemu. The guest networking works fine operating in NAT mode when on wireless. Wired bridged networking (eth0 + macvtap) works fine as well. When ...
3
votes
0
answers
573
views
Mouse scroll wheel does not work for ubuntu 12.04 running under Hyper-V for Windows 8 Pro
I'm using Ubuntu 12.04 lts on a Hyper-V virtual machine (MS Windows 8 Pro) and I need some help with the mouse driver.
The mouse responds fine in general: the cursor's moving, left/right click works ...
3
votes
1
answer
754
views
i7 Turbo Mode not recognized in VirtualBox
Recently I made the switch to Ubuntu 12.10 as my main OS for my laptop. For the longest time, I've been running Windows 7 with Ubuntu 12.04 inside VirtualBox. As I found myself more and more inside ...
3
votes
2
answers
927
views
USB encrypted VM with Ubuntu
New User here trying to get involved with Linux. Let me first say that I am enthralled with the Linux community, everyone is very knowledgeable and willing to offer input.
Question:
I would like to ...
2
votes
0
answers
2k
views
Autostart VirtualBox on system startup
I am running the latest version of Ubuntu 22.10 and I have installed VirtualBox onto the system.
I am looking for a possibility to start VirtualBox on the system start-up and after that, I want to ...
2
votes
0
answers
365
views
Ubuntu guest (running in VMware player) freezes on Windows Host
I am trying to run Osboxes Ubuntu 20.4 guest image on Windows 10 Home 22H2 (both 64 bit) host using VMware Workstation 17 Player. My host configuration is Core i7 1065G7, 16GB RAM and 1TB NVMe SSD.
...
2
votes
1
answer
3k
views
Boot Physical Windows Drive with Virt-Manager/QEMU
I have two separate hard drives in my computer.
The first is Kubuntu. The second is Windows 10.
I've successfully gotten the Win10 drive botted and running in VirtualBox. However, VirtualBox does not ...
2
votes
0
answers
979
views
Ubuntu 22.04 on Hyper-V: missing RAM
Update: Since it seems like I'm not the only one curious about this (got me another curious badge), we clarified the root cause: the Ubuntu VM inherits the reserved (GPU) memory from the Hyper-V host. ...
2
votes
0
answers
3k
views
QEMU Guest hat not initialized the display (yet) | Ubuntu 21.10 arm64
Actually I have a problem by using qemu on my Windows 10 to built an Ubuntu arm64 Image.
I creating the qemu VM with packer, it works fine, but it still hang after typing the boot parameters.
After ...
2
votes
0
answers
374
views
Citrix workspace has wrong keys in guest OS (Windows)
I have a regular en-US keyboard. Most keys (alphabets and numerals) work fine in Windows, except for few symbols like
Key I type
Key echoed
/
#
< (shift + ,)
\
> (shift + .)
|
? (shift + /)
...
2
votes
1
answer
2k
views
Virt-manager OpenGL (virgil) acceleration gets only 1/4 of screen
I'm trying to use virgil OpenGL acceleration on ubuntu 20.04.2 both host and guest, but I get only 1/4 of the screen no matter what I do:
It's an intel i7 11th gen, Iris Xe GPU (Dell XPS 13)
UPDATE: ...