Dirk Mueller
f047e239d0
- Add xrdp-disable-8-bpp-vnc-support.patch: Disable 8 bpp vnc support. Xvnc drops support for 8 bpp since 1.4.0. Trying to launch Xvnc in 8 bpp will cause it to dump core (bsc#991059). - Add obs source services: + tar_scm + recompress + set_version - Update to version 0.9.0~git.1456906198.f422461: Fix tarball naming from 0.9.0git to 0.9.0~git to conform openSUSE naming scheme for pre-release version. + Numlock out of sync fix + neutrinordp: minor changes, coding style, log level + Update faq-compile.txt + Change to allow authentication against all authentication methods. + Add details for crypt_level=fips to man page + libxrdp: no logic change, tabs to spaces + libxrdp: opps, fix typeo + Fix "\ _" on jp keyboard + xrdp_keyboard.ini: Fix jp keyboard model + update xorgxrdp + add keyboard options to xrdp_client_info + xorgxrdp=68412e5 - Add an extra legacy service action force_stop: Forcefully killing xrdp processes when it cannot be stopped normally. Usage: $ service xrdp force_stop or OBS-URL: https://build.opensuse.org/request/show/423916 OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/xrdp?expand=0&rev=5
28 lines
626 B
Bash
28 lines
626 B
Bash
#!/bin/sh -e
|
|
|
|
DAEMON=${BASE}/sbin/xrdp
|
|
SDAEMON=${BASE}/sbin/xrdp-sesman
|
|
PIDDIR=/var/run/xrdp/
|
|
|
|
force_stop() {
|
|
|
|
DELAY=1
|
|
PROCLIST="xrdp-sesman xrdp-sessvc xrdp-chansrv X11rdp Xvnc"
|
|
|
|
for p in $PROCLIST; do
|
|
pgrep -x $p >/dev/null && pkill -x $p
|
|
sleep $DELAY
|
|
pgrep -x $p >/dev/null && pkill -9 -x $p
|
|
done
|
|
# let's not kill ourselves - the init script is called xrdp as well
|
|
pgrep -fx $DAEMON >/dev/null && pkill -fx $DAEMON
|
|
sleep $DELAY
|
|
pgrep -fx $DAEMON >/dev/null && pkill -9 -fx $DAEMON
|
|
|
|
rm -f $PIDDIR/xrdp*.pid
|
|
}
|
|
|
|
$0 stop
|
|
# because it doesn't allways die the right way
|
|
force_stop
|