Jump to content
jbrodriguez

[Plugin] ControlR

339 posts in this topic Last Reply

Recommended Posts

Odd.

 

I get 'loading' for a sec or two, then it shows the content.

 

Let's chalk it to gremlins in the machine. 😁

Share this post


Link to post

Hi there. I am using unraid v 6.6.6, ControlR v 2018.10.3, and ControlR android app v 4.5.0

 

I have the user account set to only show a single VM with visible, read, and exec checked. All other VMs or Docker containers are blank. When I log into the app on my tablet, however, all Docker containers are visible (though not selectable). Also, all VMs are visible (though not selectable).

 

How do I prevent Docker containers or VMs even being visible when they have not been selected in the plugin UI?

 

I dont need Dockers to be accessible via the app and also want to control which VMs are visible.

Share this post


Link to post

Hi,

 

If visible is unchecked, the docker/vm should not appear.

 

So you're accessing the app with a user other than root and you can see everything.

 

What do you mean by not selectable? That there is no action available ?

 

Can you send me screenshots of :

- The plugin UI (where you marked not visible the docker/vms)

- The docker/vm tabs of the app (as list preferrably)

- The description of the user (it's in the User definition of Unraid itself)

 

PM if you prefer.

Share this post


Link to post

Yes. I am logging in from the Android app using a user I created called "vmuser". I have to utilise the root password as the one for the actual "vmuser" does not find a server.

 

By unselectable, I mean that the VM is listed with the start, edit, and undefine options greyed out.

 

There is also some weirdness going on with checking the various boxes next to a VM in the plugin. If I check a box another previously checked box disappears and another one appears. It is like playing whack-a-mole.

 

As an example I just removed all check marks. When I check "Visible" for a VM "Read" also is checked. When I then check "Exec" it stays checked for a few seconds then becomes unchecked. If I then go to another VM and check "Visible" it stays checked for a second or so then becomes unchecked. However, the "Exec" which I had previously checked, which went unchecked, now becomes checked.

 

I am using Chrome v 71.0.3578.98.

 

On the Android device, I would like to only have displayed a "Start" and "Stop" button for whatever VMs I want to be selected. I am intending to use your app as an interface to start whatever VM I want onto my monitors. So whilst I have a bunch of VMs I dont need to have shown on the app as starting them doesn't do anything because they don't have GPU pass-throughs.

 

For example, when I am no longer using my desktop VM I want to shut it down and turn off the monitors. When I do want to use it again I can start whichever VM I want to utilise using the Android app. Which means only VMs with GPU passthroughs.

 

The description changes every time I make alterations in the plugin as well.

Screenshot_2019-01-31-10-33-36.png

plugin.png

Screenshot_2019-01-31-10-38-08 dockers.png

vmuser.png

Edited by darrenyorston
spelling

Share this post


Link to post

Thanks a lot for the info darrenyorston.

 

With regards to apps showing as unselectable, it was a design decision I made when I implemented the feature.

 

The idea was that you could 'taunt' the non-root users and tell them ... look! look at all the apps you're missing out on, since you're not root 😁 😁 😁 !

 

Joking aside, I can't remember why I decided to show the docker/vm as non selectable, even if marked as not visible.

 

I've fixed this behavior in my dev environment. If Visible is not checked, the app won't appear.

 

I'm waiting for 6.7.0 stable to release a new version (which should be 'any time now' (tm) 😁).

 

As for the whack-a-mole, that's mostly for consistency.

 

I can see only three scenarios in which the plugin checks a box under the hood:

 

- user checks VISIBLE -> plugin checks READ

- user un-checks VISIBLE -> plugin un-checks all the rest

- user un-checks READ -> plugin un-checks all the rest

 

There's probably a couple automations I've missed, but it seems to work consistently for now.

 

 

Share this post


Link to post

v2019-02-08 - 2.15.0 is out !


- Add support for 6.7.x

 

This should also fix the issue mentioned by darrenyorston !

Share this post


Link to post

If I have a user setup in unraid and the same configured in the ControlR settings to be allowed to VIEW, READ and EXEC a specific VM or Docker that exact using should see that VM and or Docker in the android app, right? I am a bit confused right now. I had the user root conected before and all showed up. As soon as i use another user, none of the Docker or VMs are shown. Did i miss something?

 

Currently on 6.7.0 RC3 and the newest Android app version 4.7.0

Share this post


Link to post
39 minutes ago, bastl said:

As soon as i use another user, none of the Docker or VMs are shown

Can you double check that in the ControlR settings the Visible checkbox is checked for that user/dockers/vms ?

Share this post


Link to post

ControlR1.thumb.jpg.77bf8e89bce4862cc705f00af9ef6942.jpg

Screenshot_20190210-195640.thumb.png.093175b7367eaba2a1e86e026c9a816e.pngScreenshot_20190210-200319.thumb.png.8695399506a2f9a23fd67263a6f2c8c5.pngScreenshot_20190210-195954.thumb.png.28aa5a877ad9b2cf3154b55f95048a5b.png

 

Visible is checked for that user and as you can see on the android app no docker or VMs are shown. @jbrodriguez

Share this post


Link to post

for some reason if i try to set the refresh timer on this is just locks the app up

 

Share this post


Link to post

Regarding bastl issues, we identified a couple of issues with the plugin.

 

I'm making some adjustments that should be ready soon, most likely will wait for 6.7.x stable to release a new plugin version.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now