i cant list all vms without sudo:
vboxmanage list vms
Shows nothing, but when i try this:
sudo vboxmanage list vms
It shows all vms. I've installed virtualbox with following command:
sudo apt-get install virtualbox
Is that normal behavior?
Probably not, especially if you created the VMs under your own user account (you didn't launch VirtualBox with sudo) and the VMs are in your VirtualBox VMs folder.
That's not the issue. The issue is that you likely used sudo virtualbox to launch VirtualBox, and so the VMs are in the root's home folder. Also, just to check, what user are you logged in as?
yes, i've used sudo virtualbox because if i run just: virtualbox - when i close virtualbox it throws many errors in CLI. And i am logged as "alexander" (that's my username)
When you were installing virtualbox, was there any output like the following?
vboxdrv: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.13.0-34-generic/updates/dkms/
vboxnetadp.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.13.0-34-generic/updates/dkms/
vboxnetflt.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation