Steam on Ubuntu 18.04 on Virtaul Box - virtualbox

I want to run steam on Ubuntu 18.94 on virtualbox. I can download it but it doesn't open. This is the error I got when trying to open on terminal
Running Steam on ubuntu 18.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Related

Error running linux container on windows 2019 server AWS

I'm having problem while running Linux container on Windows Server 2019, AWS.
Following is the error:
failed to register layer: failed to start service utility VM (applydiff 7867715a779e14ed8af41d812471a62615cb810cbce3df69a4ed0d2036086d7b): container 7867715a779e14ed8af41d812471a62615cb810cbce3df69a4ed0d2036086d7b_svm encountered an error during CreateContainer: failure in a Windows system call: The virtual machine could not be started because a required feature is not installed. (0xc0370102) extra info: {"SystemType":"container","Name":"7867715a779e14ed8af41d812471a62615cb810cbce3df69a4ed0d2036086d7b_svm","Layers":null,"HvPartition":true,"HvRuntime":{"ImagePath":"C:\Program Files\Linux Containers","LinuxInitrdFile":"initrd.img","LinuxKernelFile":"bootx64.efi"},"ContainerType":"linux","TerminateOnLastHandleClosed":true}
Note: Hyper-V is activated.

VirtualBox: VERR_VM_DRIVER_NOT_INSTALLED

I am trying to launch two VMs using docker machine:
docker-machine create --driver virtualbox myvm1
docker-machine create --driver virtualbox myvm2
I see the following error in the output:
(myvm2) Progress state: NS_ERROR_FAILURE
(myvm2) VBoxManage: error: Failed to create the host-only adapter
(myvm2) VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
(myvm2) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
(myvm2) VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
(myvm2)
(myvm2) This is a known VirtualBox bug. Let's try to recover anyway...
Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
I installed the latest version of VirtualBox (6.0.0) from there. When I open VirtualBox window and click on the VMs in the left panel I get the following error popup:
UPDATE
I tried to re-install VirtualBox 6.0.0 and in the end of the VirtualBox installation process I saw the following screen:
Maybe it is a reason of the failures described above? My mac is running on 10.14.1 macOS Mojave
How can I fix these errors?
You probably need to approve the VirtualBox kernel extension in System Preferences under Security & Privacy:
After you allow the kernel extension, the installer should be able to run successfully.
The (rc=-1908) usually happens when the secure boot is enable, try to disable and run your vm again
Secure Boot settings are available in Startup Security Utility:
Turn on your Mac, then press and hold Command (⌘)-R immediately after you see the Apple logo to start up from macOS Recovery.
When you see the macOS Utilities window, choose Utilities > Startup Security Utility from the menu bar.
When you're asked to authenticate, click Enter macOS Password, then choose an administrator account and enter its password.
Select "No security" option
I got this exact error after upgrading my Mac to Monterey. Remove Virtualbox and reinstall solves the problem.

Windows 10 IoT Raspberry - VirtualBox

I want to run the Windows 10 IoT(check here) Raspberry on VirtualBox.
I followed all steps explained here
I'm getting this error:
Failed to open a session for the virtual machine w10IoT.
Failed to open image 'G:\VM_Workstations\wIoTTest\kmdF41E.vhd' for writing due to wrong permissions (VERR_VD_IMAGE_READ_ONLY).
Failed to attach driver below us! Image is read-only. (VERR_VD_IMAGE_READ_ONLY).
AHCI: Failed to attach drive to Port0 (VERR_VD_IMAGE_READ_ONLY).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
I tried for both MinnowBoardMax and also for Raspberry.
I have no Raspberry board, so help needed to run this on VirtualBox.

Raspberry Pi QDBus error: could not send message to service

i am trying to execute a simple qt5 c++ program to get all wifi networks listed, when i execute it in linux mint it works out of the box, but when i try to execute it in Raspberry pi (latest raspbian) i get the following error:
QDBusConnection: error: could not send message to service "org.freedesktop.NetworkManager" path "" interface "org.freedesktop.DBus.Introspectable" member "Introspect":
ERROR : Interface invalid
My wifi dongle is working because i can list all wifi networks with this command:
sudo iwlist wlan0 scan
What is happening?
Thanks in advance.
Ups, networkmanager was not installed in Raspberry Pi: sudo apt-get install network-manager

Virtual Box VBoxManage: error: Failed to open/create the internal network 'HostInterfaceNetworking-eth0'

I'm running virtualbox 4.1 on Debian. If I try to start a VM with a bridged NIC I get this error:
error: Failed to open/create
the internal network 'HostInterfaceNetworking-eth0' (you might need to
modprobe vboxnetflt to make it accessible) (VERR_PERMISSION_DENIED).
VBoxManage: error: Failed to attach the network LUN
(VERR_PERMISSION_DENIED) VBoxManage: error: Details: code
NS_ERROR_FAILURE (0x80004005), component Console, interface IConsole,
callee
System: Linux localhost.localdomain 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
Virtual Box Version: 4.1.18_Debianr78361
The VM starts with a NAT NIC config.
The weirdest thing is if I export this VM and import it to another user, it works. The other user I tested with was the user I usually use for running auto started virtual machines. But I cant remember doing anything special setting this user up. It is only in its own group and no others. I tried to create a new user and import the VM, but I get the same error as above. I've tried purging virtual box, and completely deleting my conf but it does not work. I just cant figure out what the diff is.
Any help appreciated.
The solution for me was to install virtualbox-4.0 from linux mint. I believe that is actually a downgrade from what in debians repos. Probably packaged different too. Still don't know how the heck I was getting the error I was getting...
sudo apt-get install -f virtualbox-4.0
sudo /etc/init.d/vboxdrv setup