You are not logged in.

#1 2016-01-13 07:04

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Error: X2go perl:warning LANG=en_US.UTF-8

Below image is of error that will not let me connect to a local q4os computer running x2go-server.

1. I verified x2go-server is running --  # service --status-all   --> [ + ]  x2goserver

2. Static IP is set for etho (see attached file for actual net-ip configuration).

3. x2go client is set:  Session Type: custom desktop  Command: start-q4os-x2go

4.  I manually set the locale ---> sudo locale-gen en_US.UTF-8  (did not fix issue)

4. Login --> ERROR=

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

-------------------------------

$ service x2goserv]er status --->

x2goserver.service - LSB: Start and stop the X2Go daemon
   Loaded: loaded (/etc/init.d/x2goserver)
   Active: active (running) since Tue 2016-01-12 21:04:20 PST; 1h 7min ago
  Process: 387 ExecStart=/etc/init.d/x2goserver start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/x2goserver.service
           └─436 /usr/bin/perl /usr/sbin/x2gocleansessions

Jan 12 21:04:17 q4osappserv x2goserver[387]: Cleaning up stale X2Go sessions..
Jan 12 21:04:18 q4osappserv x2goserver[387]: perl: warning: Setting locale failed.
Jan 12 21:04:18 q4osappserv x2goserver[387]: perl: warning: Please check that your locale settings:
Jan 12 21:04:18 q4osappserv x2goserver[387]: LANGUAGE = (unset),
Jan 12 21:04:18 q4osappserv x2goserver[387]: LC_ALL = (unset),
Jan 12 21:04:18 q4osappserv x2goserver[387]: LANG = "en_US.UTF-8"
Jan 12 21:04:18 q4osappserv x2goserver[387]: are supported and installed on your system.
Jan 12 21:04:18 q4osappserv x2goserver[387]: perl: warning: Falling back to the standard locale ("C").

-----------------------------
$ locale

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

5x3go-error.jpg

1x2go-client-session.jpg

2x3go-client-session2.jpg

3x3go-client-session4.jpg

4x2go-error.jpg

Last edited by bobby (2016-01-13 07:23)


Attachments:
fixed0-ip-eth0, Size: 275 B, Downloads: 1,004

No Longer Using Q4OS

Offline

#2 2016-01-13 10:11

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

We are not able to reproduce on fresh server and client installation, we can establish X2Go sessions flawlessly. It seems your locale settings are messed up, we will try to assist you to solve the issue.

Run on your X2Go server machine:
$ cat /etc/default/locale
$ chqloc --list
and put messages here.

Questions:
- Which medium did you install server machine from, live or install CD ?
- Which language did you select during install ?

Finally try a fix:
$ sudo dpkg-reconfigure locales
select 'en_US.UTF-8' and then set 'en_US.UTF-8' as default.

Offline

#3 2016-01-13 17:18

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

Q4OS Team,  Thank You.  Will do these steps listed above and let you know what happens.

Bobby


No Longer Using Q4OS

Offline

#4 2016-01-13 20:34

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

UPDATE EDIT:  For absolute clarification - THE PROBLEM IS WITH MY COMPUTER and NOT with Q4OS 1.4.4 or 1.4.5.

4OS Team,  It works with v 1.4.4 running X2go-server but, not on v1.4.5 running X2go-server on m i386 Pentium 4 computer.

I will go back and test the v1.4.5 X2go server install to see why it will not connect and post here my findings.

So anyone can do remote desktop support for Q4OS users with X2go over the internet ?  THAT'S AWESOME STUFF !!!

Last edited by bobby (2016-01-13 23:33)


No Longer Using Q4OS

Offline

#5 2016-01-13 20:45

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

It is not related to Q4OS version. We do X2Go remote computing on 1.4.5 flawlessly. If you want to solve your issue, follow our advice above, step by step please. http://www.q4os.org/forum/viewtopic.php?pid=1139#p1139

Offline

#6 2016-01-13 20:47

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

Will do.  Thanks,


No Longer Using Q4OS

Offline

#7 2016-03-06 06:05

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

Locale Error upon Updating "Full Profile" on new install.  The only changes I made to this new Q4OS LiveCD v. 1.4.7 install was "apt-get update" prior to Full Desktop Profile update

As mentioned above I had an issued of perl error & Locale not being set properly (if that is correct way of describing how Locale settings).

Tonight I had this same "Perl" + "Locale Error" on  same x64 laptop.

This is the error thate I noticed as the Profile installed "Full Desktop"

This has happened with V. 1.4.4, V. 1.4.5 and V. 1.4.7

Below Error repeated a few times. Attached is complete Desktop Profile install log with errors:

 The following packages will be upgraded:
libav-tools libc6 perl perl-base perl-modules
5 upgraded, 543 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/349 MB of archives.
After this operation, 1023 MB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

No Longer Using Q4OS

Offline

#8 2016-03-06 06:12

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

Updated:$ reportq4  locate at this link.. http://xplinux.com/downloads/qreport.tar.gz 

Locale Error upon Updating "Full Profile" on new install.  The only changes I made to this new Q4OS LiveCD v. 1.4.7 install was "apt-get update" prior to Full Desktop Profile update

