码迷,mamicode.com
首页 > 其他好文 > 详细

新版树莓派中内置的real-vnc-server

时间:2017-03-12 18:25:11      阅读:6922      评论:0      收藏:0      [点我收藏+]

标签:cut   ssh   building   conf   start   nts   man   util   ssi   

买了个树莓派3B,下载了最新的“2017-01-11-raspbian-jessie.img”镜像,启动后试图安装VNC服务,按照网上的教程输入:

sudo apt-get install tightvncserver

提示会安装“tightvncserver xfonts-base”, 同时会删除"realvnc-vnc-server":

pi@raspberrypi:~ $ sudo apt-get install tightvncserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  xfonts-base
Suggested packages:
  tightvnc-java
The following packages will be REMOVED:
  realvnc-vnc-server
The following NEW packages will be installed:
  tightvncserver xfonts-base
0 upgraded, 2 newly installed, 1 to remove and 148 not upgraded.
Need to get 6,736 kB of archives.
After this operation, 18.4 MB disk space will be freed.
Do you want to continue? [Y/n] 

看来树莓派已经内置VNC服务了,就不再需要安装tightvncserver了。

在树莓派的网站搜索“vnc",找到这个链接:

https://www.realvnc.com/docs/raspberry-pi.html#raspberry-pi-setup

select Menu > Preferences > Raspberry Pi Configuration > Interfaces and make sure VNC is set to Enabled.

Alternatively, run the command sudo raspi-config, navigate to Advanced Options > VNC and select Yes.

From now on, VNC Server will start automatically every time you boot your Raspberry Pi. See how to stop VNC Server.

它说这样就可以开机自动启动VNC服务了,不过我没有成功,还是先手动开启吧:

vncserver :1

然后就可以通过vnc view 登录了。

用户名:pi

密码:raspberry


关于手机登录,vnc view 的安卓APP在国内好多应用市场里都没有,google play里也下载不下来,总是闪退,后来在百度应用里找到一个,将就用吧。

如果不好找,我在这里放一个下载

 链接:http://pan.baidu.com/s/1eRNQuKa 密码:rxbo

 

新版树莓派中内置的real-vnc-server

标签:cut   ssh   building   conf   start   nts   man   util   ssi   

原文地址:http://www.cnblogs.com/weiwus/p/6538476.html

(0)
(2)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!