News for hackers. Stuff that matters.
Re:.NET on Linux – bye, Windows 10 by jodrellblank on Tuesday October 18, 2016 @01:51AM (#12732408)
I think the real problem is that the Right Way(tm) to do things is completely non obvious to a linux novice.

I can't see Unicode characters properly over SSH, because it claims my locale is "POSIX". I'd like to fix it the right way, is it:

http://askubuntu.com/questions/162391/how-do-i-fix-my-locale...

- locale-gen; dpkg-reconfigure locales, with 293 upvotes and 96 "didn't work for me"

- setting the environment variables in /etc/environment, with 225 upvotes

- setting them in /etc/default/locale, with 70 upvotes

- exporting them from .bashrc on a per-user basis, with 70 upvotes

- editing ssh_config and removing the option to SendEnv, with 53 upvotes

- Install the language-pack-en-base, 23 upvotes

- exporting environment variables from /etc/bash.bashrc, on a system-wide basis, 9 upvotes

- exporting them from /etc/profile or .bash_profile, for 6 upvotes

OR

http://askubuntu.com/questions/770309/cannot-permanently-cha...

- localectl set-locale, from systemd

OR

http://serverfault.com/questions/626346/ssh-locale-wrong

- UsePAM directive in sshd_config, which turns on Pluggable Authentication Modules and in a sneaky and ridiculous rider, also turns on 'session module processing for all authentication types', and disable locale setting if you disable PAM

OR

https://serverfault.com/questions/475925/how-to-fix-putty-sh...

- change /etc/pam.d to make the pam_lsass.so 'optional' instead of 'sufficient'

How many of those are 'obvious' to an expert?

There are no comments on this comment yet.