I'm trying to get a console based server to auto login with a specified user name. I found a couple of tutorials, but I can't seem to get them to work.
I found this one http://ubuntuforums.org/showthread.php?t=31310 and one with the exact some instructions, but I can't get them to work. When I get to the
sudo gcc -o autologin autologin.c
it gives me the following errors:
autologin.c: In function ‘main’:
autologin.c:2: warning: incompatible implicit declaration of built-in function ‘execlp’
autologin.c:2: warning: missing sentinel in function call
I'm no coder, so I'm not sure what exactly I'm looking at, or what might be causing the error. I have gcc-4.3 installed on 32bit 8.10 Ubuntu Server Edition computer.
Edited to fix spelling error.
Bookmarks