When i kill XDM, and start X by: export LANG=pl_PL; export LC_ALL=pl_PL; export LC_CTYPE=iso-8859-2; startx
everything works OK - I get the Polish characters. However, when I kill XDM, and then restart it (as root) by: export LANG=pl_PL; export LC_ALL=pl_PL; export LC_CTYPE=iso-8859-2; xdm The locales are not set in my X session... Finally, after analysis of the /etc/X11/Xsession, I've decided to create the /etc/environment file: export LANG=pl_PL export LC_ALL=pl_PL export LC_CTYPE=iso-8859-2 After that, when I've restarted the XDM, everything works perfectly. Is it the proper way to set locales for X sessions? BTW. Why the /etc/environment is not sourced by the standard debian /etc/profile? -- TIA Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.debian.org Use Linux - an OS without "trojan horses" inside