<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Reg: Auto-Login and run a script Automatically</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289264#M34706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time I start my imx6q sabre lite board, it always asks me to enter login: root , so I have tried this way to auto login, in my /usr/bin, I create a autologin script contains this:&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;BR /&gt;exec /bin/login -f root&lt;BR /&gt;then in /etc/inittab, I have changed&lt;BR /&gt;#mxc1:12345:respawn:/bin/start_getty 115200 ttymxc&lt;BR /&gt;to follows&lt;BR /&gt;mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200 ttymxc1&lt;/P&gt;&lt;P&gt;but when I reboot the board, it doesn't auto login, and it display: &lt;BR /&gt;INIT: Id "mxc1" respawning too fast: disabled for 5 minutes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know where is wrong and how I should modify this file? I attached my inittab file, thanks in advance!&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;# /etc/inittab: init(8) configuration.&lt;BR /&gt;# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $&lt;/P&gt;&lt;P&gt;# The default runlevel.&lt;BR /&gt;id:5:initdefault:&lt;/P&gt;&lt;P&gt;# Boot-time system configuration/initialization script.&lt;BR /&gt;# This is run first except when booting in emergency (-b) mode.&lt;BR /&gt;si::sysinit:/etc/init.d/rcS&lt;/P&gt;&lt;P&gt;# What to do in single-user mode.&lt;BR /&gt;~~:S:wait:/sbin/sulogin&lt;/P&gt;&lt;P&gt;# /etc/init.d executes the S and K scripts upon change&lt;BR /&gt;# of runlevel.&lt;BR /&gt;#&lt;BR /&gt;# Runlevel 0 is halt.&lt;BR /&gt;# Runlevel 1 is single-user.&lt;BR /&gt;# Runlevels 2-5 are multi-user.&lt;BR /&gt;# Runlevel 6 is reboot.&lt;/P&gt;&lt;P&gt;l0:0:wait:/etc/init.d/rc 0&lt;BR /&gt;l1:1:wait:/etc/init.d/rc 1&lt;BR /&gt;l2:2:wait:/etc/init.d/rc 2&lt;BR /&gt;l3:3:wait:/etc/init.d/rc 3&lt;BR /&gt;l4:4:wait:/etc/init.d/rc 4&lt;BR /&gt;l5:5:wait:/etc/init.d/rc 5&lt;BR /&gt;l6:6:wait:/etc/init.d/rc 6&lt;BR /&gt;# Normally not reached, but fallthrough in case of emergency.&lt;BR /&gt;z6:6:respawn:/sbin/sulogin&lt;BR /&gt;mxc1:12345:respawn:/bin/start_getty 115200 ttymxc1&lt;BR /&gt;#mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200 ttymxc1&lt;BR /&gt;# /sbin/getty invocations for the runlevels.&lt;BR /&gt;#&lt;BR /&gt;# The "id" field MUST be the same as the last&lt;BR /&gt;# characters of the device (after "tty").&lt;BR /&gt;#&lt;BR /&gt;# Format:&lt;BR /&gt;# &amp;lt;id&amp;gt;:&amp;lt;runlevels&amp;gt;:&amp;lt;action&amp;gt;:&amp;lt;process&amp;gt;&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;1:12345:respawn:/sbin/getty 38400 tty1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 16:26:33 GMT</pubDate>
    <dc:creator>yanggao</dc:creator>
    <dc:date>2017-08-31T16:26:33Z</dc:date>
    <item>
      <title>Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289260#M34702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I would like to have a program starting right after boot. I have made some research about it but I could not find any solution for my problem until now. I want to connect the power supply of my board, it will boot, automatically login, run a script automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone give me a hint how to automatically run a program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/LeonardoSandovalGonzalez"&gt;LeonardoSandovalGonzalez&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/shanmugamsundar"&gt;shanmugamsundar&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 07:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289260#M34702</guid>
      <dc:creator>vishvapathi</dc:creator>
      <dc:date>2014-01-07T07:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289261#M34703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this package adds a script that is executed on startup&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Freescale/meta-fsl-demos/tree/master/recipes-fsl/fsl-rc-local" title="https://github.com/Freescale/meta-fsl-demos/tree/master/recipes-fsl/fsl-rc-local"&gt;https://github.com/Freescale/meta-fsl-demos/tree/master/recipes-fsl/fsl-rc-local&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script itself is empty. But I think you could use this as an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 18:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289261#M34703</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2014-01-07T18:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289262#M34704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwapathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make autologin you can use an autologin script located in /usr/bin. This script should contain following data.&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;/P&gt;&lt;P&gt;exec /bin/login -f usename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to change the /etc/inittab getty login line as follows&lt;/P&gt;&lt;P&gt;tty1::respawn:/sbin/getty -L tty1 115200 vt100 # GENERIC_SERIAL //original&lt;/P&gt;&lt;P&gt;tty1::respawn:/sbin/getty -l /usr/bin/autologin -n -L tty1 115200 vt100 # GENERIC_SERIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After login init is executing one of the profile script. You can start your application in one of the profile script located in /etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;RayBizTech.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 07:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289262#M34704</guid>
      <dc:creator>Raybiztech</dc:creator>
      <dc:date>2014-01-08T07:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289263#M34705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It Works&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Raybiztech"&gt;Raybiztech&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 10:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289263#M34705</guid>
      <dc:creator>vishvapathi</dc:creator>
      <dc:date>2014-01-08T10:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289264#M34706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time I start my imx6q sabre lite board, it always asks me to enter login: root , so I have tried this way to auto login, in my /usr/bin, I create a autologin script contains this:&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;BR /&gt;exec /bin/login -f root&lt;BR /&gt;then in /etc/inittab, I have changed&lt;BR /&gt;#mxc1:12345:respawn:/bin/start_getty 115200 ttymxc&lt;BR /&gt;to follows&lt;BR /&gt;mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200 ttymxc1&lt;/P&gt;&lt;P&gt;but when I reboot the board, it doesn't auto login, and it display: &lt;BR /&gt;INIT: Id "mxc1" respawning too fast: disabled for 5 minutes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know where is wrong and how I should modify this file? I attached my inittab file, thanks in advance!&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;# /etc/inittab: init(8) configuration.&lt;BR /&gt;# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $&lt;/P&gt;&lt;P&gt;# The default runlevel.&lt;BR /&gt;id:5:initdefault:&lt;/P&gt;&lt;P&gt;# Boot-time system configuration/initialization script.&lt;BR /&gt;# This is run first except when booting in emergency (-b) mode.&lt;BR /&gt;si::sysinit:/etc/init.d/rcS&lt;/P&gt;&lt;P&gt;# What to do in single-user mode.&lt;BR /&gt;~~:S:wait:/sbin/sulogin&lt;/P&gt;&lt;P&gt;# /etc/init.d executes the S and K scripts upon change&lt;BR /&gt;# of runlevel.&lt;BR /&gt;#&lt;BR /&gt;# Runlevel 0 is halt.&lt;BR /&gt;# Runlevel 1 is single-user.&lt;BR /&gt;# Runlevels 2-5 are multi-user.&lt;BR /&gt;# Runlevel 6 is reboot.&lt;/P&gt;&lt;P&gt;l0:0:wait:/etc/init.d/rc 0&lt;BR /&gt;l1:1:wait:/etc/init.d/rc 1&lt;BR /&gt;l2:2:wait:/etc/init.d/rc 2&lt;BR /&gt;l3:3:wait:/etc/init.d/rc 3&lt;BR /&gt;l4:4:wait:/etc/init.d/rc 4&lt;BR /&gt;l5:5:wait:/etc/init.d/rc 5&lt;BR /&gt;l6:6:wait:/etc/init.d/rc 6&lt;BR /&gt;# Normally not reached, but fallthrough in case of emergency.&lt;BR /&gt;z6:6:respawn:/sbin/sulogin&lt;BR /&gt;mxc1:12345:respawn:/bin/start_getty 115200 ttymxc1&lt;BR /&gt;#mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200 ttymxc1&lt;BR /&gt;# /sbin/getty invocations for the runlevels.&lt;BR /&gt;#&lt;BR /&gt;# The "id" field MUST be the same as the last&lt;BR /&gt;# characters of the device (after "tty").&lt;BR /&gt;#&lt;BR /&gt;# Format:&lt;BR /&gt;# &amp;lt;id&amp;gt;:&amp;lt;runlevels&amp;gt;:&amp;lt;action&amp;gt;:&amp;lt;process&amp;gt;&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;1:12345:respawn:/sbin/getty 38400 tty1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289264#M34706</guid>
      <dc:creator>yanggao</dc:creator>
      <dc:date>2017-08-31T16:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289265#M34707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Does anyone know?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289265#M34707</guid>
      <dc:creator>yanggao</dc:creator>
      <dc:date>2017-09-01T15:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Auto-Login and run a script Automatically</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289266#M34708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can modify to ----------&amp;gt;mxc1:12345:respawn:/sbin/getty -l /usr/bin/autologin -n 115200 ttymxc1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 07:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reg-Auto-Login-and-run-a-script-Automatically/m-p/289266#M34708</guid>
      <dc:creator>andy_q</dc:creator>
      <dc:date>2018-05-08T07:46:11Z</dc:date>
    </item>
  </channel>
</rss>

