auto login to bash?
i tried a script that edited etc/event.d/tty1 but it locked up on me. im running f10 under colinux and would like it to login and run a script to connect to xming auto, and have for the most part accomplished the latter half.
|
Don't understand what you are trying to do ? you trying to run a script upon login to FC10 ?
|
im trying to skip the login altogether. i dont want to have to put in my pass. i know when your running gnome it can be done (easier on older ver since they removed the option in newer) but im not actually running gnome, only bash.
what i had originally done is replace the line in "/etc/event.d/tty1", "/sbin/mingetty tty1" with "/sbin/autologin tty1 -f login root" . autologin being a script i had gotten from another site. the problem was when it ran whatever i had setup to run after it wouldnt respond. |
Follow the steps in this thread:
http://www.linuxquestions.org/questi...ut-gui-374338/ See post #5 (by win32sux) in that thread, and edit your .bash_profile accordingly to get your script running. cheers, |
bash-3.2# gcc autologin.c -o /sbin/autologin
autologin.c: In function 'main': autologin.c:2: warning: incompatible implicit declaration of built-in function 'execlp' |
lolz... simple solution found in 'man mingetty'. changed
"exec /sbin/mingetty tty1" to "exec /sbin/mingetty --autologin root tty1" in /etc/event.d/tty1 BTW. in F10, /etc/inittab contains # Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and # /etc/event.d/serial so... yeah... thanks though! |
All times are GMT -5. The time now is 02:59 PM. |