Commit fe56fda2 authored by Michael Shigorin's avatar Michael Shigorin

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...
parent 922a2759
#!/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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment