Raspberry Pie Initialization setting and installing VNCSSH up after the first thing is to update Debian:sudo apt-get update, after the upgrade is completed restart;
In the SSH terminal input sudo raspi-config, here need to open a few options: expand_rootfs– to extend the root partition to the entire SD card; change_pass– The default user name is pi, the password is raspberry; change_timezone– Change Time zone, select Asia–shanghai; Configure_keyboard, select 中文版 (US); change_locale– change the language settings and select en_US. UTF-8 and ZH_CN. When the UTF-8 setting is complete, select Finish to indicate whether to reboot and select Yes
Install VNC server (Debian) on raspberry pie: sudo apt-get install tightvncserver install VNC client on PC (Fedora): sudo yum-y install Tigervnc If your PC is a Windows system, you can download TightVNC install other common software: sudo apt-get install-y git build-essential vim Tmux Curl 2.1 on the raspberry pie VNC First to modify VNC password: SSH terminal to perform vncpasswd, and then enter two password. Create vnc-server configuration file: sudo vi/etc/init.d/tightvncserver, enter the following in this file:
### BEGIN INIT INFO # provides:tightvncserver # Required-start: $local _fs # required-stop: $local _fs # D Efault-start:2 3 4 5 # default-stop:0 1 6 # short-description:start/stop Tightvncserver ### end INIT INFO # M Ore details: # HTTP://WWW.PENGUINTUTOR.COM/LINUX/TIGHTVNC ### Customize This entry # Set the USER variable to the NAM
E of the user to start Tightvncserver under Export user= ' pi ' ### end customization required eval CDs ~ $USER case "$" in Start) Su $USER-C '/usr/bin/tightvncserver-depth 16-geometry 800x600:1 ' echo ' starting TIGHTVNC server for $
USER ";;
Stop) Su $USER-C '/usr/bin/tightvncserver-kill:1 ' echo "Tightvncserver stopped";;
*) echo "Usage:/etc/init.d/tightvncserver {start|stop}" exit 1;; ESAC Exit 0
Then add execution permissions and start the service:
sudo chmod +x/etc/init.d/tightvncserver
sudo service tightvncserver stop
sudo service tightvncserver start
Install the Chkconfig and set the VNC service to boot:
sudo apt-get install chkconfig
chkconfig--add tightvncserver chkconfig tightvncserver on
Connect with a PC, remember to add a raspberry address: ip:1, for example, the raspberry pie IP is 192.168.1.100, then the VNC Viewer will fill in the 192.168.1.100:1