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.

Possible? Headless UnRaid + VM Scripting

Featured Replies

tl:dr

Is it possible to run UnRaid Headless (yes) but also with a Linux VM also headless? (accessible through screen sharing on Mac for instance). A VM that runs scripts periodically on the shares it has access to.

 

-----------------------------------------------------------------------------

 

Hi! I'm a new user, just registered to see if you guys can shed some light into my doubts.

I own three PCs, one personal and the other two are for work (I'm self employed). I work with very large files, some might be just 1GB, but others can go up to 100GB.

 

For now I've been working with external drives and network sharing between PCs, but recently I started to need to backup some stuff and external drives just don't cut it.

Some weeks ago I renewed one of my systems, so I thought of putting the old one to use with UnRaid. Specs: Ryzen 7 1700, AsRock AB350m Pro4, 16GB GSkill memory, one SSD and one 2TB mechanical drive (WD blue).

 

I downloaded UnRaid, activated my trial period, and started using it. I only have one drive yes, but this is just a test to see if I can fit it in my workflow, and mainly, if it's stable for my needs. If I end up deciding I want to keep it, I'll buy 4 WD Red and set it up properly. For now I don't store anything critical in it.

 

It's been working great these last days, stable and always showing up (I had to add a line of code to the go file, regarding c-states, but everything OK after that).

So now I'm wondering if I could have this PC to do more stuff. I'd like to know if I can run an Ubuntu VM (I know that can be done), but completely headless. Just accessing it through screen sharing using one of my other computers in case I need to do something with it. The idea is to leave it be 24/7 doing it's work.

 

The work I want this VM to do is run scripts. Scripts which check if certain folders have files, in which case the script will call other scripts to perform actions on these files depending on what they are. Not gonna get into specifics here since this isn't the question.

 

So... could this be done? Could I have the UnRaid Server + VM completely headless and just access it whenever I need to -for instance- add a new script for a new project?

Thank you very much!

Edited by Robot

  • Community Expert

There is no problem running VMs without a GPU.    KVM will emulate a GPU if you do not assign a physical one and this can be accessed using VNC built-in at the Unraid level.    This is how I run all my VMs as my Unraid hardware does not support passing a GPU through to a VM.  If you want better graphics performance then installing something like Remote Desktop inside the VM can give this.

  • Community Expert

Sure, just SSH or VNC into the VM

 

Capture4.JPG.4f9d0b7175d1a727c0937087bdc8e14e.JPG

  • Author

Hi. Thanks for the responses, it's good to know!

I don't need dedicated GPU, I just need the system to perform some work on the files. For instance I need to run ffmpeg on some of the files prior to handling them to clients.

 

Example scenario: I leave my laptop copying something to the unRAID server, when done, I go to sleep.

Then at night, the VM would run a script checking if there are new files in X folder, run some scripts on them and put the results in another share, which is synced with a Google Drive for instance.

The next morning I'd just need to send the link of the files to the client.

 

That's my idea anyways, I guess this can be easily done :)

  • Community Expert

Do not see any problem.

 

i would suggest you enable the Unraid VM sub-system (if it is not already running) and just try setting up the sort of VM you want so you can see how easy it is.

 

 

  • Author

Great, thank you!

Archived

This topic is now archived and is closed to further replies.

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.