Ubuntu – Connection failed on Ubuntu using x2go

12.04aptx2go

Hello I encountered on my x2go when trying to remote the ubuntu server

**Connection Failed.** perl:warning: Setting locale failed. perl:warning Please check that your locale settings: LANGUAGE = "en_US", LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your machine system. Falling back to the standard locale ("C").

Best Answer

Apply this to your host(connected to) machine:

To resolve this warning or install new install with local-gen data localizations of default which in this case are precisely en_US.UTF8 .

sudo locale-gen  en_US.UTF-8 

To install / reinstall well as en_US.UTF-8 :

sudo locale-gen  en en_US  en_US.UTF-8

Then apply the changes with dpkg-reconfigure locales

sudo dpkg-reconfigure locales

Then

export LC_ALL = "en_US"

Now try to connect again

Related Question