Giter Club home page Giter Club logo

cloudterm's People

Contributors

liudonghua123 avatar rahmanusta avatar xarrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cloudterm's Issues

Issues In different browsers

On Microsoft Edge,
I am facing problem when connecting

image

After a couple of force refresh, its started working

image

I am also facing the same problem in Google Chrome.

Also, in Firefox, the terminal is not appearing.

Kindly help me with this issue.

url context path not supported - works only if deployed at root path /

hi,
thank you. nice piece of work !

i think i found 1 bug on this line (main branch)

let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}/${terminal`);

this is my patch to work when the app is not deployed at the root path (e.g. /cloudterm/, /cloudtem/terminal)

 let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}${location.pathname}terminal`);

i think the solution should be something robust to support the context path

regards

Issue in `pty.waitFor() `

Hi , i think process.waitFor() in TerminalService#initializeProcess is not necessary . In Pty4j official example, it shows wait until the PTY child process terminates.... This code may be only work in a none web application, it will exit after executing ,so they need to block the thread for input/output action.

So, i am not sure whether process.waitFor() in TerminalService#initializeProcess is necessary. I try to remove it and program not affected.

Cloud Web Terminal running in Tomcat

Could you help me please open the terminal page when deployed in Tomcat?
I know the best way to run the cloudterm is standalone way from JAR, but I have no permissions for that in my Server, so I need run in Tomcat

This is my scenario was tried:

  • I change the "packaging" pom.xml option to war;
  • Change the "java.version" pom.xml option to 1.8;
  • Run the tomcat 8.0.52;
  • Deploy the cloudterm.war by Tomcat manager app;
  • I try access the terminal in browser: http://localhost:8080/cloudterm/
  • The expected terminal page is not showing, just the "HTTP Status 404"

Issue with hterm.js, in `959a176466ad6dbeced12b019e9fa5b4a08056d2`

In the latest pull (959a176), it's not rendering anything:

properties of undefined (reading 'style')
    at hterm.ScrollPort.setBackgroundColor (hterm.js:9380:18)
    at hterm.Terminal.setBackgroundColor (hterm.js:10908:22)
    at background-color (hterm.js:10571:22)
    at lib.PreferenceManager.notifyChange_ (hterm.js:2120:28)
    at lib.PreferenceManager.notifyAll (hterm.js:2100:14)
    at hterm.Terminal.<anonymous> (hterm.js:10848:21)
hterm.ScrollPort.setBackgroundC

Here is a snap:

image

Maybe I can try to fix it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.