<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BizSmooth——企顺学校博客 &#187; 自动运行程序</title>
	<atom:link href="http://blog.bizsmooth.com/?feed=rss2&#038;tag=%E8%87%AA%E5%8A%A8%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F" rel="self" type="application/rss+xml" />
	<link>http://blog.bizsmooth.com</link>
	<description>企顺学校老师和同学们的交流园地</description>
	<lastBuildDate>Wed, 04 Feb 2026 12:22:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>【转帖】树莓派入门之自动登陆及自动运行程序</title>
		<link>http://blog.bizsmooth.com/?p=1119</link>
		<comments>http://blog.bizsmooth.com/?p=1119#comments</comments>
		<pubDate>Thu, 02 Jan 2014 03:19:50 +0000</pubDate>
		<dc:creator>李 伟斌</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[操作系统]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Pi]]></category>
		<category><![CDATA[raspberryPi]]></category>
		<category><![CDATA[raspbian]]></category>
		<category><![CDATA[企顺]]></category>
		<category><![CDATA[树莓派]]></category>
		<category><![CDATA[自动登陆]]></category>
		<category><![CDATA[自动运行程序]]></category>

		<guid isPermaLink="false">http://blog.bizsmooth.org/?p=1119</guid>
		<description><![CDATA[如果把树莓派(raspberry pi)做成一个智能电器的话，一旦上电，它必须支持几个动作：1.自动登录 2.自动运行startx启动窗口系统 3.窗口系统启动后，自动运行自定义的程序(一般是应用主界面) 研究了一下，是这样做的  实现自动登录：修改/etc/inittab文件 sudo nano /etc/inittab 向下滚动，找到行               1:2345:respawn:/sbin/getty 115200 tty1 注释掉这一行，修改为       #1:2345:respawn:/sbin/getty 115200 tty1 在该行下增加一行内容       1:2345:respawn:/bin/login -f pi tty1 &#60;/dev/tty1 &#62;/dev/tty1 2&#62;&#38;1 按Ctrl+X退出，记得按Y键保存 原理：linux启动时，会读取inittab文件，执行其中的登录命令，以pi用户名自动登录 实现自动运行startx启动窗口系统： 修改/etc/rc.local文件 sudo nano /etc/rc.local &#8230; <a href="http://blog.bizsmooth.com/?p=1119">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.bizsmooth.com/?feed=rss2&amp;p=1119</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
