Jump to content

Any way to allow kids to power on/of their own VMs?


Rob SFO

Recommended Posts

I have built a multi-user system (dedicated GPUs to VMs, running long HDMI/USB cables under the house to my kids rooms).

 

Is there an easy way to provide VM power on/off access to my kids, but only to their own VMs?  

Ideally via an iOS app, or possibly by using some type of HTTP call?

I don't want to expose the server to them, and I don't want them to be able to access other VMs.  So I don't think an app like ControlR would work?

 

Has anyone run across a way to accomplish this? 

 

Thanks!

Rob

Link to comment

Multiple ways of scripting this, with varying degrees of difficulty and security.

 

Bottom line, you can start any VM with a console command, how you trigger that command is the interesting part.

 

virsh start <vmname>

 

You could write a user script that checks for the presence of a specific file on a specific share, and when it finds the file, starts the VM and deletes the file. That way you could use an SMB client on the phone to push a small file which would trigger the VM start.

 

You could also directly send the ssh command from the phone, but that would be more complicated on the phone end and less secure.

 

ControlR may have implemented limited users at some point, I don't know.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...