Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 93c1331494e925a8a01c5cdd71c6c5a9 > files > 6

autologin-1.0.0-33.mga3.src.rpm

#!/bin/bash -login
# Use vt1 here to because it corresponds with the tty1 value hardcoded inside
# autologin source. This is somewhat fragile, but then the whole autologin
# package is somewhat fragile too.
# The tty used when speaking to PAM and the vt used by X *must* match up in
# order for the session to be considered "active" by logind (and thus for all
# ACLs etc. to work as expected)
exec /usr/bin/startx "$@" -- vt1