Monday, January 12, 2015

Voidlinux with openbox automatic login 2 solutions

Had problem with automatic login in Void/Openbox
Solution found here
Edit run file /etc/sv/agetty-tty1/run by changing in the 9th line:
GETTY_ARGS="--noclear"   to
GETTY_ARGS="-a paul --noclear"
Change name to your own username of course.

but
@pablokal RE:autologin: should mention that any changes made to /etc/sv/agetty-tty1/run will be lost each time package runit-void is updated.
i decided to just run lxdm autostart instead, to save having to fix this each time.

lxdm autostart
To log in to one account automatically on startup, without providing a password, find the line in /etc/lxdm/lxdm.conf that looks like this:
#autologin=paul
 
Be sure to edit your sudoers file in /etc/
 # EDITOR=nano visudo
with this permission
paul  ALL=(ALL) NOPASSWD: ALL

No comments:

Blog Archive