summaryrefslogtreecommitdiffstats
path: root/source/kde/post-install/kde-workspace
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/post-install/kde-workspace')
-rw-r--r--source/kde/post-install/kde-workspace/config/Xsession88
-rw-r--r--source/kde/post-install/kde-workspace/config/Xsession.orig65
-rw-r--r--source/kde/post-install/kde-workspace/config/kde-np.pamd12
-rw-r--r--source/kde/post-install/kde-workspace/config/kde.pamd9
-rw-r--r--source/kde/post-install/kde-workspace/xinit/xinitrc.kde32
5 files changed, 0 insertions, 206 deletions
diff --git a/source/kde/post-install/kde-workspace/config/Xsession b/source/kde/post-install/kde-workspace/config/Xsession
deleted file mode 100644
index 736f5d5c2..000000000
--- a/source/kde/post-install/kde-workspace/config/Xsession
+++ /dev/null
@@ -1,88 +0,0 @@
-#! /bin/sh
-# Xsession - run as user
-
-# Merged in parts of the old Xsession to load defaults from
-# Xresources and Xmodmap files, 2006-02-09 volkerdi
-# Merged with the new Xsession (original) from KDE4, 20071220 rworkman
-
- session=$1
-
-# This section is borrowed from the old X11 Xsession file:
-userresources=$HOME/.Xresources
-usermodmap=$HOME/.Xmodmap
-sysresources=/usr/lib/X11/xinit/.Xresources
-sysmodmap=/usr/lib/X11/xinit/.Xmodmap
-# merge in defaults and keymaps
-if [ -r $sysresources ]; then
- /usr/bin/xrdb -merge $sysresources
-fi
-if [ -r $sysmodmap ]; then
- /usr/bin/xmodmap $sysmodmap
-fi
-if [ -r $userresources ]; then
- /usr/bin/xrdb -merge $userresources
-fi
-if [ -r $usermodmap ]; then
- /usr/bin/xmodmap $usermodmap
-fi
-
-# Note that the respective logout scripts are not sourced.
-case $SHELL in
- */bash)
- [ -z "$BASH" ] && exec $SHELL $0 "$@"
- set +o posix
- [ -f /etc/profile ] && . /etc/profile
- if [ -f $HOME/.bash_profile ]; then
- . $HOME/.bash_profile
- elif [ -f $HOME/.bash_login ]; then
- . $HOME/.bash_login
- elif [ -f $HOME/.profile ]; then
- . $HOME/.profile
- fi
- ;;
- */zsh)
- [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
- emulate -R zsh
- [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
- zhome=${ZDOTDIR:-$HOME}
- # zshenv is always sourced automatically.
- [ -f $zdir/zprofile ] && . $zdir/zprofile
- [ -f $zhome/.zprofile ] && . $zhome/.zprofile
- [ -f $zdir/zlogin ] && . $zdir/zlogin
- [ -f $zhome/.zlogin ] && . $zhome/.zlogin
- ;;
- */csh|*/tcsh)
- # [t]cshrc is always sourced automatically.
- # Note that sourcing csh.login after .cshrc is non-standard.
- xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
- $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp"
- . $xsess_tmp
- rm -f $xsess_tmp
- ;;
- *) # Plain sh, ksh, and anything we do not know.
- [ -f /etc/profile ] && . /etc/profile
- [ -f $HOME/.profile ] && . $HOME/.profile
- ;;
-esac
-
-[ -f /etc/xprofile ] && . /etc/xprofile
-[ -f $HOME/.xprofile ] && . $HOME/.xprofile
-
-case $session in
- "")
- exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
- ;;
- failsafe)
- exec xterm -geometry 80x24-0-0
- ;;
- custom)
- exec $HOME/.xsession
- ;;
- default)
- exec /usr/bin/startkde
- ;;
- *)
- eval exec "$session"
- ;;
-esac
-exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
diff --git a/source/kde/post-install/kde-workspace/config/Xsession.orig b/source/kde/post-install/kde-workspace/config/Xsession.orig
deleted file mode 100644
index 43d78b8d9..000000000
--- a/source/kde/post-install/kde-workspace/config/Xsession.orig
+++ /dev/null
@@ -1,65 +0,0 @@
-#! /bin/sh
-# Xsession - run as user
-
-session=$1
-
-# Note that the respective logout scripts are not sourced.
-case $SHELL in
- */bash)
- [ -z "$BASH" ] && exec $SHELL $0 "$@"
- set +o posix
- [ -f /etc/profile ] && . /etc/profile
- if [ -f $HOME/.bash_profile ]; then
- . $HOME/.bash_profile
- elif [ -f $HOME/.bash_login ]; then
- . $HOME/.bash_login
- elif [ -f $HOME/.profile ]; then
- . $HOME/.profile
- fi
- ;;
- */zsh)
- [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
- emulate -R zsh
- [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
- zhome=${ZDOTDIR:-$HOME}
- # zshenv is always sourced automatically.
- [ -f $zdir/zprofile ] && . $zdir/zprofile
- [ -f $zhome/.zprofile ] && . $zhome/.zprofile
- [ -f $zdir/zlogin ] && . $zdir/zlogin
- [ -f $zhome/.zlogin ] && . $zhome/.zlogin
- ;;
- */csh|*/tcsh)
- # [t]cshrc is always sourced automatically.
- # Note that sourcing csh.login after .cshrc is non-standard.
- xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
- $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp"
- . $xsess_tmp
- rm -f $xsess_tmp
- ;;
- *) # Plain sh, ksh, and anything we do not know.
- [ -f /etc/profile ] && . /etc/profile
- [ -f $HOME/.profile ] && . $HOME/.profile
- ;;
-esac
-
-[ -f /etc/xprofile ] && . /etc/xprofile
-[ -f $HOME/.xprofile ] && . $HOME/.xprofile
-
-case $session in
- "")
- exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
- ;;
- failsafe)
- exec xterm -geometry 80x24-0-0
- ;;
- custom)
- exec $HOME/.xsession
- ;;
- default)
- exec /usr/bin/startkde
- ;;
- *)
- eval exec "$session"
- ;;
-esac
-exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
diff --git a/source/kde/post-install/kde-workspace/config/kde-np.pamd b/source/kde/post-install/kde-workspace/config/kde-np.pamd
deleted file mode 100644
index 198af45fb..000000000
--- a/source/kde/post-install/kde-workspace/config/kde-np.pamd
+++ /dev/null
@@ -1,12 +0,0 @@
-#%PAM-1.0
-auth requisite pam_nologin.so
-auth required pam_env.so
-
-# Uncomment this line to restrict autologin to users with a UID greater
-# than 999 (in other words, don't allow autologin for root):
-#auth required pam_succeed_if.so uid >= 1000 quiet
-auth required pam_permit.so
-
-account include system-auth
-password include system-auth
-session include system-auth
diff --git a/source/kde/post-install/kde-workspace/config/kde.pamd b/source/kde/post-install/kde-workspace/config/kde.pamd
deleted file mode 100644
index 7acfd901e..000000000
--- a/source/kde/post-install/kde-workspace/config/kde.pamd
+++ /dev/null
@@ -1,9 +0,0 @@
-#%PAM-1.0
-auth include system-auth
-auth include postlogin
-account include system-auth
-password include system-auth
-session include system-auth
-session required pam_loginuid.so
-session optional pam_ck_connector.so nox11
-session include postlogin
diff --git a/source/kde/post-install/kde-workspace/xinit/xinitrc.kde b/source/kde/post-install/kde-workspace/xinit/xinitrc.kde
deleted file mode 100644
index a33eb06cf..000000000
--- a/source/kde/post-install/kde-workspace/xinit/xinitrc.kde
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
-
-userresources=$HOME/.Xresources
-usermodmap=$HOME/.Xmodmap
-sysresources=/etc/X11/xinit/.Xresources
-sysmodmap=/etc/X11/xinit/.Xmodmap
-
-# merge in defaults and keymaps
-
-if [ -f $sysresources ]; then
- xrdb -merge $sysresources
-fi
-
-if [ -f $sysmodmap ]; then
- xmodmap $sysmodmap
-fi
-
-if [ -f $userresources ]; then
- xrdb -merge $userresources
-fi
-
-if [ -f $usermodmap ]; then
- xmodmap $usermodmap
-fi
-
-# Start the window manager:
-if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
- ck-launch-session startkde
-else
- startkde
-fi