As mentioned above I had an issued of perl error & Locale not being set properly (if that is correct way of describing how Locale settings).

Tonight I had this same "Perl" + "Locale Error" on  same x64 laptop.

This is the error thate I noticed as the Profile installed "Full Desktop"

This has happened with V. 1.4.4, V. 1.4.5 and V. 1.4.7

Below Error repeated a few times. Link to full Desktop Profile Install Log (could not attache attach as 487kb is too large)

http://xplinux.com/downloads/perl_lang_c_error.txt

 The following packages will be upgraded:
libav-tools libc6 perl perl-base perl-modules
5 upgraded, 543 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/349 MB of archives.
After this operation, 1023 MB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Last edited by bobby (2016-03-06 06:50)


No Longer Using Q4OS

Offline

#9 2016-03-07 12:36

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

Try to install 'locales' package:
$ sudo apt-get install locales
reboot and report here, please.

Offline

#10 2016-03-07 17:23

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

@Q4OS Team,   "$ sudo apt-get install locales" removed "Perl" + "LANG_C" error. - THANK YOU !


Error concerning Fonts was not fixed Font Error showed in Terminal when I uninstalled an app.

Fontconfig warning: "~/.config/fontconfig/fonts_q4os.conf", line 19: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "~/.config/fontconfig/fonts_q4os.conf", line 72: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "~/.config/fontconfig/fonts_q4os.conf", line 103: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "~/.config/fontconfig/fonts_q4os.conf", line 125: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "~/.config/fontconfig/fonts_q4os.conf", line 210: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "~/.config/fontconfig/fonts_q4os.conf", line 298: Having multiple values in <test> isn't supported and may not work as expected

No Longer Using Q4OS

Offline

#11 2016-03-07 19:12

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

bobby wrote:

... Error concerning Fonts was not fixed ... Font Error showed in Terminal when I uninstalled an app....

You can safely ignore this warning. It's known Q4OS glitch already on todo list.

Offline

#12 2016-03-07 19:27

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

@Q4OS Team,

Thanks Again.

Bobby


No Longer Using Q4OS

Offline

#13 2016-03-08 08:27

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

bobby wrote:

... I had an issued of perl error & Locale not being set properly ... This has happened with V. 1.4.4, V. 1.4.5 and V. 1.4.7 ...

Bobby, This issue seems to be a serious one, unfortunately we are not able to reproduce it. Please specify exact way for us to reproduce. We would need any related specific hints, please report, if possible.

Offline

#14 2016-03-08 08:56

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

Hi Q4OS Team,

Only seems to be the LiveCD installed version on my Intel x64 Dual Core 2.2 Ghz emachines laptop that produces the Perl + LANG_C / Locales error.  It occurred on a fresh install with V. 1.4.7 when I used the Profiler to install "Full Desktop".   Both "Perl" & "LANG_C" errors occurred a few times during the upgrade to "Desktop Profile".   

This below link is the log file for the upgrade from "Pure" to "Desktop" Profile on intel x64 installing LiveCD V.1.4.7 that shows errors:  (Can't upload it, as Forum upload Settings set below 147KB)

http://xplinux.com/downloads/perl_lang_c_error.txt

I never saw the these errors in a Profile upgrade until I started using LiveCD v. 1.4.7.  Errors on 1.4.4 and 1.4.5 did not happen on Profile Upgrade. 

I hope that helps. 

Also, I have another X64 Computer with an AMD chip that I can perform same LiveCD V. 14.7 + "Pure to Desktop Profile" upgrade to see if I get same errors or not.

Just let me know if you think testing on AMD x64 could possibly help isolated issue.

Thanks,

Bobby


No Longer Using Q4OS

Offline

#15 2016-03-08 09:10

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

bobby wrote:

Errors on 1.4.4 and 1.4.5 did not happen on Profile Upgrade.

Nevertheless probably the same glitch, missing 'locales' package.

bobby wrote:

Just let me know if you think testing on AMD x64 could possibly help isolated issue.

Yes, would be very helpful. We have tried number of different installations in Virtualbox as well as on real HW, but still unable to reproduce.

Two questions:
Do we understand well, it arises only on your specific machine 'Intel x64 Dual Core 2.2 Ghz laptop' ?
Is it reproducible on every new installation ?

If you are able to reproduce each time, it would be very helpful for us to get the installation log. You would run Q4OS installation from the live CD in terminal this way:
$ ( sudo live-installer 2>&1 ) > liveinstall.log
then boot to the installed system, select 'Pure' profile and run:
$ reportq4
$ dpkg -s locales > localesdpkg.log
and send generated 'liveinstall.log', 'qreport.tar.gz' and 'localesdpkg.log' files to support@q4os.org or attach here.
then you can install 'Full' profile and see, if 'locales' warnings arise again.

The reason of the glitch is probably accidental removal of 'locales' package during Q4OS installation or some post-install process.

Thank you for your help.

Offline

#16 2016-03-08 19:57

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Error: X2go perl:warning LANG=en_US.UTF-8

@Q4OS Team,

Will do above install, log and report generation per your instructions on a  Intel x64, i386 and AMD x64 tomorrow and send all reports to Team

Bobby


No Longer Using Q4OS

Offline

Board footer

Powered by FluxBB