Size: 1122
Comment:
|
← Revision 6 as of 2021-05-05 06:12:41 ⇥
Size: 1394
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= SSH connections from Mac starts with errors similar to "locale name not valid" = | #rev 2020-09-08 stroth #rev 2018-10-30 stroth |
Line 3: | Line 4: |
Please check the properties of your Terminal. Uncheck "Set locale environment variables on startup" | = Locale settings forwarded with SSH connections on Macs = As a default setting, the [[https://wiki.debian.org/Locale|locale settings]] are forwarded by the default terminal application called ''Terminal.app'' on macOS. This may result in error messages similar to the following after login: |
Line 5: | Line 7: |
{{attachment:locale_error.png}} == Example of the error message: == |
{{{ |
Line 33: | Line 33: |
}}} To change this behaviour uncheck "Set locale environment variables on startup" as shown in the screenshot below: {{attachment:locale_error.png}} ---- [[CategoryEDUC]] |
Locale settings forwarded with SSH connections on Macs
As a default setting, the locale settings are forwarded by the default terminal application called Terminal.app on macOS. This may result in error messages similar to the following after login:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). * This account expires in 169 days. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). All The News That's New -- 7572 * No new messages * Type "atntn --old" to review previous messages * For other helpful informations check http://computing.ee.ethz.ch/ * System Status Information: http://computing.ee.ethz.ch/Status
To change this behaviour uncheck "Set locale environment variables on startup" as shown in the screenshot below: