Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all 4211 articles
Browse latest View live

[all variants] JACK audio inside VirtualBox VM?

$
0
0
Is it possible to have JACK audio inside a Xubuntu 16.04 VirtualBox VM? If so, how to do it?

So far, the best I've done is this. By selecting "Yes" for enabling realtime while installing qjackctl and jack-tools, and adding myself to the audio group, JACK and associated programs don't hang and crash. But there is no sound.

Everything else I've tried either had no effect or made things worse.

Internet searching only turned up stuff related to using JACK on the host. That is not what I'm looking for. What I'm looking for is to try out, inside the VirtualBox guest, some programs that depend on JACK. (Unfortunately I don't have a bare-metal system I can use for this.)

Any help would be appreciated.

Virtualization flavour of the month

$
0
0
What is the Ubuntu Virtualization flavour of the month. I want to create RPMs, and attempts with alien and cross-compiling tricks within Ubuntu are not working for me.

I need a minimal CentOS with gcc and rpmbuild, (no gui) ideally scriptable setup.

XEN borked grub, took a while to get my laptop able to boot again.
LXC/D works fine but does not work with redhat RPM builds, somehow picks up glibc deps from the Ubuntu kernel.
virt-install with default options as root either paniks or enters infinite loop at 100% CPU. Should I be using some specific quemu version/setup?

Running new laptop hardware with Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz

kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

Modern standard ubuntu kernel Linux 4.4.0-77-generic

stretch/sid Ubuntu 16.04 LTS

[ubuntu] 'tiptop' won't run

$
0
0
I'm running Ubuntu 16.04.1 LTS in a virtual machine. When I install 'tiptop' and run it, I just get this message on stderr:

Code:

syscall: Operation not permitted
Could not perform syscall.
Don't know why...

Any suggestions?

Printing from VMWare player without having printers installed in linux

$
0
0
So i'm looking at moving back to linux. However, i have various software and equipment that only runs in a windows or mac environment. I have a couple of printers and plotters that will not work in linux. So my question is, can i install the drivers in a windows VM from a linux host and be able to use the equipment? One printer is a network printer and 1 printer is a usb printer and my plotters are usb as well. Im sick and tired of this windows crap, i only need it for this and my personal computer is already linux

[SOLVED] updated my lubuntu distro from 16.04 to 17.04 - virtual box issues

$
0
0
-SOLVED-
I rebooted and reinstalled
first time i tried to reinstall it didnt do anything
reboot and another reinstall fixed it

I am trying to use my virtual box for my kali image and after upgrading my linux distro it seems to be broken here is my error

Code:

sudo /sbin/vboxconfig
[sudo] password for dave:
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.

There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.


pastebin wont let me paste it "too large" I think this is the important part of the log.

Code:

1 make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.4.0-31-generic/build -j2 modules
2 make[1]: warning: -jN forced in submake: disabling jobserver mode.
3 test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        \
4 echo >&2;                            \
5 echo >&2 "  ERROR: Kernel configuration is invalid.";        \
6 echo >&2 "        include/generated/autoconf.h or include/config/auto.conf are missing.";\
7 echo >&2 "        Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
8 echo >&2 ;                            \
9 /bin/false)

Now I believe line 7 says how to fix the problem. I am just unsure how it wants me to do it.

VMWARE CLIENT 4.4 on UBUNTU 16.04.2 LTS

$
0
0
Hey everyone,
Just wanted to throw something out here on the forums so if anyone is having issues having their VMWARE HORIZON v4.4 client and smart cards working, this is what made it work for me on UBUNTU 16.04.2 LTS x64bit.

Things that you'll have to make sure that you have installed/build

1. pcsc-lite https://alioth.debian.org/frs/?group...-title-content

2. pcsc-tools

3. the correct driver for your smart card reader (go to OEM website, download it, and then install/build)

4. Libffi https://packages.debian.org/wheezy/a...bffi5/download

5. there are a couple others, but when you run the wizard for the VMWARE CLIENT, make sure that you run a "scan" at the end to show you what all you're missing.


Anyways, onward to the meat and potatoes on what I found to work. I followed this guide step by step but skipped when the author was creating links (I skipped that part since I had the packages needed for the install) and I have verified that it does work for me stable. Again, thought I'd share the knowledge since VMWARE HORIZON CLIENT doesn't officially support 16.04.2 LTS yet, but 14.x.x.

https://techblog.jeppson.org/2015/12...ard-in-ubuntu/

[SOLVED] ALSA loopback, trying to record from multiple subdevices

$
0
0
Hello,

I am using a VM with Ubuntu 16.04 and what I am trying to do is record multiple sources.
I read about ALSA snd_aloop having 8 subdevices.
Code:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

What works so far, I can play for example a network stream (internet radio) with mplayer

Code:

mplayer hw:0,0,0 -ao alsa -af volume=10:1 -prefer-ipv4 http://someradio1
and record it:

Code:

arecord -D hw:0,1,0 -f S32_LE -c 2 -r 48000 /home/raven/record1.wav
Now if I have understood correctly, if I use mplayer and use a different subinterface, eg. hw:0,0,1 , I can record using hw:0,1,1. Is this correct?
Well this does not work, recording is ok using hw:0,1,0 , but using hw:0,1,1 records nothing.

Could you help me please?

Edit:
Problem solved, the mplayer command was wrong... to access a subdevice needs parameter: alsa:device=hw=0.0.0

[ubuntu] Virtualbox Extension Pack

$
0
0
I reinstalled my entire system to Ubuntu 16.04 LTS and I installed Virtualbox with
Code:

sudo apt-get install virtualbox
I downloaded the extension pack for 5.0 since I couldn't install the latest versions extension pack. When I tried to install it, it told me I had 5.1.22.
Code:

Failed to install the Extension Pack /home/richard/Downloads/Oracle_VM_VirtualBox_Extension_Pack-5.1.22-115126 (1).vbox-extpack.VBoxExtPackRegister returned VERR_VERSION_MISMATCH, pReg=0000000000000000 ErrInfo='VirtualBox version mismatch - expected 5.1 got 5.0'.









Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ExtPackManagerWrap
Interface: IExtPackManager {edba9d10-45d8-b440-1712-46ac0c9bc4c5}

How can I fix this? I really need to get items for my Windows 10 on Virtualbox. Please help.

Problmes with Mininet (xterm - Cannot connect to Display)

$
0
0
Hi, i am quite new to Mininet. I have installed Mininet and VirtualBox. While i try to use "xterm h1" by using basic mininet custom topology (i.e. sudo mn), it returns the errors, "Cannot connect to Display". Could you please advise what could be the possible problem?

Networking Issue post Virtualbox and Samba install

$
0
0
Hi - I have a pretty clean install of 16.04 - only installed virtualbox since I set up the system. Earlier today I tried to get the Windows 10 machine to bridge to the Ubuntu 16.04 network adapter and I'm sure I've screwed something up. after installing Samba to try to get the Win 10 machine running in VB to be seen by the windows network that this Ubuntu system is connected to (physically).

I can't connect to the network now. It's like the eno1 connection is still stuck in some kind of mode that won't let it get an ip address.
I've tried stopping and starting the network service. as well as nano editing the /etc/network/interfaces file to:

auto eno1
iface eno1 inet dhcp

The system refuses to grab an ip address from the router.

ifconfig - a is returning lo info, eno1 info (no ip address assigned). as well as eno1:avahi (indicating a failed attempt to get an ip address).

desperate for any help. At this stage I'm not even dealing with the virtualbox connectivity. just native Ubuntu OS on the system itself.
Thank you in advance.

[ubuntu] Guest unable to ping domain

$
0
0
Hi all,

Host - Ubuntu 16.04
Guest - Ubuntu 16.04
VirtualBox

There are 1 or 2 guests unable to ping domain but can ping its ip address. Host can ping guests and guests can ping host.

I have searched a while and couldn't figure out the problem. Please help.

Thanks

Regards
satimis

[lubuntu] ssh requesting password twice

$
0
0
I am attempting to connect to a router using SSH, running 64-bit Lubuntu 17.04, which I have configured in VirtualBox.
It connects, but only after requesting for the password twice.

The hostname and hosts files on Lubuntu appear as follows:

Code:

pl@router1:/etc$ cat hosts
# 127.0.0.1    localhost
127.0.1.1      router1   


# The following lines are desirable for IPv6 capable hosts
::1    ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Code:

pl@router1:/etc$ cat hostname
router1

The command to connect is:
Code:

$ ssh -l pl -p 14601 localhost
pl@localhost's password:
Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-21-generic x86_64)


0 packages can be updated.
0 updates are security updates.


Last login: Tue May 23 09:47:10 2017 from 10.0.2.2
[....] Starting ssh (via systemctl): ssh.service==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'ssh.service'.
Authenticating as: pl,,, (pl)
Password:
==== AUTHENTICATION COMPLETE ===
. ok
pl@router1:~$

The port forwarding rule in VirtualBox appears as shown below.


Any suggestions as to how to ensure the password is only requested once or not at all ?

Thanks
Attached Images

[lubuntu] lxd storage pool

$
0
0
Hi,
I'm installing lxd in my home lab in btrfs
root in one btrfs file system and I mounted another btrfs file system sub-volume to /var/lib/lxd

when I try to create new VM complain with this error
# lxc launch ubuntu:14.04 my-ubuntu
error: No storage pool found. Please create a new storage pool.

# lxc storage list
+------+--------+--------+---------+
| NAME | DRIVER | SOURCE | USED BY |
+------+--------+--------+---------+


I assume problem is default storage pool not defined.
I try to create a pool with following command
lxc storage create default btrfs source=/var/lib/lxd

But failed since trying create another sub-volume to /var/lib/lxd.

How could I edit default storage pool to add /var/lib/lxd?

Thank you,

[all variants] Setting up virtual network as a testing lab

