[mosh-users] [mosh-devel] Getting started with Mosh

Keith Winstein keithw at MIT.EDU
Mon Apr 9 23:28:18 EDT 2012


That generally means your system is out of tty's (or perhaps you have
some sort of ulimit or other security setting).

Can you successfully log in and run "screen"?

On Mon, Apr 9, 2012 at 11:26 PM, Chason Chaffin
<cchaffin at mediatemple.net> wrote:
> Thanks for the advice. Unfortunately this didn't work.
>
> However, I do think that I have the beginnings of an idea what the
> problem is. I just noticed (why didn't I notice this before??) that
> when I run mosh-server as an unprivileged user in Debian, I get this
> error:
>
> forkpty: No such file or directory
>
> This does not appear when I run mosh-server as sudo. Now, while
> forkpty seems to be a C function, it does not appear to be a file
> anywhere. Does anyone know what might be going with forkpty and how I
> can fix it?
>
> On Mon, Apr 9, 2012 at 8:14 PM, Keith Winstein <keithw at mit.edu> wrote:
>> Hello Chason,
>>
>> I don't have any good leads, but could you try compiling with the
>> system skalibs and see if it makes any difference? That has helped
>> others on Debian stable.
>>
>> $ ./configure --with-skalibs=/usr/lib/skalibs
>> (you'll need the skalibs-dev package installed)
>>
>> Best of luck,
>> Keith
>>
>> On Mon, Apr 9, 2012 at 10:46 PM, Chason Chaffin
>> <cchaffin at mediatemple.net> wrote:
>>> So Mosh looks absolutely amazing, and since I generally work with
>>> several different servers over SSH via a roaming laptop, particularly
>>> useful for me.
>>>
>>> However, I'm having problems getting Mosh working on one of my Debain
>>> 6 servers. I've installed from source (using the git repo), but when I
>>> try and connect from my laptop, mosh never connects. It starts up, but
>>> then says that it goes (Xs without contact.), X obviously being
>>> replaced by how many seconds its been waiting.
>>>
>>> I've tried debugging by doing the processes separately as mentioned on
>>> the webpage, but it does the same thing. Connecting via SSH to this
>>> server with the same credentials works (Its setup to only work with
>>> SSH keys). I don't believe there is anything on the local network
>>> blocking UDP, as a traceroute using UDP works with no problems, and
>>> mosh works going to my Ubuntu server (that I installed using the PPA)
>>>
>>> Is there anything else I can do to debug this, or does anyone have an
>>> idea of what might be going on?
>>>
>>> Thanks,
>>> Chason
>>> _______________________________________________
>>> mosh-users mailing list
>>> mosh-users at mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/mosh-users
>>> _______________________________________________
>>> mosh-devel mailing list
>>> mosh-devel at mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/mosh-devel


More information about the mosh-users mailing list