Vbox Manager can not see VM Started on a Console
Posted: 25. Aug 2016, 03:55
Using
Manjaro Linux (Arch)
KDE5/Plasma5/SDDM
Virtualbox 5.1.2 from Manjaro packages
I start a VM was in a Terminal (Ctrl-Alt-F2 text only terminal).
Then, in a graphical KDE session I run the GUI Virtualbox Manager.
Manager shows my headless VM as NOT running. And vboxmanage list runningvms shows running in an xterm or Konsole shows no VMs running.
Reverse case also fails. Launch a VM from GUI Manager.
Then try vboxmanage list runningvms entered in terminal shows no VMs running.
Same User Login, I can see the VboxHeadless running in top.
Testing with others on the Manjaro forum indicates that this problem does not occur while running Lightdm + KDE (and other DMs and DEs).
It is confirmed to fail as above by others running KDE & SDDM. So right away, I tend to blame SDDM.
The VM is running in all cases, can be accessed by VNC, etc.
Question: What could SDDM be doing such that none of the tools can see VMs started outside their environment. What does vboxmanage need to have in order to find a running VM?
Note: I can start VMs via systemd, and get the same failure to connect. But the simplest case appeared to be starting from a non-graphical and a KDE session.
Manjaro Linux (Arch)
KDE5/Plasma5/SDDM
Virtualbox 5.1.2 from Manjaro packages
I start a VM was in a Terminal (Ctrl-Alt-F2 text only terminal).
Then, in a graphical KDE session I run the GUI Virtualbox Manager.
Manager shows my headless VM as NOT running. And vboxmanage list runningvms shows running in an xterm or Konsole shows no VMs running.
Reverse case also fails. Launch a VM from GUI Manager.
Then try vboxmanage list runningvms entered in terminal shows no VMs running.
Same User Login, I can see the VboxHeadless running in top.
Testing with others on the Manjaro forum indicates that this problem does not occur while running Lightdm + KDE (and other DMs and DEs).
It is confirmed to fail as above by others running KDE & SDDM. So right away, I tend to blame SDDM.
The VM is running in all cases, can be accessed by VNC, etc.
Question: What could SDDM be doing such that none of the tools can see VMs started outside their environment. What does vboxmanage need to have in order to find a running VM?
Note: I can start VMs via systemd, and get the same failure to connect. But the simplest case appeared to be starting from a non-graphical and a KDE session.