Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

native engine expose VNC server, if enabled #324

Open
jonasfj opened this issue Nov 21, 2017 · 0 comments
Open

native engine expose VNC server, if enabled #324

jonasfj opened this issue Nov 21, 2017 · 0 comments

Comments

@jonasfj
Copy link
Contributor

jonasfj commented Nov 21, 2017

Let's add a configuration option to the native engine.. Such that it can be configured to connect to a VNC server on localhost and use this to expose display.

This way when installing tc-worker with native engine you just need to install a VNC server on localhost and set the engine configuration to use it, and enable the interactive plugin, then you have interactive display.

The implementation is rather easy... just returns a list of zero or one display, the VNC testing code already contains logic to extract screen resolution which could be reused, or this feature could be omitted since it's not critical. Then the actual thing is returning a pipe from OpenDisplay and copy from the pipe to a connection to the vnc server on localhost.

Note: this requires installing a vnc server on localhost, but it's a nice way to do it, as such vnc servers are readily available on most platforms. There might be some things to consider with respect to the per-task user feature...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant