blob: 25fc92c6636df3ade48b0126592da0cba5a89e7b (
about) (
plain)
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
|
The LXDM login manager can be made the preferred login manager of Slackware
in runlevel 4 (graphical login) by editing the file /etc/rc.d/rc.4 -
Use the patch below to add LXDM right at the top before GDM/KDM/XDM.
Run these two commands (use the full path to the rc.4.patch file if you
keep it in another directory than '/etc/rc.d' ):
# cd /etc/rc.d
# cat /full/path/to/rc.4.patch | patch -p0
Eric Hameleers <alien@slackware.com>
--- rc.4.orig 2007-03-27 03:12:55.000000000 +0200
+++ rc.4 2009-09-12 00:24:58.000000000 +0200
@@ -12,6 +12,13 @@
# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."
+# Try to use LXDM login manager. This comes first because if
+# LXDM is on the machine then the user probably installed it and wants
+# to use it by default:
+if [ -x /usr/bin/lxdm ]; then
+ exec /usr/bin/lxdm
+fi
+
# Try to use GNOME's gdm session manager. This comes first because if
# gdm is on the machine then the user probably installed it and wants
# to use it by default:
|