Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
connecting to MoSH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
superbrain666
n00b
n00b


Joined: 14 Apr 2005
Posts: 43
Location: Gentoo, Tübingen, Germany, World

PostPosted: Sat Oct 13, 2012 8:05 am    Post subject: connecting to MoSH Reply with quote

I have trouble connecting with mosh to my server.
I am getting:
Quote:

The locale requested by LC_CTYPE=UTF-8 isn't available here.
Running `locale-gen UTF-8' may be necessary.

mosh-server needs a UTF-8 native locale to run.

Unfortunately, the local environment ([no charset variables]) specifies
the character set "US-ASCII",

The client-supplied environment (LC_CTYPE=UTF-8) specifies
the character set "US-ASCII".

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=
LC_CTYPE=UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


but my locale is set to UTF8:

Code:
 cat /etc/env.d/02locale

Quote:

LANG="de_DE.UTF-8"
LC_COLLATE="C"


adding to .bash_profile
Quote:
export LANG="de_DE.UTF-8"
export LC_COLLATE="C"


but still getting
Code:

ssh remote locale


Quote:
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


What am i doing wrong?
Back to top
View user's profile Send private message
jormartr
Apprentice
Apprentice


Joined: 02 Jan 2008
Posts: 174

PostPosted: Thu Oct 18, 2012 11:24 am    Post subject: Reply with quote

I don't remember why I did this, but on the client machine, which connects to mosh, I have on .bashrc

Code:

        export LANG=es_ES.UTF-8
        export LC_CTYPE="es_ES.UTF-8"
        export LC_NUMERIC=es_ES
        export LC_TIME=es_ES
        export LC_COLLATE="es_ES.UTF-8"
        export LC_MONETARY=es_ES
        export LC_MESSAGES=es_ES
        export LC_PAPER=es_ES
        export LC_NAME=es_ES
        export LC_ADDRESS=es_ES
        export LC_TELEPHONE=es_ES
        export LC_MEASUREMENT=es_ES
        export LC_IDENTIFICATION=es_ES
        export LC_ALL=
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum