x11-autologin: added a few notes
Looks like nodm doesn't reset the PATH set within /etc/rc.d/init.d/functions which results in sbin path components hitting user's PATH; livecd-install which uses consolehelper was what broke first for me. And this link should illustrate some of the problems tackled by this kind of scripts...
This commit is contained in:
parent
922a2759b0
commit
fe56fda2f3
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
# see also http://www.enricozini.org/2008/tips/lightweight-autologin/
|
||||
|
||||
if [ ! -x /usr/bin/X ]; then
|
||||
echo "SKIP autologin: X not installed" >&2
|
||||
@ -105,6 +106,7 @@ if [ -f "$KDMRC" ]; then autologin_kdm "$KDMRC"; fi
|
||||
|
||||
## nodm autologin (the last since the most intrusive)
|
||||
# FIXME nodm and xinitrc should be modified (also in p6)
|
||||
# WARNING: check user PATH if things go weird!
|
||||
NODM_RC=/etc/sysconfig/nodm
|
||||
NODM_EXE=/usr/sbin/nodm
|
||||
if [ -x "$NODM_EXE" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user