From: root Date: Tue, 30 Jul 2019 06:20:15 +0000 (+0200) Subject: committing changes in /etc after apt run X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=e722c9829550ecec15f76b43389381d1ba0f392b;p=zenbook committing changes in /etc after apt run Package changes: -gdm3 3.28.3-0ubuntu18.04.4 amd64 --- diff --git a/.etckeeper b/.etckeeper index 2920bcb..d37ec35 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1236,7 +1236,6 @@ maybe chmod 0644 'dbus-1/system.d/com.ubuntu.SystemService.conf' maybe chmod 0644 'dbus-1/system.d/com.ubuntu.USBCreator.conf' maybe chmod 0644 'dbus-1/system.d/com.ubuntu.WhoopsiePreferences.conf' maybe chmod 0644 'dbus-1/system.d/dnsmasq.conf' -maybe chmod 0644 'dbus-1/system.d/gdm.conf' maybe chmod 0644 'dbus-1/system.d/io.snapcraft.SnapdLoginService.conf' maybe chmod 0644 'dbus-1/system.d/kerneloops.dbus' maybe chmod 0644 'dbus-1/system.d/net.hadess.SensorProxy.conf' @@ -1547,23 +1546,6 @@ maybe chmod 0755 'gconf/gconf.xml.mandatory' maybe chmod 0644 'gconf/gconf.xml.mandatory/%gconf-tree.xml' maybe chmod 0755 'gdb' maybe chmod 0644 'gdb/gdbinit' -maybe chmod 0755 'gdm3' -maybe chmod 0755 'gdm3/Init' -maybe chmod 0755 'gdm3/Init/Default' -maybe chmod 0755 'gdm3/PostLogin' -maybe chmod 0755 'gdm3/PostLogin/Default.sample' -maybe chmod 0755 'gdm3/PostSession' -maybe chmod 0755 'gdm3/PostSession/Default' -maybe chmod 0755 'gdm3/PreSession' -maybe chmod 0755 'gdm3/PreSession/Default' -maybe chmod 0755 'gdm3/Prime' -maybe chmod 0755 'gdm3/Prime/Default' -maybe chmod 0755 'gdm3/PrimeOff' -maybe chmod 0755 'gdm3/PrimeOff/Default' -maybe chmod 0755 'gdm3/Xsession' -maybe chmod 0644 'gdm3/config-error-dialog.sh' -maybe chmod 0644 'gdm3/custom.conf' -maybe chmod 0644 'gdm3/greeter.dconf-defaults' maybe chmod 0755 'geoclue' maybe chmod 0644 'geoclue/geoclue.conf' maybe chmod 0755 'ghostscript' @@ -1685,7 +1667,6 @@ maybe chmod 0755 'init.d/devolonetsvc' maybe chmod 0755 'init.d/dns-clean' maybe chmod 0755 'init.d/fancontrol' maybe chmod 0755 'init.d/fhem' -maybe chmod 0755 'init.d/gdm3' maybe chmod 0755 'init.d/grub-common' maybe chmod 0755 'init.d/halt' maybe chmod 0755 'init.d/hostname.sh' @@ -1763,7 +1744,6 @@ maybe chmod 0644 'init/cups.conf' maybe chmod 0644 'init/failsafe-x.conf' maybe chmod 0644 'init/failsafe.conf' maybe chmod 0644 'init/flush-early-job-log.conf' -maybe chmod 0644 'init/gdm3.conf' maybe chmod 0644 'init/gpu-manager.conf' maybe chmod 0644 'init/hostname.conf' maybe chmod 0644 'init/hostname.sh.conf' @@ -1828,7 +1808,6 @@ maybe chmod 0644 'inputrc' maybe chmod 0755 'insserv' maybe chmod 0644 'insserv.conf' maybe chmod 0755 'insserv.conf.d' -maybe chmod 0644 'insserv.conf.d/gdm3' maybe chmod 0644 'insserv.conf.d/mariadb' maybe chmod 0644 'insserv.conf.d/postfix' maybe chmod 0755 'insserv/overrides' @@ -2242,10 +2221,6 @@ maybe chmod 0644 'pam.d/common-session' maybe chmod 0644 'pam.d/common-session-noninteractive' maybe chmod 0644 'pam.d/cron' maybe chmod 0644 'pam.d/cups' -maybe chmod 0644 'pam.d/gdm-autologin' -maybe chmod 0644 'pam.d/gdm-fingerprint' -maybe chmod 0644 'pam.d/gdm-launch-environment' -maybe chmod 0644 'pam.d/gdm-password' maybe chmod 0644 'pam.d/gnome-screensaver' maybe chmod 0644 'pam.d/lightdm' maybe chmod 0644 'pam.d/lightdm-autologin' diff --git a/dbus-1/system.d/gdm.conf b/dbus-1/system.d/gdm.conf deleted file mode 100644 index 1e2695b..0000000 --- a/dbus-1/system.d/gdm.conf +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdm3/Init/Default b/gdm3/Init/Default deleted file mode 100755 index a8e6993..0000000 --- a/gdm3/Init/Default +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# Stolen from the debian kdm setup, aren't I sneaky -# Plus a lot of fun stuff added -# -George - -PATH="/usr/bin:$PATH" -OLD_IFS=$IFS - -gdmwhich () { - COMMAND="$1" - OUTPUT= - IFS=: - for dir in $PATH - do - if test -x "$dir/$COMMAND" ; then - if test "x$OUTPUT" = "x" ; then - OUTPUT="$dir/$COMMAND" - fi - fi - done - IFS=$OLD_IFS - echo "$OUTPUT" -} - -sysresources=/etc/X11/Xresources - -# merge in defaults -if [ -f "$sysresources" ]; then - xrdb -merge "$sysresources" -fi - -sysmodmap=/etc/X11/Xmodmap - -XMODMAP=`gdmwhich xmodmap` -if [ "x$XMODMAP" != "x" ] ; then - if [ "x$GDM_PARENT_DISPLAY" = "x" ]; then - if [ -f $sysmodmap ]; then - $XMODMAP $sysmodmap - fi - else - ( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $XMODMAP -pke ) | $XMODMAP - - fi - - # - # Switch Sun's Alt and Meta mod mappings - # - - UNAME=`gdmwhich uname` - PROCESSOR=`$UNAME -p` - if [ "x$PROCESSOR" = "xsparc" ]; then - if $XMODMAP | grep mod4 | grep Alt > /dev/null 2>/dev/null - then - $XMODMAP -e "clear Mod1" \ - -e "clear Mod4" \ - -e "add Mod1 = Alt_L" \ - -e "add Mod1 = Alt_R" \ - -e "add Mod4 = Meta_L" \ - -e "add Mod4 = Meta_R" - fi - fi -fi - -SETXKBMAP=`gdmwhich setxkbmap` -if [ "x$SETXKBMAP" != "x" ] ; then - # FIXME: is this all right? Is this completely on crack? - # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY - # FIXME: This should be done in code. Or there must be an easier way ... - if [ -n "$GDM_PARENT_DISPLAY" ]; then - XKBSETUP=`( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $SETXKBMAP -v )` - if [ -n "$XKBSETUP" ]; then - XKBKEYMAP=`echo "$XKBSETUP" | grep '^keymap' | awk '{ print $2 }'` - XKBTYPES=`echo "$XKBSETUP" | grep '^types' | awk '{ print $2 }'` - XKBCOMPAT=`echo "$XKBSETUP" | grep '^compat' | awk '{ print $2 }'` - XKBSYMBOLS=`echo "$XKBSETUP" | grep '^symbols' | awk '{ print $2 }'` - XKBGEOMETRY=`echo "$XKBSETUP" | grep '^geometry' | awk '{ print $2 }'` - if [ -n "$XKBKEYMAP" ]; then - $SETXKBMAP -keymap "$XKBKEYMAP" - elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n "$XKBGEOMETRY" ]; then - $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS" -geometry "$XKBGEOMETRY" - elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then - $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS" - elif [ -n "$XKBSYMBOLS" ]; then - $SETXKBMAP -symbols "$XKBSYMBOLS" - fi - fi - fi -fi - -exit 0 diff --git a/gdm3/PostLogin/Default.sample b/gdm3/PostLogin/Default.sample deleted file mode 100755 index efc6394..0000000 --- a/gdm3/PostLogin/Default.sample +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# -# Note: this is a sample and will not be run as is. Change the name of this -# file to /PostLogin/Default for this script to be run. This -# script will be run before any setup is run on behalf of the user and is -# useful if you for example need to do some setup to create a home directory -# for the user or something like that. $HOME, $LOGIN and such will all be -# set appropriately and this script is run as root. diff --git a/gdm3/PostSession/Default b/gdm3/PostSession/Default deleted file mode 100755 index c52d3c2..0000000 --- a/gdm3/PostSession/Default +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exit 0 diff --git a/gdm3/PreSession/Default b/gdm3/PreSession/Default deleted file mode 100755 index 23e5b86..0000000 --- a/gdm3/PreSession/Default +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# Note that any setup should come before the sessreg command as -# that must be 'exec'ed for the pid to be correct (sessreg uses the parent -# pid) -# -# Note that output goes into the .xsession-errors file for easy debugging -# -PATH="/usr/bin:$PATH" diff --git a/gdm3/Prime/Default b/gdm3/Prime/Default deleted file mode 100755 index 30caf03..0000000 --- a/gdm3/Prime/Default +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -primeoffload=/sbin/prime-offload -if [ -f "$primeoffload" ]; then - $primeoffload -fi diff --git a/gdm3/PrimeOff/Default b/gdm3/PrimeOff/Default deleted file mode 100755 index 5a61c3c..0000000 --- a/gdm3/PrimeOff/Default +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -primeswitch=/sbin/prime-switch -if [ -f "$primeswitch" ]; then - $primeswitch -fi diff --git a/gdm3/Xsession b/gdm3/Xsession deleted file mode 100755 index d7114ff..0000000 --- a/gdm3/Xsession +++ /dev/null @@ -1,237 +0,0 @@ -#!/bin/bash -# -# This is SORT OF LIKE an X session, but not quite. You get a command as the -# first argument (it could be multiple words, so run it with "eval"). As a -# special case, the command can be: -# default - Run the appropriate Xclients startup (see the code below) -# custom - Run ~/.xsession and if that's not available run 'default' -# -# (Note that other arguments could also follow, but only the command one is -# right now relevant and supported) -# -# The output is ALREADY redirected to .xsession-errors in GDM. This way -# .xsession-errors actually gets more output such as if the PreSession script -# is failing. This also prevents DoS attacks if some app in the users session -# can be prodded to dump lots of stuff on the stdout/stderr. We wish to be -# robust don't we? In case you wish to use an existing script for other DM's, -# you can just not redirect when GDMSESSION is set. GDMSESSION will always -# be set from gdm. -# -# Also note that this is not run as a login shell, this is just executed. -# This is why we source the profile files below. -# -# based on: -# $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $ - -command="$@" - -# this will go into the .xsession-errors along with all other echo's -# good for debugging where things went wrong -echo "$0: Beginning session setup..." - -# temporary storage of error messages -ERR=$(mktemp --tmpdir config-err-XXXXXX) - -source_with_error_check () { - CONFIG_FILE="$1" - . "$CONFIG_FILE" 2>"$ERR" - if [ -s "$ERR" ]; then - . /etc/gdm3/config-error-dialog.sh - fi - cat "$ERR" >&2 - truncate -s 0 "$ERR" -} - -# First read /etc/profile and .profile -for file in /etc/profile "$HOME/.profile"; do - if [ -f "$file" ]; then - source_with_error_check "$file" - fi -done - -# Second read /etc/xprofile and .xprofile for X specific setup -for file in /etc/xprofile "$HOME/.xprofile"; do - if [ -f "$file" ]; then - source_with_error_check "$file" - fi -done - -# Translation stuff -if [ -x "/usr/lib/gdm3/gdmtranslate" ] ; then - gdmtranslate="/usr/lib/gdm3/gdmtranslate" -else - gdmtranslate= -fi - -# Note that this should only go to zenity dialogs which always expect utf8 -gettextfunc () { - if [ "x$gdmtranslate" != "x" ] ; then - "$gdmtranslate" --utf8 "$1" - else - echo "$1" - fi -} - -OLD_IFS=$IFS - -gdmwhich () { - COMMAND="$1" - OUTPUT= - IFS=: - for dir in $PATH - do - if test -x "$dir/$COMMAND" ; then - if test "x$OUTPUT" = "x" ; then - OUTPUT="$dir/$COMMAND" - fi - fi - done - IFS=$OLD_IFS - echo "$OUTPUT" -} - -zenity=`gdmwhich zenity` - -# Note: ~/.xsession-errors is now done in the daemon so that it -# works for ALL sessions (except ones named 'Failsafe') - -# clean up after xbanner -freetemp=`gdmwhich freetemp` -if [ -n "$freetemp" ] ; then - "$freetemp" -fi - -userresources="$HOME/.Xresources" -usermodmap="$HOME/.Xmodmap" -userxkbmap="$HOME/.Xkbmap" - -sysresources=/etc/X11/Xresources -sysmodmap=/etc/X11/Xmodmap -sysxkbmap=/etc/X11/Xkbmap - -rh6sysresources=/etc/X11/xinit/Xresources -rh6sysmodmap=/etc/X11/xinit/Xmodmap - -# merge in defaults -if [ -f "$rh6sysresources" ]; then - xrdb -nocpp -merge "$rh6sysresources" -fi - -if [ -f "$sysresources" ]; then - xrdb -nocpp -merge "$sysresources" -elif [ -d "$sysresources" ]; then - # directory of Xresources files on Debian/Ubuntu - for i in `ls "$sysresources"` ; do - if [ -r "$sysresources/$i" -a -f "$sysresources/$i" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then - xrdb -nocpp -merge "$sysresources/$i" - fi - done -fi - -if [ -f "$userresources" ]; then - xrdb -nocpp -merge "$userresources" -fi - -# merge in keymaps -if [ -f "$sysxkbmap" ]; then - setxkbmap `cat "$sysxkbmap"` - XKB_IN_USE=yes -fi - -if [ -f "$userxkbmap" ]; then - setxkbmap `cat "$userxkbmap"` - XKB_IN_USE=yes -fi - -# -# Eeek, this seems like too much magic here -# -if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then - if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then - xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config` - if [ -n "$xkbsymbols" ]; then - setxkbmap -symbols "$xkbsymbols" - XKB_IN_USE=yes - fi - fi -fi - -# xkb and xmodmap don't play nice together -if [ -z "$XKB_IN_USE" ]; then - if [ -f "$rh6sysmodmap" ]; then - xmodmap "$rh6sysmodmap" - fi - - if [ -f "$sysmodmap" ]; then - xmodmap "$sysmodmap" - fi - - if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" - fi -fi - -unset XKB_IN_USE - -xhost +si:localuser:`id -un` || : - -# run all system xinitrc shell scripts. -if [ -d /etc/X11/xinit/xinitrc.d ]; then - for i in /etc/X11/xinit/xinitrc.d/* ; do - if [ -x "$i" -a ! -d "$i" ]; then - . "$i" - fi - done -fi - -# run /etc/X11/Xsession.d/ -OPTIONFILE=/etc/X11/Xsession.options -USERXSESSION=$HOME/.xsession -USERXSESSIONRC=$HOME/.xsessionrc -ALTUSERXSESSION=$HOME/.Xsession -if [ -d /etc/X11/Xsession.d ]; then - for i in `ls /etc/X11/Xsession.d/` ; do - if [ -r "/etc/X11/Xsession.d/$i" -a -f "/etc/X11/Xsession.d/$i" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then - . "/etc/X11/Xsession.d/$i" - fi - done -fi - -if [ "x$command" = "xdefault" ] ; then - if [ -x "$HOME/.Xclients" ]; then - command="$HOME/.Xclients" - elif [ -x /etc/X11/xinit/Xclients ]; then - command="/etc/X11/xinit/Xclients" - elif [ -x /etc/X11/Xclients ]; then - command="/etc/X11/Xclients" - else - if [ -n "$zenity" ] ; then - disptext=`gettextfunc "System has no Xclients file, so starting a failsafe xterm session. Windows will have focus only if the mouse pointer is above them. To get out of this mode type 'exit' in the window."` - "$zenity" --info --text "$disptext" - else - echo "$0: Cannot find Xclients" - fi - exec xterm -geometry 80x24+0+0 - fi -fi - -# add ssh-agent if found -sshagent="`gdmwhich ssh-agent`" -if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then - command="$sshagent -- $command" -elif [ -z "$sshagent" ] ; then - echo "$0: ssh-agent not found!" -fi - -echo "$0: Setup done, will execute: $command" - -eval exec $command - -echo "$0: Executing $command failed, will run xterm" - -if [ -n "$zenity" ] ; then - disptext=`gettextfunc "Failed to start the session, so starting a failsafe xterm session. Windows will have focus only if the mouse pointer is above them. To get out of this mode type 'exit' in the window."` - "$zenity" --info --text "$disptext" -fi - -exec xterm -geometry 80x24+0+0 diff --git a/gdm3/config-error-dialog.sh b/gdm3/config-error-dialog.sh deleted file mode 100644 index 08cb7b9..0000000 --- a/gdm3/config-error-dialog.sh +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (C) 2014 Canonical Ltd -# Author: Gunnar Hjalmarsson -# -# This program is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free Software -# Foundation, version 3 of the License. -# -# See http://www.gnu.org/copyleft/gpl.html the full text of the license. - -# This file may be sourced by the function source_with_error_check() in -# /etc/gdm/Xsession - -export TEXTDOMAIN=gdm -. /usr/bin/gettext.sh - -PARA1=$(eval_gettext 'Error found when loading $CONFIG_FILE:') -PARA2=$(gettext 'As a result the session will not be configured correctly. -You should fix the problem as soon as feasible.') - -TEXT="$PARA1\n\n$(fold -s $ERR)\n\n$PARA2" - -if [ -x /usr/bin/kdialog ]; then - TEXT_FILE=$(mktemp --tmpdir config-err-kdialog-XXXXXX) - echo -n "$TEXT" > "$TEXT_FILE" - kdialog --textbox "$TEXT_FILE" 500 300 - rm -f "$TEXT_FILE" -elif [ -x /usr/bin/zenity ]; then - zenity --warning --no-wrap --text="$TEXT" -fi diff --git a/gdm3/custom.conf b/gdm3/custom.conf deleted file mode 100644 index 92eeb5e..0000000 --- a/gdm3/custom.conf +++ /dev/null @@ -1,29 +0,0 @@ -# GDM configuration storage -# -# See /usr/share/gdm/gdm.schemas for a list of available options. - -[daemon] -# Uncoment the line below to force the login screen to use Xorg -#WaylandEnable=false - -# Enabling automatic login -# AutomaticLoginEnable = true -# AutomaticLogin = user1 - -# Enabling timed login -# TimedLoginEnable = true -# TimedLogin = user1 -# TimedLoginDelay = 10 - -[security] - -[xdmcp] - -[chooser] - -[debug] -# Uncomment the line below to turn on debugging -# More verbose logs -# Additionally lets the X server dump core if it crashes -#Enable=true - diff --git a/gdm3/greeter.dconf-defaults b/gdm3/greeter.dconf-defaults deleted file mode 100644 index 62fa3b0..0000000 --- a/gdm3/greeter.dconf-defaults +++ /dev/null @@ -1,35 +0,0 @@ -# These are the options for the greeter session that can be set -# through GSettings. Any GSettings setting that is used by the -# greeter session can be set here. - -# Note that you must configure the path used by dconf to store the -# configuration, not the GSettings path. - - -# Theming options -# =============== -# - Change the GTK+ theme -# [org/gnome/desktop/interface] -# gtk-theme='Adwaita' -# - Use another background -# [org/gnome/desktop/background] -# picture-uri='file:///usr/share/themes/Adwaita/backgrounds/stripes.jpg' -# picture-options='zoom' -# - Or no background at all -# [org/gnome/desktop/background] -# picture-options='none' -# primary-color='#000000' - -# Login manager options -# ===================== -#[org/gnome/login-screen] -#logo='/usr/share/icons/hicolor/48x48/emblems/emblem-debian-white.png' -#fallback-logo='/usr/share/icons/hicolor/48x48/emblems/emblem-debian-white.png' - -# - Disable user list -# disable-user-list=true -# - Disable restart buttons -# disable-restart-buttons=true -# - Show a login welcome message -# banner-message-enable=true -# banner-message-text='Welcome' diff --git a/group b/group index 6ff6408..df1a307 100644 --- a/group +++ b/group @@ -65,7 +65,6 @@ rtkit:x:126: saned:x:127: sambashare:x:128:mhoellein mhoellein:x:1011: -gdm:x:129: geoclue:x:130: postfix:x:132: postdrop:x:133: diff --git a/group- b/group- index efe4f68..6ff6408 100644 --- a/group- +++ b/group- @@ -78,7 +78,6 @@ u2fkey:x:1012:mhoellein susi:x:1013: bitcoin:x:138: ntp:x:105: -nvidia-persistenced:x:131: bumblebee:x:998:mhoellein,syslog alle:x:1014: kvm:x:139:mhoellein diff --git a/gshadow b/gshadow index eeec39c..df2156c 100644 --- a/gshadow +++ b/gshadow @@ -65,7 +65,6 @@ rtkit:!:: saned:!:: sambashare:!::mhoellein mhoellein:!:: -gdm:!:: geoclue:!:: postfix:!:: postdrop:!:: diff --git a/gshadow- b/gshadow- index 3b41944..eeec39c 100644 --- a/gshadow- +++ b/gshadow- @@ -78,7 +78,6 @@ u2fkey:!::mhoellein susi:!:: bitcoin:!:: ntp:!:: -nvidia-persistenced:!:: bumblebee:!::mhoellein,syslog alle:!:: kvm:!::mhoellein diff --git a/init.d/gdm3 b/init.d/gdm3 deleted file mode 100755 index df234a8..0000000 --- a/init.d/gdm3 +++ /dev/null @@ -1,93 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: gdm3 -# Should-Start: console-screen dbus network-manager -# Required-Start: $local_fs $remote_fs -# Required-Stop: $local_fs $remote_fs -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: GNOME Display Manager -# Description: Debian init script for the GNOME Display Manager -### END INIT INFO -# -# Author: Ryan Murray -# -set -e - -PATH=/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/usr/sbin/gdm3 -PIDFILE=/var/run/gdm3.pid - -test -x $DAEMON || exit 0 - -if [ -r /etc/default/locale ]; then - . /etc/default/locale - export LANG LANGUAGE -fi - -. /lib/lsb/init-functions - -# To start gdm even if it is not the default display manager, change -# HEED_DEFAULT_DISPLAY_MANAGER to "false." -HEED_DEFAULT_DISPLAY_MANAGER=true -DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager - -activate_logind() { - # Try to dbus activate logind to avoid a race conditions if we are not - # running systemd as PID1 and we have systemd << 204 package installed (see: - # #747292) - if [ ! -d /run/systemd/system ] && [ -x /lib/systemd/systemd-logind-launch ]; then - dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus \ - org.freedesktop.DBus.StartServiceByName string:org.freedesktop.login1 uint32:0 2>&1 > /dev/null - fi -} - -case "$1" in - start) - CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)") - if grep -wqs text /proc/cmdline; then - log_warning_msg "Not starting GNOME Display Manager; found 'text' in kernel commandline." - elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \ - [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \ - [ "$CONFIGURED_DAEMON" != gdm3 ] ; then - log_action_msg "Not starting GNOME Display Manager; it is not the default display manager" - else - log_daemon_msg "Starting GNOME Display Manager" "gdm3" - activate_logind || log_end_msg 1 - /usr/share/gdm/generate-config - start-stop-daemon --start --quiet --pidfile $PIDFILE \ - --background --exec $DAEMON || log_end_msg 1 - log_end_msg 0 - fi - ;; - stop) - log_daemon_msg "Stopping GNOME Display Manager" "gdm3" - set +e - start-stop-daemon --stop --quiet --pidfile $PIDFILE \ - --name gdm3 --retry 5 - set -e - log_end_msg $? - ;; - reload) - log_daemon_msg "Scheduling reload of GNOME Display Manager configuration" "gdm3" - /usr/share/gdm/generate-config - set +e - start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE \ - --name gdm3 - set -e - log_end_msg $? - ;; - status) - status_of_proc -p "$PIDFILE" "$DAEMON" gdm3 && exit 0 || exit $? - ;; - restart|force-reload) - $0 stop - $0 start - ;; - *) - echo "Usage: /etc/init.d/gdm3 {start|stop|restart|reload|force-reload|status}" - exit 1 - ;; -esac - -exit 0 diff --git a/init/gdm3.conf b/init/gdm3.conf deleted file mode 100644 index aeab3d3..0000000 --- a/init/gdm3.conf +++ /dev/null @@ -1,81 +0,0 @@ -# gdm - GNOME Display Manager -# -# The display manager service manages the X servers running on the -# system, providing login and auto-login services - -description "GNOME Display Manager" -author "William Jon McCann " - -start on ((filesystem - and runlevel [!06] - and started dbus - and plymouth-ready) - or runlevel PREVLEVEL=S) - -stop on runlevel [016] - -emits login-session-start -emits desktop-session-start -emits desktop-shutdown - -env XORGCONFIG=/etc/X11/xorg.conf - -pre-start script - # Try to dbus activate logind to avoid a race conditions if we are not - # running systemd as PID1 (see: #747292) - if [ ! -d /run/systemd/system ] && [ -x /lib/systemd/systemd-logind ]; then - dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus \ - org.freedesktop.DBus.StartServiceByName string:org.freedesktop.login1 uint32:0 2>&1 > /dev/null || true - - fi -end script - -script - if [ -n "$UPSTART_EVENTS" ] - then - # Check kernel command-line for inhibitors, unless we are being called - # manually - for ARG in $(cat /proc/cmdline); do - if [ "$ARG" = "text" ]; then - plymouth quit || : - stop - exit 0 - fi - done - - if [ -f /etc/X11/default-display-manager ]; then - [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/gdm3" ] || { stop; exit 0; } - else - type lightdm >/dev/null 2>&1 && { stop; exit 0; } || true - fi - - if [ "$RUNLEVEL" = S -o "$RUNLEVEL" = 1 ] - then - # Single-user mode - plymouth quit || : - exit 0 - fi - fi - - test -f /etc/profile && . /etc/profile - - if [ -r /etc/default/locale ]; then - . /etc/default/locale - export LANG LANGUAGE LC_MESSAGES LC_ALL - elif [ -r /etc/environment ]; then - . /etc/environment - export LANG LANGUAGE LC_MESSAGES LC_ALL - fi - export XORGCONFIG - - # update the dconf profile if needed - /usr/share/gdm/generate-config - - exec gdm3 $CONFIG_FILE -end script - -post-stop script - if [ "$UPSTART_STOP_EVENTS" = runlevel ]; then - initctl emit desktop-shutdown - fi -end script diff --git a/insserv.conf.d/gdm3 b/insserv.conf.d/gdm3 deleted file mode 100644 index 165b123..0000000 --- a/insserv.conf.d/gdm3 +++ /dev/null @@ -1 +0,0 @@ -$x-display-manager gdm3 diff --git a/pam.d/gdm-autologin b/pam.d/gdm-autologin deleted file mode 100644 index fe5446b..0000000 --- a/pam.d/gdm-autologin +++ /dev/null @@ -1,21 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_u2f.so -auth required pam_succeed_if.so user != root quiet_success -auth required pam_permit.so -@include common-account -# SELinux needs to be the first session rule. This ensures that any -# lingering context has been cleared. Without this it is possible -# that a module could execute code in the wrong domain. -session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close -session required pam_loginuid.so -# SELinux needs to intervene at login time to ensure that the process -# starts in the proper default security context. Only sessions which are -# intended to run in the user's context should be run after this. -session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open -session optional pam_keyinit.so force revoke -session required pam_limits.so -session required pam_env.so readenv=1 -session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale -@include common-session -@include common-password diff --git a/pam.d/gdm-fingerprint b/pam.d/gdm-fingerprint deleted file mode 100644 index d5b901a..0000000 --- a/pam.d/gdm-fingerprint +++ /dev/null @@ -1,22 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_succeed_if.so user != root quiet_success -auth required pam_fprintd.so -auth optional pam_gnome_keyring.so -@include common-account -# SELinux needs to be the first session rule. This ensures that any -# lingering context has been cleared. Without this it is possible -# that a module could execute code in the wrong domain. -session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close -session required pam_loginuid.so -# SELinux needs to intervene at login time to ensure that the process -# starts in the proper default security context. Only sessions which are -# intended to run in the user's context should be run after this. -session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open -session optional pam_keyinit.so force revoke -session required pam_limits.so -session required pam_env.so readenv=1 -session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale -@include common-session -session optional pam_gnome_keyring.so auto_start -password required pam_fprintd.so diff --git a/pam.d/gdm-launch-environment b/pam.d/gdm-launch-environment deleted file mode 100644 index f22448c..0000000 --- a/pam.d/gdm-launch-environment +++ /dev/null @@ -1,11 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_u2f.so -auth required pam_permit.so -@include common-account -session optional pam_keyinit.so force revoke -session required pam_limits.so -session required pam_env.so readenv=1 -session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale -@include common-session -@include common-password diff --git a/pam.d/gdm-password b/pam.d/gdm-password deleted file mode 100644 index b4a7a35..0000000 --- a/pam.d/gdm-password +++ /dev/null @@ -1,23 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth sufficient pam_u2f.so -auth required pam_succeed_if.so user != root quiet_success -@include common-auth -auth optional pam_gnome_keyring.so -@include common-account -# SELinux needs to be the first session rule. This ensures that any -# lingering context has been cleared. Without this it is possible -# that a module could execute code in the wrong domain. -session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close -session required pam_loginuid.so -# SELinux needs to intervene at login time to ensure that the process -# starts in the proper default security context. Only sessions which are -# intended to run in the user's context should be run after this. -session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open -session optional pam_keyinit.so force revoke -session required pam_limits.so -session required pam_env.so readenv=1 -session required pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale -@include common-session -session optional pam_gnome_keyring.so auto_start -@include common-password diff --git a/passwd b/passwd index 3f90852..f836714 100644 --- a/passwd +++ b/passwd @@ -37,7 +37,6 @@ rtkit:x:118:126:RealtimeKit,,,:/proc:/bin/false saned:x:119:127::/var/lib/saned:/bin/false usbmux:x:120:46:usbmux daemon,,,:/var/lib/usbmux:/bin/false mhoellein:x:1011:1011:Mario,,,:/home/mhoellein:/bin/bash -gdm:x:121:129:Gnome Display Manager:/var/lib/gdm3:/bin/false geoclue:x:122:130::/var/lib/geoclue:/bin/false sshd:x:124:65534::/var/run/sshd:/usr/sbin/nologin postfix:x:125:132::/var/spool/postfix:/bin/false diff --git a/passwd- b/passwd- index 5feeba4..3f90852 100644 --- a/passwd- +++ b/passwd- @@ -48,7 +48,6 @@ susi:x:1012:1013:Susanne Weber:/home/susi:/bin/bash bitcoin:x:128:138::/var/lib/bitcoin:/bin/false cups-pk-helper:x:129:113:user for cups-pk-helper service,,,:/home/cups-pk-helper:/usr/sbin/nologin ntp:x:103:105::/nonexistent:/usr/sbin/nologin -nvidia-persistenced:x:123:131:NVIDIA Persistence Daemon,,,:/nonexistent:/sbin/nologin alle:x:1013:1014::/home/alle:/bin/false fhem:x:998:20::/opt/fhem:/bin/false nm-openvpn:x:130:143:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin diff --git a/rc0.d/K02gdm3 b/rc0.d/K02gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc0.d/K02gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/rc1.d/K02gdm3 b/rc1.d/K02gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc1.d/K02gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/rc2.d/S06gdm3 b/rc2.d/S06gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc2.d/S06gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/rc3.d/S06gdm3 b/rc3.d/S06gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc3.d/S06gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/rc4.d/S06gdm3 b/rc4.d/S06gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc4.d/S06gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/rc5.d/S06gdm3 b/rc5.d/S06gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc5.d/S06gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/rc6.d/K02gdm3 b/rc6.d/K02gdm3 deleted file mode 120000 index ad83344..0000000 --- a/rc6.d/K02gdm3 +++ /dev/null @@ -1 +0,0 @@ -../init.d/gdm3 \ No newline at end of file diff --git a/shadow b/shadow index 4e4f327..83d9d9c 100644 --- a/shadow +++ b/shadow @@ -37,7 +37,6 @@ rtkit:*:17212:0:99999:7::: saned:*:17212:0:99999:7::: usbmux:*:17212:0:99999:7::: mhoellein:$6$7ZNNocJg$2W8/jFH4APcSlcjuWS5HT0UH8U8dlPMkybiibCoa2.FzTsFUay2Xe4mWvS27sboDw7Ib8MhLsg95pTvfMp3jQ0:17321:0:99999:7::: -gdm:*:17322:0:99999:7::: geoclue:*:17322:0:99999:7::: sshd:*:17322:0:99999:7::: postfix:*:17326:0:99999:7::: diff --git a/shadow- b/shadow- index 5af45a6..4e4f327 100644 --- a/shadow- +++ b/shadow- @@ -48,7 +48,6 @@ susi:$6$Fcb59jpZ$88N57qIZj1cwxBeklmMoGkFkCmnSpNxC.eWkAVzDAtmgdCiEDdWDXz4XvOdl.VT bitcoin:*:17765:0:99999:7::: cups-pk-helper:*:17767:0:99999:7::: ntp:*:17771:0:99999:7::: -nvidia-persistenced:*:17774:0:99999:7::: alle:!:17781:0:99999:7::: fhem:!:17798:::::: nm-openvpn:*:18022:0:99999:7:::