/etc/kde4/kdm/Xstartup is in kdm 4:4.11.13-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #! /bin/sh
# Xstartup - run as root before session starts
PATH="$PATH:/usr/bin/X11"
if [ -e /etc/nologin ]; then
# always display the nologin message, if possible
if [ -s /etc/nologin ] && which xmessage > /dev/null 2>&1; then
xmessage -file /etc/nologin -geometry 640x480
fi
if [ "$(id -u)" != "0" ] && \
! grep -qs '^ignore-nologin' /etc/kde4/kdm/kdm.options; then
exit 1
fi
fi
# NOTE: The session is aborted if the last command returns non-zero.
|