


设置完以后,确定后,就进入主界面ok啦。


4.摆脱HDMI转VGA线,从ssh&VNC开始 树莓派的官方下同raspbian自带了x window,因此是可以使用它的GUI界面,但是ssh是不支持图形界面的,所以使用ssh开启vnc,用vnc来实现桌面可视化。首先确保电脑和PI是在同一个局域网内(我使用的是两个网线分别连接电脑和PI,再都连接到同一个路由器) >>PI开启ssh 默认情况下,树莓派已经开启了SSH服务,如果因为其他原因没有开启ssh服务,可以通过sudo raspi-config 启用ssh >>windows登陆ssh windows端选用工具PuTTY,下载地址http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ,免安装,进入登陆界面,在Hos Name(or IP address)中输入PI的IP地址,然后Open
.png)

.png)

.png)

.png)

.png)

IP是你的树莓派的IP,端口号就是上面ssh中New 'X' desktop is raspberrypi:1加上5900,因此现在可以连接的端口号是5901。当然你可以再次执行vncserver -geometry 1024x768,那么New 'X' desktop is raspberrypi:2,可以连接的端口号就是5901和5902,以此类推。点击连接按钮,需要输入前面设置过的VNC登陆密码,登陆成功后的效果.
Done