Installation/missing terminal window?

Asked by badnews

Hello, this looks like a very interesting project. I've just downloaded and built everything and ran the eftw_tornado.py file. However when I visit the site in the browser I see no terminal window (although background graphic is visible).. I'm guessing there is some major configuration step that I have missed? :-)

Cheers

Question information

Language:
English Edit question
Status:
Solved
For:
Escape From The Web Edit question
Assignee:
No assignee Edit question
Solved by:
badnews
Solved:
Last query:
Last reply:
Revision history for this message
Disp (daniel-cooper-ro) said :
#1

I had a simliar problem when I was using either Google Chromium or Safari to browse to EFTW. When I used FireFox 3.5.7 it worked without a problem.

As for you worrying about missing a configuration step, EFTW comes preconfigured to run one of the following:

1) If eftw is running as root, then it will run: /bin/login
2) Otherwise it will ssh to localhost (and it will ask you for the username).

This can be seen in the 'create' method of the Multiplex object in etfw.py.

There is actually a 3rd option, where in theory you could get etfw to run any shell command you want by passing the keyword argument cmd='<command>' to the Multiplex object when it is instantiated, however the ETFW guys have not yet provided a nice way of doing that. You have to modify the new_terminal method on the EFTWUpdatesHandler object in tornado_eftw.py.

Oh, and make sure you are browsing to https:// not http://.

I hope this helps.
Daniel

Revision history for this message
badnews (badnews-zenbe) said :
#2

Daniel, you are exactly right.. I was trying it in Chrome (and also IE8) but didn't think to try Firefox! Seems to work fine. Thanks for the heads up.