- Code: Select all
# Start X as user if tty7 is free
if ! fuser /dev/tty7 >& /dev/null; then
su - <username> -l -c 'exec startx -- vt7 >& ~/.xsession-errors' &
fi
Replace <username> with your login name. From gentoo wiki.
+ apt-get remove slim
You probably do not have to do this step as long as you do the next, but if you do be warned slim is NOT in the default repos of antiX. You will have to get it from the sid repos or elsewhere. Keep the slim.conf when/if you reinstall unless you want to add fluxbox slim.conf yourself.
+ update-rc.d -f slim remove
+ In /etc/X11/Xwrapper.config add/change the line allowed_users to
- Code: Select all
allowed_users=anybody
I'm not entirely sure how safe this is, but it is a work around to the error "user not authorized to run the x server." There has to be another way to do this, but I am only figuring this out for others since I do not even use autologin myself.
Now you should automatically load up logged in.
Related Post: http://antix.freeforums.org/auto-login- ... -t502.html
