1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
| gdm
/etc/ftpusers
# don't do it twice unless forced, it may annoy xdm and
/etc/init.d/kbd
# /etc/init.d/xdm
# Provides: xdm
# Should-Start: ypbind $syslog gpm firstboot kbd resmgr earlyxdm winbind acpid ntp
# Should-Stop: ypbind $syslog gpm firstboot kbd resmgr earlyxdm winbind acpid ntp
# Avoid duplicated messages when earlyxdm was active
case "$EARLYXDM" in
# earlyxdm is calling us, remember this
> /var/run/earlyxdm.start
# earlyxdm was already active, exit now
if test -e /var/run/earlyxdm.start ; then
rm -f /var/run/earlyxdm.start
DMDIR=/etc/X11/xdm
xdm_reload_files () {
test -x /etc/X11/xdm/SuSEconfig.xdm && \
/etc/X11/xdm/SuSEconfig.xdm | \
sed 's+\(.*\)+/etc/init.d/xdm: \1+g' | \
PIDFILE=/var/run/xdm.pid
xdm_vars xdm # FALLBACK
if [ -x /etc/X11/xdm/keytable ]; then
/etc/X11/xdm/keytable
# Don't start xdm if no Xserver is configured and xdm is not
startproc -p $PIDFILE $DISPLAYMANAGER $XDMOPTIONS || rc_failed
if CHECKDM=$(ps ho command= -p $PID) ; then
DISPLAYMANAGER_BIN=${CHECKDM%%[[:blank:]]*}
unset CHECKDM
# SIGKILL if xdm does not terminate within
/etc/init.d/xdm
TARGETS = fbset cpufreq random purge-kernels haveged bluez-coldplug vboxadd nscd xdm cron smartd SuSEfirewall2_setup acpid kbd avahi-daemon alsasound postfix cups dbus network-remotefs syslog earlysyslog network SuSEfirewall2_init
acpid: xdm
kbd: xdm
syslog: cups postfix haveged nscd xdm
/etc/init.d/.depend.stop
# 3 - multiuser w/ network (text mode) 5 - multiuser w/ network and X11 (xdm)
/etc/init.d/skeleton
# 3 - multiuser w/ network (text mode) 5 - multiuser w/ network and X11 (xdm)
/etc/init.d/skeleton.compat
TARGETS = halt fbset dbus earlysyslog cpufreq random acpid SuSEfirewall2_init purge-kernels reboot network syslog haveged kbd single bluez-coldplug vboxadd avahi-daemon network-remotefs alsasound postfix cups nscd xdm cron smartd SuSEfirewall2_setup
xdm: kbd syslog dbus acpid
SuSEfirewall2_setup: cron smartd cups nscd xdm network-remotefs bluez-coldplug vboxadd avahi-daemon alsasound haveged SuSEfirewall2_init fbset earlysyslog cpufreq random purge-kernels
/etc/init.d/.depend.start
# description: This serves out a VNC connection which starts at a KDM login \
# description: This serves out a VNC connection which starts at a KDM login \
# description: This serves out a VNC connection which starts at a KDM login \
/etc/xinetd.d/vnc
application/vnd.syncml.dm+xml xdm
/etc/mime.types
Fichier binaire /etc/ld.so.cache concordant
/etc/ld.so.cache
session optional pam_gnome_keyring.so auto_start only_if=gdm,gdm-password,lxdm,lightdm
/etc/pam.d/common-session-pc
org.kde.kcontrol.kcmkdm.managefaces auth_admin_keep
org.kde.kcontrol.kcmkdm.managethemes auth_admin_keep
org.kde.kcontrol.kcmkdm.save auth_admin
/etc/polkit-default-privs.restrictive
<dir name="gdm">
/etc/gconf/gconf.xml.vendor/%gconf-tree.xml
# register VNC remote logins via kdm
/etc/slp.reg.d/vnc.reg
xdmcp 177/tcp # X Display Manager Control Protocol
xdmcp 177/udp # X Display Manager Control Protocol
kdm 2115/tcp # Key Distribution Manager
kdm 2115/udp # Key Distribution Manager
xdsxdm 6558/tcp #
xdsxdm 6558/udp #
/etc/services
Fichier binaire /etc/bootsplash/themes/openSUSE/images/bootsplash-1440x900.jpg concordant
/etc/bootsplash/themes/openSUSE/images/bootsplash-1440x900.jpg
Fichier binaire /etc/bootsplash/themes/openSUSE/images/bootsplash-1600x1024.jpg concordant
/etc/bootsplash/themes/openSUSE/images/bootsplash-1600x1024.jpg
Fichier binaire /etc/bootsplash/themes/openSUSE/images/silent-1280x854.jpg concordant
/etc/bootsplash/themes/openSUSE/images/silent-1280x854.jpg
Fichier binaire /etc/bootsplash/themes/openSUSE/images/silent-1920x1200.jpg concordant
/etc/bootsplash/themes/openSUSE/images/silent-1920x1200.jpg
Fichier binaire /etc/bootsplash/themes/openSUSE/cdrom/panim_a.jpg concordant
/etc/bootsplash/themes/openSUSE/cdrom/panim_a.jpg
Fichier binaire /etc/bootsplash/themes/openSUSE/cdrom/en.tlk concordant
/etc/bootsplash/themes/openSUSE/cdrom/en.tlk
Fichier binaire /etc/bootsplash/themes/openSUSE/bootloader/message concordant
/etc/bootsplash/themes/openSUSE/bootloader/message
# gdm/kdm/xdm should switch to 7 or so automatically.
/etc/default/splashy
org.kde.kcontrol.kcmkdm.managefaces auth_admin_keep
org.kde.kcontrol.kcmkdm.managethemes auth_admin_keep
org.kde.kcontrol.kcmkdm.save auth_admin
/etc/polkit-default-privs.standard
# or changing runlevel to 3 and back to 5 for xdm is needed.
/etc/sysconfig/ulimit
## Config: OpenOffice.org,groff,ispell,kde,kdm,profiles,susehelp,susewm,tetex,wdm
/etc/sysconfig/language
## Type: string(kdm,kdm3,kdm4,xdm,gdm,wdm,entrance,console)
# Here you can set the default Display manager (kdm/xdm/gdm/wdm/entrance/console).
DISPLAYMANAGER="kdm"
# Allow remote access (XDMCP) to your display manager (xdm/kdm/gdm). Please note
# that a modified kdm or xdm configuration, e.g. by KDE control center
# will not be changed. For gdm, values will be updated after change.
# XDMCP service should run only on trusted networks and you have to disable
# Determine who will be able to shutdown or reboot the system in kdm. Valid
# equal to "all", everything else is equal to "root"). gdm respects the
## Config: kdm3
# space separated list of users for which icons should be shown in KDM
KDM_USERS=""
# Special greeting words in kdm
KDM_GREETSTRING=""
# Defines extra Server Arguments given to the kdm display manager when
DISPLAYMANAGER_KDM_LOCALARGS=""
# Define the theme to be used by kdm. If empty, the traditional login
DISPLAYMANAGER_KDM_THEME="openSUSE"
# This settings currently works only with KDM.
/etc/sysconfig/displaymanager
## Name: xdmcp
## Description: Allow other hosts to access your display manager via XDMCP
UDP="xdmcp"
BROADCAST="xdmcp"
/etc/sysconfig/SuSEfirewall2.d/services/xdmcp
<logon>gdm</logon>
<packages>gdm branding-openSUSE</packages>
<logon>kdm</logon>
<packages>kdm branding-openSUSE</packages>
<logon>lxdm</logon>
<logon>xdm</logon>
<logon>xdm</logon>
/etc/YaST2/control.xml
# if gdm passes the language to Xsession, we should not override this
# The test for $GDM_LANG needs to be changed slightly as soon as other
if test -n "$GDM_LANG" ; then
echo "/etc/X11/xim: use GDM_LANG=$GDM_LANG"
/etc/X11/xim
XDMDIR=${ETCDIR}/xdm
# Background picture for plain xdm:
background=${XDMDIR}/BackGround.xpm
xvkbdargs="-compact -geometry -0-0 -xdm -always-on-top -keyfile /usr/share/X11/app-defaults/xvkbd.default"
# Check if xdm is running
xdmpid=/var/run/xdm.pid
xdmroot=/usr/bin
xdm=no
test -x ${xdmroot}/xdm && \
/sbin/checkproc -p $xdmpid ${xdmroot}/xdm &> /dev/null && xdm=yes
# Check if kdm is running
kdmpid=/var/run/kdm.pid
kdm=no
test -x ${kde3root}/kdm && \
/sbin/checkproc -p $kdmpid ${kde3root}/kdm &> /dev/null && kdm=yes
test -x ${kde4root}/kdm && \
/sbin/checkproc -p $kdmpid ${kde4root}/kdm &> /dev/null && kdm=yes
# Check if gdm is running
gdmpid=/var/run/gdm.pid
gdm=no
test -x ${gnome2root}/gdm && \
/sbin/checkproc -p $gdmpid ${gnome2root}/gdm &> /dev/null && gdm=yes
if test "$kdm" = "yes" -a -x ${BINDIR}/kvkbd; then
# xvkbd in xdm do be able to input username and password
# First kdm/gdm choise, then xdm/user choise and
if test "$xdm" = "no" ; then
if test "$xdm" = "yes" ; then
# No xconsole for kdm/gdm case
test "$xdm" = "no" && exit 0
/etc/X11/xdm/Xsetup
# If you also have some X terminals connected which do not support XDMCP,
# on and connected to the network, else kdm will have a tougher time
# use such a line to enable the console login option in the kdm menu
# "reserve" means that the X server gets only started on request (only kdm)
/etc/X11/xdm/Xservers
# by the Xsession script of the xdm with
/etc/X11/xdm/sys.xsession
XDM configuration for SuSE Linux
xdm-config: The configuration of xdm.
for XDM-AUTHENTICATION-1 which is default for xterminals
see man page of xdm and the manual coming with the
NOTE: In order to use XDMCP this feature the resource
DisplayManager.requestPort in xdm-config should
be commented out to enable XDMCP.
Xaccess: The XDMCP access control file, see note above.
Xresources: Disable the possibility to abort the xdm display
Xservers in xdm-config.
Xwilling: Generate the status line at a XDMCP broadcast query
/etc/X11/xdm/README.SuSE
! xdm-config: Configuration of the xdm
DisplayManager.errorLogFile: /var/log/xdm.errors
DisplayManager.pidFile: /var/run/xdm.pid
DisplayManager.authDir: /var/lib/xdm
DisplayManager.keyFile: /etc/X11/xdm/xdm-keys
DisplayManager.servers: /etc/X11/xdm/Xservers
DisplayManager.accessFile: /etc/X11/xdm/Xaccess
DisplayManager.willing: su nobody -c /etc/X11/xdm/Xwilling
! For XDM-AUTHENTICATION-1 which is default for xterminals see
! manual page of xdm and the manual coming with the xterminal.
DisplayManager.*.setup: /etc/X11/xdm/Xsetup
DisplayManager.*.chooser: /etc/X11/xdm/RunChooser
DisplayManager.*.startup: /etc/X11/xdm/Xstartup
DisplayManager.*.session: /etc/X11/xdm/Xsession
DisplayManager.*.reset: /etc/X11/xdm/Xreset
DisplayManager*resources: /etc/X11/xdm/Xresources
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
/etc/X11/xdm/xdm-config
! Xresources: Setup the resources used by xdm
!xlogin*logoFileName: /etc/X11/xdm/pixmaps/XFree86.xpm
!xlogin*logoFileName: /etc/X11/xdm/pixmaps/XFree86bw.xpm
Chooser*label.label: XDMCP Host Menu from CLIENTHOST
/etc/X11/xdm/Xresources
XDMDIR=${ETCDIR}/xdm
background=${XDMDIR}/BackGround.xpm
kdmdesktop=/opt/kde/bin/kdmdesktop
# Check if kdm is running and does its own background
pidof -s kdm > /dev/null 2>&1
if test $? -eq 0 -a -x $kdmdesktop ; then
backprg=$kdmdesktop
# Check if gdm is running and if so set the Xresources
pidof -s gdm > /dev/null 2>&1
$xrdb -override -retain ${XDMDIR}/Xresources
/etc/X11/xdm/RunChooser
cachedir=/var/cache/xdm
mapfile=/etc/X11/xdm/Keyboard.map
/etc/X11/xdm/keytable
XDMDIR=${ETCDIR}/xdm
xsetup=${XDMDIR}/Xsetup
${XDMDIR}/GiveDevices
/etc/X11/xdm/Xstartup
# Put X terminals which don't support XDMCP in this file; you will
# xdm will have a tougher time managing them.
/etc/X11/xdm/Xservers.fs
XDMDIR=${ETCDIR}/xdm
${XDMDIR}/TakeDevices
/etc/X11/xdm/Xreset
XDMDIR=$XETCDIR/xdm
# GDM seems to handle this its self
test -z "$GDMSESSION" || break
# Once if KDM does handle this its self
#test -z "$KDMSESSION" || break
# Window manager provided later by KDM/GDM
# Handle arguments given by xdm/kdm/gdm.
syssess=$XDMDIR/sys.xsession
/etc/X11/xdm/Xsession
if test -r $r/etc/X11/xdm/Xservers -a $r/etc/sysconfig/displaymanager -nt $r/etc/X11/xdm/Xservers; then
file=$r/etc/X11/xdm/Xservers
if test -r $r/etc/X11/xdm/xdm-config -a $r/etc/sysconfig/displaymanager -nt $r/etc/X11/xdm/xdm-config; then
file=$r/etc/X11/xdm/xdm-config
/etc/X11/xdm/SuSEconfig.xdm
# $XFree86: xc/programs/xdm/config/Xaccess,v 1.4 2003/07/09 15:27:40 tsi Exp $
# Access control file for XDMCP connections
# DisplayManager.requestPort in xdm-config
# should be commented out to enable XDMCP.
# To control which addresses xdm listens for requests on:
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# The third form tells xdm to handle indirect queries using the chooser;
# The fifth form tells xdm which addresses to listen for incoming connections
# on. If present, xdm will only listen for connections on the specified
# In all cases, xdm uses the first entry which matches the terminal;
# you can control which interfaces accept XDMCP packets by listing a LISTEN
# multicast addresses for XDMCP, where X in the prefix may be replaced
/etc/X11/xdm/Xaccess
XDMCP and Security (or how use Xterminals with XDM)
By default XDMCP is disabled, this means that a remote Xterminal
can not contact this XDM. In order to use XDMCP the resource line
with DisplayManager.requestPort in the file xdm-config should be
commented out. This enables the XDMCP port with the default port
allow or deny contact on the XDMCP port. For some example see
the manual page of xdm(1), section `XDMCP ACCESS CONTROL' and the
To force a rescan of Xaccess and xdm-config within a running XDM
kill -HUP `cat /var/run/xdm.pid`
The change of DisplayManager.requestPort requires a restart of XDM.
/etc/X11/xdm/README.security
<Filename>gnome-gdmflexiserver-xnest.desktop</Filename>
<Filename>gnome-gdmflexiserver.desktop</Filename>
<Filename>gnome-gdmsetup.desktop</Filename>
/etc/xdg/menus/applications.menu
# runlevel 5 is Full multiuser with network and xdm
# is occupied by the programm xdm.
# This is for the package xdmsc, after installing and
/etc/inittab
# Already done by the GDM
test -z "$GDM_LANG" || return
/etc/profile.d/lang.sh
# Already done by the GDM
if ( ${?GDM_LANG} ) goto end
/etc/profile.d/lang.csh
Wallpaper=/usr/share/kde4/apps/kdm/themes/SUSE/Background.jpeg
/etc/kde4/kdm/backgroundrc
<obsoletepackage>ibvexdmtools</obsoletepackage>
/etc/products.d/openSUSE.prod
/var/log/xdm.errors {
/etc/logrotate.d/xdm
<allow own="org.kde.kcontrol.kcmkdm"/>
/etc/dbus-1/system.d/org.kde.kcontrol.kcmkdm.conf |
Partager