如何在ssh登录的情况下配置好vino

1.传输文件

2.ssh

sudo dpkg -i ~/swap/deb/tight*
sudo cp ~/swap/vino.desktop /etc/xdg/autostart/
vncserver :

3.vnc

vino-preferences

4.ssh

sudo apt-get autoremove tightvncserver

5. use vino!

附:

https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=38922#p321344

Ok, using vino, step by step. Checked with 2013-02-09-wheezy-raspbian with the updates up-to-date.
1. Enable "desktop on boot" if not done earlier

CODE: SELECT ALL
sudo raspi-config
chose: boot_behaviour     Start desktop on boot?

2. Reboot or go to runlevel 5 (init 5)
3. Install the vino server.

CODE: SELECT ALL
sudo apt-get install vino

4. After the desktop appears, open a terminal window and execute the vine preferences script

CODE: SELECT ALL
vino-preferences

it will open a window similar to the one included in my initial post. Set the permissions and access mode as per your intentions. You only need to do it once (unless you want later to alter the settings). The preferences will be set for the user currently owning the desktop so for the default setting it will be for the pi user.

5. Create an autostart file (below using a terminal window and my favorite editor).

CODE: SELECT ALL
sudo nano /etc/xdg/autostart/vino.desktop

The content of mine:

CODE: SELECT ALL
[Desktop Entry]
Type=Application
Exec=/usr/lib/vino/vino-server
Hidden=false
NoDisplay=true
Name=vino
Comment=shared access desktop server

6. Log-out and log back in for the desktop session
7. Check whether what you want is there (it takes some time for vine-server to kick-off so please wait a bit)

CODE: SELECT ALL
sudo netstat -nlp | grep vino
tcp        0      0 0.0.0.0:5800            0.0.0.0:*               LISTEN      2757/vino-server
tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      2757/vino-server

最新文章

  1. [转]An introduction to OAuth 2.0 using Facebook in ASP.NET Core
  2. Fd.Service 轻量级WebApi框架
  3. HTTP API开发
  4. C#中用RichTextBox实现图文混排和保存的例子
  5. Linux静态库生成指南
  6. 拖动控件 javascript原生,兼容IE6-11、chrome、firefox、Opera、Safari
  7. JAVA面试题基础部分(三)
  8. Wcf 之 配置文件解析
  9. ios开发图片点击放大
  10. linux命令——磁盘命令mkdir
  11. 文件上传(FileUpload控件)
  12. win8 mysqlzip install
  13. Performing User-Managed Database-18.4、Restoring Datafiles and Archived Redo Logs
  14. myBatis源码之Configuration
  15. MyCP
  16. 用javascript写原生ajax(笔记)
  17. DOM事件监听器
  18. In Compiler.php line 36: Please provide a valid cache path.
  19. [Week17] 个人阅读作业
  20. 移动web开发(三)——字体使用

热门文章

  1. 架构设计经典案例:X窗体系统
  2. JIRA运行太慢,修改JVM
  3. Servlet第七课:ServletContext HttpSession 以及HttpServletRequest之间的关系
  4. 初步认识Tensorflow
  5. udhcp源码详解(三)上 之配置信息的读取
  6. PHP中常见的header类型
  7. Receiver type ‘X’ for instance message is a forward declaration
  8. YTU 2556: 空洞
  9. 以太坊源码学习 – EVM
  10. POJ - 1422 Air Raid(DAG的最小路径覆盖数)