How to embed DCV window while using DCV Connection Gateway

0

We want to embed the DCV window in an iframe: https://docs.aws.amazon.com/dcv/latest/adminguide/embed-in-iframe.html

I followed the instructions and modified the /etc/dcv/dcv.conf on the linux gateway machine as specified.
Restarted dcv and dcv-connection-gateway services.
I also modified the DCV server registry on the windows machine (DCV Server) and restarted the dcvserver service.
Neither of these worked.

I am wondering if the gateway ignores those?
Can this be set for DCV Connection Gateway?
If so, where should it be set

demandé il y a 4 mois184 vues
2 réponses
0

The link you shared is for server only and not gateway.

I have never done this before but it reads that these settings are for the servers you’re accessing only.

You then embed the servers your wanting to connect to using the iframe method into your own page.

Can you confirm you have set the server_host name value correctly? I think this would need setting to the site of the page where the iframe has been embedded as it’s going to be CORS related.

profile picture
EXPERT
répondu il y a 4 mois
0

The gateway will supersedes any of the header settings you applied to DCV server since the client connects to the gateway first. For a session to render in an iframe and stream through the gateway, you will need to add the following line under [web-resources] in the dcv-connection-gateway.conf.

local-resources-http-headers={"Content-Security-Policy"="frame-ancestors *.DOMAIN.com"}

Note that this is not currently documented. I will update the parameter and iframe documentation respectively.

profile pictureAWS
répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions