I downloaded the src and looked into the code of apps below:

I decide to use https://github.com/jcubic/jquery.terminal.
It supports command history, try http://terminal.jcubic.pl/#demo.

I think the license(Licensed under GNU LGPL Version 3 license) is ok.


I will create a javascript interpreter which talk with the kimchi web socket at server side.

Serial Console will requires login, let us discuss how the session(login token) to be reserved across browser, web socket, serial console.

---------------
http://code.google.com/p/shellinabox/
http://shellinabox.com/index-old.html
----------------
http://www.web-console.org/
https://github.com/nickola/web-console
----------------
https://github.com/jcubic/jquery.terminal
-----------------
http://www.unixmen.com/ajaxterm-a-web-based-terminal-that-help-you-use-ssh-from-a-web-browser/
http://antony.lesuisse.org/software/ajaxterm/

On 10/23/2014 5:52 PM, Yu Xin Huo wrote:
backend:
    1. server side need to provide a websocket url for UI to connect, some parameter is needed to identify the guest.
    2. the websocket receive linux command from client and pass to guest serial console through API provided by qemu/libvirt/virsh.
        also get output from guest serial console and send back to UI to display as command result.

fontend:
    1. a html show a console like text box for input.
    2. connect to websocket url when loaded.
    3. accept user input and send out to websocket.
    4. accept websocket message and display in the text box.

I failed to get below to work today, I will continue to try tomorrow. I think it is easy to write such a html command line tool if we can not get one that work well.
    https://github.com/chjj/term.js


On 10/21/2014 9:17 PM, Crístian Viana wrote:
On 21-10-2014 06:56, Yu Xin Huo wrote:
Below are quite promising.

http://www.unixmen.com/ajaxterm-a-web-based-terminal-that-help-you-use-ssh-from-a-web-browser/

http://www.web-console.org/

http://www.tecmint.com/shell-in-a-box-a-web-based-ssh-terminal-to-access-remote-linux-servers/
http://xmodulo.com/access-ssh-terminal-web-browser-linux.html

http://www.unixmen.com/keybox-web-based-ssh-console-manage-multiple-ssh-sessions-simultaneously/

Those apps look nice, but is there a supported/easy way to integrate them to Kimchi? As far as I could tell, those apps are meant to run on their own services only.


_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel