Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Allow users to start their own VM without unraid root access

Featured Replies

Hello,

 

I need a way to let users start their own VMs on my unraid server.

 

I don't wish to be bothered again with the "I accidentally shut down my VM can you start it for me coz I don't have access to your Unraid root".

 

Is there any webui that would enable VM start / stop? Or a command line script that I could run on a windows machine that would try in start a VM?

Solved by SimonF

I had this same issue. I used GPIO Group policy   in windows to disable the shutdown command.  The only way you can shutdown is to open command prompt as admin and type shutdown into it. when my users go to the "shutdown area" on the windows button the only option they see is "logoff".  no sleep, restart, or shutdown options. 

 

Between that and the autostart vm, this isnt a problem anymore.  and yes, even if autostart is on, it wont restart the vms automatically. it only does it after startup

Edited by Mad_Scientist

  • Author
20 minutes ago, Mad_Scientist said:

I had this same issue. I used GPIO Group policy   in windows to disable the shutdown command.  The only way you can shutdown is to open command prompt as admin and type shutdown into it. when my users go to the "shutdown area" on the windows button the only option they see is "logoff".  no sleep, restart, or shutdown options. 

 

Between that and the autostart vm, this isnt a problem anymore.  and yes, even if autostart is on, it wont restart the vms automatically. it only does it after startup

 

Yes I did that as well. But now I have a situation where a few different VMs are needed and they are RAM intensive. Thus currently I would like to leave an option to shut down in case the user needs a different VM and wants to have maximum RAM allocated...

 

It would be so nice if Unraid had a "user" gui login that would have limited rights. Say manage VMs, start/stop dockers... But for now I need a work around...

5 minutes ago, Laov said:

 

Yes I did that as well. But now I have a situation where a few different VMs are needed and they are RAM intensive. Thus currently I would like to leave an option to shut down in case the user needs a different VM and wants to have maximum RAM allocated...

 

It would be so nice if Unraid had a "user" gui login that would have limited rights. Say manage VMs, start/stop dockers... But for now I need a work around...

maybe write a script that doesnt it for them. not sure if its possible. 

  • Author

Thanks. This worked well after a bit of confusion setting it up.

There are other ways of scripting this kind of thing if you need it.

Basic outline for one method is...

look for existence of specific file or content in public share

if content exists, start VM and delete said content

 

That way, user can touch file in public share to start VM.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.