1 |
To auto log-in, I use a feature of "agetty": |
2 |
|
3 |
On /etc/inittab: |
4 |
|
5 |
# TERMINALS |
6 |
# c1:12345:respawn:/usr/bin/fbi -a -noverbose --nocomments |
7 |
/etc/splash/natural_altec/images/silent-1024x768.jpg |
8 |
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux |
9 |
c2:2345:respawn:/sbin/agetty 38400 tty2 linux |
10 |
c3:2345:respawn:/sbin/agetty 38400 tty3 linux |
11 |
c4:2345:respawn:/sbin/agetty 38400 tty4 linux |
12 |
c5:2345:respawn:/sbin/agetty 38400 tty5 linux |
13 |
c6:2345:respawn:/sbin/agetty -a AutoLogInUserName 38400 tty6 linux |
14 |
|
15 |
And for auto run, after auto log-in accomplished, I use ".bash_profile" on |
16 |
the auto logged-in user's home directory. |
17 |
|
18 |
Hope this helps |
19 |
Francisco |
20 |
|
21 |
|
22 |
2014-03-28 11:15 GMT-03:00 Peter Humphrey <peter@××××××××××××.uk>: |
23 |
|
24 |
> On Saturday 22 Mar 2014 19:37:35 Neil Bothwick wrote: |
25 |
> > On Sat, 22 Mar 2014 13:57:22 +0000, Peter Humphrey wrote: |
26 |
> > > I've installed that old favourite SysRescCD on a pen drive, following a |
27 |
> > > method I found on the Web to include a persistent file-system with all |
28 |
> > > the extras I wanted in, e.g., /usr/local/bin. |
29 |
> > > |
30 |
> > > It works well, except that I haven't found yet where to put all my |
31 |
> > > aliases to have them sourced at (auto) log-in. |
32 |
> > |
33 |
> > There is a file that is executed by default at login, I think it |
34 |
> > is .autorun. I remember having to add an option to ignore it on the |
35 |
> > LXFDVDs because we use .autorun on those to launch a browser. |
36 |
> |
37 |
> I had a poke around and didn't get anywhere with .autorun, but eventually I |
38 |
> found that SysRescCD uses zsh, not bash. It hadn't occurred to me until |
39 |
> then |
40 |
> to consider the shell. So that's why the auto-login function wasn't |
41 |
> behaving |
42 |
> the way I expected. |
43 |
> |
44 |
> Thanks again Neil. |
45 |
> |
46 |
> -- |
47 |
> Regards |
48 |
> Peter |
49 |
> |
50 |
> |
51 |
> |