Kaya84 / remotesupport

GLPI Plugin for direct VNC connection inside ticket
8 stars 2 forks source link

Non fonctionnel #1

Closed jcovillers78114 closed 2 years ago

jcovillers78114 commented 2 years ago

Bonjour, Ce plugin semble très intéressant mais n'est pas du ton fonctionnel.

Kaya84 commented 2 years ago

Can you tell me more about? Screenshot? Logs? Describe more please

Kaya84 commented 2 years ago

Try now. I think is fixed 1) Wrong project name (uppercase) 2) I didn't commented out something related the main class that I'm still working on

brusilva84 commented 2 years ago

yeah it's fixed.

Would be nice if we can set multiple protocols and the url set's acording to each one.

Made a pull with a fix.

jcovillers78114 commented 2 years ago

Hi, Doesn't work anymore. Now I don't have access to the list of plugins

(glpi 9.5.2)

image

Kaya84 commented 2 years ago

There was an error from branch merge. Seems fixed now. Can u check?

jcovillers78114 commented 2 years ago

I was able to install the plugin. I created the .bat file I added the registry key. I rebooted my computer.

The button is displayed correctly but when I click on it nothing happens.

jcovillers78114 commented 2 years ago

I also have 2 new links (not translated) that appear on the post form but do not give anything if you click on them

image

Kaya84 commented 2 years ago

"Collegati con VNC" is like "Connect with VNC": does it work? If both doesn't work, it seems regedit related: can you post a screen of the regedit detail in VNC root?

jcovillers78114 commented 2 years ago

I add this

image

But I probably made a mistake because there is nothing in the register

image

Kaya84 commented 2 years ago

Do it inside regedit. I see you didn't escape '\' correctly.

Kaya84 commented 2 years ago

PS: obviously inside "command" folder

jcovillers78114 commented 2 years ago

Sorry but it doesn't work. I think there is a problem with the registry key.

image

Kaya84 commented 2 years ago

You'r right. I fixed Readme now. immagine

jcovillers78114 commented 2 years ago

Ok it's works now but only with button

image

If I wanna use the link "" on computer tab there is an error

image

it looks like the script called by the link is different from the one for the button and adds the entity to the VNC name

Kaya84 commented 2 years ago

What's the computer name? Ths plugin take the computer name and use it as VNC param. If you have space in the computer name, it can't work (and DNS system can't do lookup to). Try rename the item and check inside DNS.

jcovillers78114 commented 2 years ago

computerTest is the name

That's work with the button on the ticket but not with the link "Collegati con VNC" on computer tab

image

jcovillers78114 commented 2 years ago

Bug on this (support.js)

name = $(".navigationheader").find("span").first().text().trim();

Seem that not retrieve only the name "computerTest" in the span header but all the span

image

Kaya84 commented 2 years ago

Right. Didn't think this case. I made (and commit) a quick fix in support.js: name = $(".navigationheader").find("span").first().text().split(" ")[0].trim();

Will be better when I will integrate like tickets page

jcovillers78114 commented 2 years ago

Ok That's working now :) Link and button