translated

This commit is contained in:
zhengsihua 2014-11-22 10:56:06 +08:00
parent a813b7d0c4
commit 2db322fa4b
2 changed files with 61 additions and 63 deletions

View File

@ -1,63 +0,0 @@
Translating----------geekpi
How To Make Raspberry Pi Boot In To GUI By Default
================================================================================
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/raspberry_pi_gui.jpg)
Its been some times since I bought Raspberry Pi but honestly, I hardly did anything with it. Since my Dell Ultrabook is in Dell service center (for weeks now), I started using Raspberry Pi once again as an alternative.
I have previously written about [how to install Raspbian OS on a SD card in Ubuntu][1]. I did the same once again and installed Raspberry Pi once again. Only thing which I missed at the first run was to set up the GUI. And thus when I booted in Raspberry Pi again, I landed in command line directly. So how to you run Raspbian GUI then?
### Set up Raspbian GUI boot ###
When you install Raspbian for the first time, it indeed present several option to configure for the first use. But since I did not pay attention in a hurry, I just tabbed finish on that screen. If you faced the same situation and end up with just command line in Raspbian OS, no need to despair, it is very easy to set up Raspberry Pi to boot in GUI by default. Lets see how to do it.
### Step 1: ###
When you are in the command line, log in with default user password (if you did not change it). Default user for Raspbian OS is pi and the default password should be raspberry.
#### Step 2: ####
When you are logged in, run the following command:
sudo raspi-config
This command will open up the Raspberry Pi configuration, the same which we saw in the first boot.
#### Step 3: ####
In this configuration screen, look for the option of **Enable Boot to Desktop/Scratch**. Select it using a combination of arrow, tab and/or enter keys (I forgot which ones are used).
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/Raspbian_Gui_setup.jpg)
#### Step 4: ####
In the next screen, choose **Desktop Login as user Pi at the graphical desktop.
**
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/Raspbian_Gui_setup_1.jpg)
#### Step 5: ####
Youll be asked to reboot afterwards.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/Raspbian_Gui_setup_2.jpg)
On the next boot, you will be logged in to LXDE desktop environment. And you can enjoy the GUI experience with Raspberry Pi.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/raspbian-welcome-screen-gui.jpeg)
I hope this tutorial helped you to set up your Raspberry Pi to boot in GUI by default. Feel free to drop your questions and suggestions in the comment box.
--------------------------------------------------------------------------------
via: http://itsfoss.com/raspberry-pi-gui-boot/
作者:[Abhishek][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/Abhishek/
[1]:http://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/

View File

@ -0,0 +1,61 @@
如何让树莓派默认以图形界面启动
================================================================================
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/raspberry_pi_gui.jpg)
我买树莓派已经有一段时间了但是实话说我几乎还没有用它做过什么事情。自从我的Dell超级本送到Dell服务中心后已经有数星期了我再次开始使用树莓派作为替代。
我之前已经写过一篇[如何在Ubuntu中在SD卡上安装Raspbian系统][1]。我也重装了一次树莓派。第一次启动的时候我漏掉了一件事情就是设置图形界面。这样当我再次启动树莓派的时候我直接进入了命令行。我该接下来如何运行Respbian图形界面呢
### 设置Raspbian图形启动 ###
入Raspbian系统的命令行界面不用失望因为很容易设置树莓派以图形界面启动。让我们看看该如何做。
### 第一步: ###
当你在命令行时以默认的用户名和密码登录如果你没有修改过。Raspbian的默认用户是pi默认密码应该是raspberry。
#### 第二步: ####
当你登录后,运行下面的命令:
sudo raspi-config
这条命令会打开树莓派的配置,就像我们第一次启动看到的那样。
#### 第三步: ####
在这个配置界面下, 寻找**Enable Boot to Desktop/Scratch**这个选项。用箭头、tab和/或者回车键的组合来选中它(我忘记该使用哪一个了)。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/Raspbian_Gui_setup.jpg)
#### 第四步: ####
下一屏中,选择**Desktop Login as user Pi at the graphical desktop.
**
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/Raspbian_Gui_setup_1.jpg)
#### 第五步: ####
接下来你会被要求重启。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/Raspbian_Gui_setup_2.jpg)
下次启动后你会登录到LXDE桌面环境。接下来你就可以享受树莓派的图形界面了。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/11/raspbian-welcome-screen-gui.jpeg)
我希望这边教程能够帮助你设置你的树莓派默认以图形界面启动。欢迎在评论区留下你的问题和建议。
--------------------------------------------------------------------------------
via: http://itsfoss.com/raspberry-pi-gui-boot/
作者:[Abhishek][a]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/Abhishek/
[1]:http://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/