Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LANG et al env variables not properly set

Featured Replies

I have rencently installed armbian (jessie vanilla) on a brand new olimex LIME2.

 

My locales are set to use en_US.UTF-8, but when logging through ssh, as root or as regular user, everything is set to "POSIX".

ssh root@brique                                                                                                                                                                                                                                           

root@brique's password:



Load: 1.28, 0.39, 0.13 - Board: 22.8°C - Memory: 968Mb



root@brique:~# locale

LANG=

LANGUAGE=

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=

But after quite a few trials and errors, I found that in any session, if I call the command "su" (even to log as the same user), this will update all those env variables to the right values :

ssh root@brique

root@brique's password:

Last login: Mon Nov  9 22:24:44 2015 from 192.168.0.4



Load: 0.05, 0.16, 0.12 - Board: 22.0°C - Memory: 967Mb



root@brique:~# locale

LANG=

LANGUAGE=

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=

root@brique:~# su



Load: 0.05, 0.16, 0.12 - Board: 22.2°C - Memory: 964Mb



root@brique:~# locale

LANG=en_US.UTF-8

LANGUAGE=en_US.UTF-8

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=POSIX

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=

I'm kind of lost here ... anyone have an idea about what's going on ?

@tgirod

really unsure (there is an automatic set-up on the first boot of a fresh Armbian install, all is set-up on 2nd boot) because I have started applying the "dpkg-reconfigure" section from http://www.armbian.com/documentation/

then creating my non-root user

 

 

@Igor, the page really needs to be split (or one page with quick "menu entries")

 

proposal:

* Quick FAQ for beginners?

* After install Armbian set-up?

* How to unbrick the system?

* How to install to NAND, SATA & USB?

* How to build Armbian?

Ok mate, but keep in mind the source of this problem can be in: corrupted system image, weak power adapter for your Lime2 board (there are lot of power adapters dropping voltage under load below "safe" values and only few good ones on the market), microSD or SD card has been removed after transferring system image too early (these card are slow and it still takes time to write all data even system say 100% written) or card reader is plugged in internal or external hub which is underpowered and causes data corruption during transfers.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.