Quote:
Originally Posted by omar silva
Hi!
Has someone managed to have Fedora remote with rdp in another language than english or another keyboard than us?
|
I did it, look two files /etc/xrdp/startwm.sh and /etc/default/locale
my russian localisation examle
cat /etc/xrdp/startwm.sh
#!/bin/sh
# change the order in line below to run to run whatever window manager you
# want, default to kde
SESSIONS="gnome-session"
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
# change PATH to be what your environment needs usually what is in
# /etc/environment
#PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
#export PATH=$PATH
PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin"
export PATH=$PATH
for WindowManager in $SESSIONS
do
which $WindowManager
if test $? -eq 0
then
echo "Starting $WindowManager"
$WindowManager
exit 0
fi
done
exit 1
#************************************************* *************************************************
cat /etc/default/locale
LANG="ru_RU.UTF-8"