#1  
Old 21st January 2011, 15:23
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default jailkit locale/font/utf8

I installed the latest version of ISPconfig eith the jailkit.
All works fine. I can choose if a user will be 'jailed' or not, I can create sebsites, domains etc.

The only problem I have is with the locale of chrooted users in ssh. I am from Greece and I cannot see greek characters in the ssh environment of the 'jailed' user.

If I 'unjail' him I can see perfectly the greek characters.

Is anyone facing something similar?
Is there a solution for this?

My tries up to now:

I added in /etc/jailkit/jk_init.ini the following:

Code:
[fontconfig]
paths = /etc/fonts, /etc/console-tools/config, /etc/default/locale, /usr/lib/libfontconfig.so.1, /usr/lib/libfontconfig.so.1.3.0
includesections = fonts

[fonts]
directories = /usr/share/fonts
I also added the fontconfig and fonts in the ISPconfig of jailkit, but I have no luck so far.
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2011, 15:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,656 Times in 4,464 Posts
Default

The jail is only created once per website when the first jailed user is added. So if you want to test your new settings, it might be nescessary to create a new website and then a new ssh user in that site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st January 2011, 15:32
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

I already tried that. I'm sorry. I forgot to mention that I read almost every post in the forum, concerning jailkit.
Reply With Quote
  #4  
Old 21st January 2011, 15:47
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

One more thing I noticed during my efforts.
When I pasted the above in /etc/jailkit/jk_init.ini and I updated the config of ispconfig (with php -q update.php) the /etc/jailkit/jk_init.ini was overwritten with the previous (clean) one (without my entries).

Last edited by 8omas; 22nd January 2011 at 22:52.
Reply With Quote
  #5  
Old 25th January 2011, 00:05
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

One more 'evidence', in case someone can help.

In the attached image you can see the 'strange' greek characters. Those are written in the console. After saving this file, and opening the browser to see the page, all the greek characters as showing fine.

I think, this might be a font problem. Am I right?
Attached Images
 
Reply With Quote
Reply

Bookmarks

Tags
fonts, jailkit, locale, utf8

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
jailkit not working on ISPconfig v 3.0.2 Debian Lenny jwlinux General 14 5th May 2011 17:03
How to add a new command to jailkit? nagl Installation/Configuration 2 3rd July 2010 01:29
enable php cli for jailkit chrooted user ftassi Installation/Configuration 2 2nd May 2010 20:09
Safe to upgrade Jailkit to latest version? Hans Installation/Configuration 1 29th April 2010 00:09
Bug? Jailkit / chroot crashed server grigra General 19 15th October 2009 10:48


All times are GMT +2. The time now is 12:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.