[Buildroot] auto login

Mauro Condarelli mc5686 at mclink.it
Thu May 26 12:11:05 UTC 2016


Hi Gdbabu.

Il 26/05/2016 11:53, gdbabu Krishnan ha scritto:
> HI,
>
> i am working with buildroot for raspberry pi, i have successfully  build image for pi board, i have some doubts,
>
>
> 1. how can i do  auto login
>
> 2.run X11 after boot completed by "startx" command.
It depends on which kind od startup (/sbin/init) You are using.
Assuming You are using the basic Busybox init (or any kind of sysV init) you have
to modify /etc/inittab.

This is normal *nix administration and has nothing to do with Buildroot.
Notice "init" service provided by Busybox is rather limited compared to standard
sysV init; see https://git.busybox.net/busybox/tree/examples/inittab

For Your problems make sure You have something like:|

::askfirst:-/bin/sh|
|||::respawn:/usr/bin/startx|
||

|Regards Mauro |





More information about the buildroot mailing list