$
0
0
Okay, I've interest in learning networking so I could setup a home server when I actually do have money to buy more hardware.

Right now, I do not have that option so I've been preparing VM, with lot of guests installed.

Right now, these are the guests installed in Virtual Box (Oracle Virtual box manager). Host is Linux eOs Loki

Ubuntu Server
Ubuntu
Win7
Manjaro
Kali

I intend to update laptop with some 8Gb more ram as 4 really wont be sufficient. Have i3 processor and also have prepared one WD external hard-disk for backup and ISO as well VDI storage. Also have spare router of TP link, not sure if it will suffice though.

This is not some huge project, but some basic one where I will learn to deal with various networking setups, like that of NAS, Media or only some firewall or Email. Honestly, I don't know yet. I don't know if this is possible either. I would also like to do penetration testing in this same network.

I've tried googeling but didn't see anything that will address my query which is with free tools like Oracle VM and not with Workstation.

If it is not too much trouble, and if you nice people out there have access to resources like easy tutorials, things I should know etc..which will help me in this process. I would like it very much if you could link me the same.


Sorry, if this sounds bit silly, but I don't have computer background in education so mostly my one sided love affair. Please help with anything you can think of.

(don't know if right section, but guess VM related query so posted here)

Can we create smaller volumes on iSCSI Storage pool of large size

$
0
0
I created iSCSI storage pool of 200G, I was looking for a way where I can create 32G Volumes and use that volume to clone VM. Is that possible if yes how ?

Cannot upgrade 12.04.05 Precise

$
0
0
Hello,
I would like to upgrade to 14.04 as it is told me by the system after logging in:


Quote:

Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 2.6.32-042stab120.20 x86_64)

* Documentation: https://help.ubuntu.com/
New release '14.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Quote:

root@pflauni:~# uname -a
Linux pflauni 2.6.32-042stab120.20 #1 SMP Fri Mar 10 16:52:50 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux
I did apt-get update/upgrade:

Quote:

root@pflauni:~# apt-get update
Hit ftp://ftp.fu-berlin.de precise Release.gpg
Hit ftp://ftp.fu-berlin.de precise Release
Hit ftp://ftp.fu-berlin.de precise/main Sources
Hit ftp://ftp.fu-berlin.de precise/main amd64 Packages
Hit ftp://ftp.fu-berlin.de precise/main i386 Packages
Hit ftp://ftp.fu-berlin.de precise/main TranslationIndex
Hit ftp://ftp.fu-berlin.de precise/main Translation-en
Hit ftp://ftp.fu-berlin.de precise/main Translation-de
Reading package lists... Done
root@pflauni:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
The update-manager is installed, it is configured to update to LTS versions only. However, it continues to tell me "no new version found":
root@pflauni:~# do-release-upgrade
Checking for a new Ubuntu release
No new release found

Content of /etc/update-manager/release-upgrades:
Quote:

Prompt=lts
Content of /etc/apt/sources.list
Quote:
I had to switch to another mirror, as I couldn't update the package lists from the default ubuntu servers (stuck with "Waiting for headers").

I need to upgrade the servers Ubuntu, what can I do?

eGPU Passthrough over Thunderbolt 3

$
0
0
Have anyone tried it?
Will be awesome if it works and if all one needs to do is passthrough thunderbolt port (tb3 port) to Windows VM,
connect thunderbolt cable and then simply install Nvidia drivers in Windows VM to play games. It will make GPU passthrough lot easier. :)

https://www.howtogeek.com/232144/wha...ld-i-want-one/

[Lubuntu] Memorex 6142u Scanner via VirtualBox

$
0
0
Hi,

I am trying to configure my memorex 6142u flatbed scanner on lubuntu. According to this post, https://ubuntuforums.org/showthread.php?t=924173. The user was able to use virtualbox and acsess the scanner to scan with a Windows 2000 Guest OS.

I have a virtual machine with Windows 2000. (Which is supported) How would I access the scanner?

lxc confusion

$
0
0
can someone help me figure this out:

sudo lxc-ls -f
my_container STOPPED

sudo lxc list
my_container RUNNING

so I stop my_container
I delete it

sudo lxc list
no container

sudo lxc-ls -f
my_container STOPPED


sudo find / -type d -name my_container
/var/lib/lxc/my_container
/var/log/lxd/my_container


I understand the commands lcx-ls (pre LXD) vs lcx list (LXD/LXC) but why is the container listed at stopped and not deleted?

[ubuntu] lvmetad is not active yet using direct activation during sysinit

$
0
0
Hi

I had a proxmos setup where im now converting to hyper-v..

I have used qemu-img to convert my zentyal DC from qcow2 to vhdx and mounted this in a new VM in my hyper-v server..

when i boot up this DC01 I get this upstart error

HTML Code:

lvmetad is not active yet using direct activation during sysinit
/dev/mapper/dc01--vg-root: clean, 130802/1806896 files, 900932/7214080 blocks

any clue how to fix this?!?!?!

thanks!
Viewing all 4211 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>