xrdp/xrdp-0.9.15-startwm-openmamba.patch
Silvan Calarco 13b9f0ff3b rebuilt with many configure enable options
configuration changes for openmamba [release 0.9.15-2mamba;Thu Feb 11 2021]
2024-01-05 19:55:29 +01:00

29 lines
632 B
Diff

--- xrdp-0.9.15/sesman/startwm.sh.orig 2021-02-11 21:26:27.821827145 +0100
+++ xrdp-0.9.15/sesman/startwm.sh 2021-02-11 21:26:32.541910223 +0100
@@ -58,11 +58,23 @@
#start the window manager
wm_start()
{
- if [ -r /etc/default/locale ]; then
- . /etc/default/locale
+ if [ -r /etc/locale.conf ]; then
+ . /etc/locale.conf
export LANG LANGUAGE
fi
+ # openmamba user
+ if [ -r ~/.xinitrc ]; then
+ . ~/.xinitrc
+ exit 0
+ fi
+
+ # openmamba xinit
+ if [ -r /etc/X11/xinit/xinitrc ]; then
+ . /etc/X11/xinit/xinitrc
+ exit 0
+ fi
+
# debian
if [ -r /etc/X11/Xsession ]; then
pre_start