Access VM with another user account

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Ross__
Posts: 1
Joined: 13. Oct 2015, 15:25

Access VM with another user account

Post by Ross__ »

I am facing an issue with VirtualBox on Windows 7.

I have VBOX_USER_HOME=C:\VirtualBox where VirtualBox.xml resides. My virual machines are located in C:\VM folder. Everything works perfect when run from Windows console.
VBoxManage list vms lists all machines, VBoxManage list runningvms lists running vms, VirtualBox Manager also shows evrth correct.

Now when I connect with the same user through Cygwin Ssh, I get strange behavior (USERPROFILE=C:\Users\{myusername} is set)

VBoxManage list vms lists all vms correctly
VBoxManage list runningvms DOES not list any running machines though they are.

If I stop my running vms from console or from VirtualBox manager locally, I then can use ssh connection to start Vms from there. An running vms show correct.

But then it stops detecting running state from the console.

So only the user who started the vm can see its state. The same user in another sesssion cannot see the machine is started. Is any way to solve this ?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Access VM with another user account

Post by socratis »

Ross__ wrote:So only the user who started the vm can see its state. The same user in another session cannot see the machine is started.
Exactly! That's the idea behind the design of how VBox works.
Ross__ wrote:Is any way to solve this ?
Not unless you change the source code and recompile it yourself, AFAIK...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply