Git Product home page Git Product logo

Comments (12)

krishnasrinivas avatar krishnasrinivas commented on May 28, 2024

What server are you running wetty on (linux/mac)? what is the node version? what is the command used to start wetty?

from wetty.

alexmwu avatar alexmwu commented on May 28, 2024

tried on OSX 10.10.2 and Amazon AMI with the same command:
sudo node app.js -p 3000
Running v0.12.2 and v0.10.36, respectively.
The ec2 instance just shows a blank black terminal with the red cursor, but OSX also gives an error: exevp(3) failed.: No such file or directory

from wetty.

LaKing avatar LaKing commented on May 28, 2024

Same here with fedora 22, ...

When starting as root, I only get the red cursor, and this error message, ...

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 28, 2024

Let me check with a fedora 22

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 28, 2024

@LaKing you get this error only as root? what about as a regular user? when you execute it as root it tries to execute /bin/login - can you see if /bin/login exists?

@alexmwu are you executing as root or a regular user? if you are root /bin/login should exist, if you are a regular user 'ssh' needs to be in path.

from wetty.

LaKing avatar LaKing commented on May 28, 2024

As regular user on a normal system, I can run wetty fine.
I updated my fedora system, and now it seems I can run it as root with a normal root login.

On a fedora that has not been updated in the last two weeks, it produces this problem with normal root login. It also produces these results with error messages when running via sudo, even with the latest updates.

All systems run node v 0.10.36 - so, as far as I see this is not related to node, but the underlying OS.

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 28, 2024

@LaKing ah, ok.
@alexmwu i see that you are using sudo. Can you check if /bin/login exists on mac?

from wetty.

alexmwu avatar alexmwu commented on May 28, 2024

On OSX, running as a regular user gives a Connection refused error on wetty.

There is no /bin/login on mac. There is, however, /usr/bin/login. Also, above, what do you mean by 'ssh' needs to be in the path? Do you mean sshd?

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 28, 2024

In that case in app.js just replace /bin/login with /usr/bin/login
'Connection refused' indicates ssh is in the path, but sshd server is not running on your mac.

from wetty.

alexmwu avatar alexmwu commented on May 28, 2024

Hey, thanks a lot. This works now. I still need to run with sudo, however. Otherwise, I still get a Connection refused error. Both ssh and sshd are in the path. Any ideas on that?

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 28, 2024

you can google for "how to start ssh server on mac" - that should fix your "connection refused" problem

from wetty.

kotamahesh avatar kotamahesh commented on May 28, 2024

how to set ssh path and can we provide default root login without user credientials ???like user name and password .using ssh keys

from wetty.

Related Issues (20)

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.