LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-10-2013, 11:56 AM   #1
longus
Member
 
Registered: Dec 2008
Posts: 49

Rep: Reputation: 3
Strange discrepancy in system local


Yesterday i upgraded a remote desktop to Slackware64-14.1. In except of running lilo after the kernel upgrade, everythink now is working gret. I see one only problem related to the system local.
I have setted the system local to bg_BG.UTF-8. When i connect to the remote machine throught ssh the "locale" command return the setted encoding, bun running the same command locally, it gives en_US.UTF-8. "Locally" mean throught teamviewer. I connect to the desktop with teamviewer and run there xfce4-terminal. This is for root and all of the users in the mashine. There is not "per user" setting about the system locale. I am inclined to believe that the system local is en_US, because firefox browser's interface is englisch, despite the locallization.
Does anyone have an idea, how that problem occur?
 
Old 11-10-2013, 04:06 PM   #2
munkz
Member
 
Registered: Aug 2013
Location: A couch
Distribution: linux
Posts: 69

Rep: Reputation: 2
I am thinking maybe ssh environment settings on the client pushing local? Google dork AcceptEnv. Maybe just look at the local file on the remote machine and see what it is set to.
vim /etc/profile.d/lang.sh

Last edited by munkz; 11-10-2013 at 04:09 PM.
 
Old 11-11-2013, 01:18 AM   #3
longus
Member
 
Registered: Dec 2008
Posts: 49

Original Poster
Rep: Reputation: 3
The local file on the remote mashine is settet to the desired locale - bg_BG.UTF-8.
There is not AcceptEnv in my ssh_config.
 
Old 11-11-2013, 03:34 AM   #4
munkz
Member
 
Registered: Aug 2013
Location: A couch
Distribution: linux
Posts: 69

Rep: Reputation: 2
what ishe output of :
Code:
~]# grep AcceptEnv /etc/ssh/sshd_config
Run that on the server that you are having issues with.
 
Old 11-12-2013, 02:07 PM   #5
longus
Member
 
Registered: Dec 2008
Posts: 49

Original Poster
Rep: Reputation: 3
The command "grep AcceptEnv /etc/ssh/sshd_config" returns nothing. There is not such of line in sshd_config.
 
Old 11-12-2013, 02:13 PM   #6
munkz
Member
 
Registered: Aug 2013
Location: A couch
Distribution: linux
Posts: 69

Rep: Reputation: 2
Very odd. If the server gives one locale when logged in locally and another when logged in via ssh and sshd is not accepting environment settings, I am not sure. Perhaps some one will be able to help.

I wish I knew more.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
strange error on slackpkg update local mirror Celyr Slackware 3 10-11-2012 05:36 AM
(Large) Memory usage discrepancy between top and gnome-system-monitor dahc Linux - General 2 02-09-2012 09:58 PM
Strange problem with local permissions on WinXP using a Samba PDC with LDAP backend qtac Linux - Networking 2 09-08-2009 11:33 PM
Strange results with local BIND caching name-server pixel_surgeon Linux - Server 2 04-04-2009 09:05 AM
Cannot ping local system when pinging system is set for static IP SkipHuffman Linux - Networking 4 08-22-2005 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration