A
A
Anton Piskunov2016-06-30 06:36:08
css
Anton Piskunov, 2016-06-30 06:36:08

There is a virtualka on KVM. There is a browser. What technologies are needed to forward the console from the first to the second?

Hello.
I would like to have a web console for KVM machines.
HTML / CSS / JS is all garbage and understandable.
The main question is how to receive data from the server, incl. utilities such as htop; and how to send data from the browser to KVM.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2016-06-30
@bingo347

if you have time and desire to figure it out: study the console special characters and write a wrapper for node.js+socket.io, primitively implemented in 2-3
days stdout and stderr are redirected to the browser via the socket and parsed and displayed there
. Also, if you need root access, then it is better to run the node process from root

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question