Репозитории ALT
S: | 0.9.23.1-alt1 |
D: | 0.3.2-alt1.1 |
5.1: | 0.4.1-alt1 |
4.1: | 0.4.0-alt4 |
4.0: | 0.3.2-alt1 |
Группа :: Система/Серверы
Пакет: xrdp
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xrdp-alt-startwm.patch
Скачать
Скачать
diff --git a/sesman/startwm.sh b/sesman/startwm.sh
index b3befe88..c37599ae 100755
--- a/sesman/startwm.sh
+++ b/sesman/startwm.sh
@@ -58,12 +58,12 @@ post_start()
#start the window manager
wm_start()
{
- if [ -r /etc/default/locale ]; then
- . /etc/default/locale
+ if [ -r /etc/sysconfig/i18n ]; then
+ . /etc/sysconfig/i18n
export LANG LANGUAGE
fi
- # debian
+ # debian, alt
if [ -r /etc/X11/Xsession ]; then
pre_start
. /etc/X11/Xsession
@@ -93,7 +93,7 @@ wm_start()
fi
# suse
- if [ -r /etc/X11/xdm/Xsession ]; then
+ if [ ! -f /etc/altlinux-release -a -r /etc/X11/xdm/Xsession ]; then
# since the following script run a user login shell,
# do not execute the pseudo login shell scripts
. /etc/X11/xdm/Xsession
@@ -104,7 +104,7 @@ wm_start()
fi
pre_start
- xterm
+ xvt
post_start
}