Package: xfree86 Version: 4.3.0.dfsg.1-12.0.1 Severity: wishlist Tags: patch Even though Debian's startx invokes Xsession, the default and failsafe arguments are not honoured. The attached patch adds that functionality. Please consider it for the next release. -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.10-9-amd64-k8 Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) -- .''`. martin f. krafft <madduck@debian.org> : :' : proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
--- startx.orig 2005-02-26 12:45:58.000000000 +0100 +++ startx 2005-02-26 12:53:10.000000000 +0100 @@ -64,6 +64,10 @@ fi fi ;; + failsafe|default) + # let /etc/X11/Xsession handle failsafe and default mode + xsession_mode=$1 + ;; --) whoseargs="server" ;; @@ -89,6 +93,9 @@ # if no client arguments either, use rc file instead if [ x"$clientargs" = x ]; then client="$defaultclientargs" + if [ -n "$xsession_mode" ]; then + clientargs="$xsession_mode $clientargs" + fi else client=$defaultclient fi
Attachment:
signature.asc
Description: Digital signature