树莓派 VNC 远程桌面 同一个桌面
如何在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
树莓派 VNC 远程桌面 同一个桌面的更多相关文章
- 12树莓派VNC远程桌面
2017-09-04 23:11:28 http://bbs.elecfans.com/forum.php?mod=viewthread&tid=583803&extra= 开 ...
- 安装vnc远程连接CentOS桌面
1.查看本机是否有安装vnc(centOS5默认有安装vnc) rpm -q vnc vnc-server 如果显示结果为: package vnc is not installedvnc-serve ...
- Win7 VNC远程连接Centos桌面
一,安装Linux桌面: yum -y groupinstall Desktop yum -y groupinstall "X Window System" yum -y grou ...
- Windows使用VNC远程连接Linux桌面系统
sudo yum -y install tigervnc-server #安装 su - your_user #切换用户 vncpasswd #设置密码 sudo cp /lib/systemd/s ...
- 树莓派VNC Viewer 远程桌面配置教程
作为一个刚入门的小白,你还在为如何配置树莓派的远程桌面控制苦恼? 是否希望能够每次在树莓派上无须接上显示器.键盘.鼠标以及走到放置你的树莓派的地方就可以运行指令! 在这篇树莓派文章中,你将学到如何在树 ...
- 05. 树莓派初始配置——开启VNC远程桌面
开启VNC远程桌面 不插显示器就可以看到树莓派系统界面的方式. 1. 如果你下的系统镜像有包含一些基本软件(Raspberry Pi OS with desktop and recommended s ...
- 记一次VNC远程连接Linux问题解决记录(5900端口测试、KDE桌面安装)
最近几天,到一个项目上安装Linux部署环境.由于服务器在机房,而进机房又比较麻烦,于是选择VNC远程连接Linux就显得自然而然了.以前也用过VNC,而且还经常使用,由于各个项目环境不太一样,这次也 ...
- windows xp通过VNC viewer远程连接RHEL5桌面
环境: [root@localhost ~]# cat /etc/issue Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel ...
- windows下使用vnc viewer远程连接Linux桌面(转)
在windows下使用vnc viewer远程连接Linux桌面,主要配置步骤: Linux: 1.rpm -qa vnc //查看是否安装vnc服务,如果没有安装,可以使用yum,或者rpm进行安装 ...
随机推荐
- Oracle APEX 4.2安装和配置
A standard Oracle 11.2.0.3 database installation comes bundled with Application Express (APEX) 3.2.1 ...
- Linux下进程信息的深入分析
这里我们主要介绍进程的状态,进程的状态可以通过/proc/PID/status来查看,也可以通过/proc/PID/stat来查看. 如果说到工具大家用的最多的ps也可以看到进程的信息.这里我们通过/ ...
- linux下weblogic11g成功安装后,启动报错Getting boot identity from user
<2015-7-1 下午05时46分33秒 CST> <Info> <Management> <BEA-141107> <Version: Web ...
- 第一个get请求的爬虫程序
一:urllib库: urllib是Python自带的一个用于爬虫的库,器主要作用就是可以通过代码模拟浏览器发送请求.其被用到子模块在Python3中的urllib.request和urllib.pa ...
- 初识NodeJS服务端开发(Express+MySQL)
http://www.alloyteam.com/2015/03/sexpressmysql/
- Linux内核--基于Netfilter的内核级包过滤防火墙实现
测试内核版本:Linux Kernel 2.6.35----Linux Kernel 3.2.1 原创作品,转载请标明http://blog.csdn.net/yming0221/article/de ...
- bzoj3272: Zgg吃东西&&3267: KC采花
口胡 我们容易得到一个费用流的做法,流出k的流量分配给各个点,各个点向下一个点流费用为它的价值的边,然后汇总到ed 观察发现对于流一次,相当于选择了一个区间 如果流了反向边,相当于减去了这一段 可以用 ...
- 使用JSTL 对在页面上对 0,0,1 的分割处理 forTokens
使用JSTL 对在页面上对 0,0,1 的分割处理 <tr onmouseover="currentcolor=this.style.backgroundColor;this.styl ...
- try-with-resources使用示例
try (InputStream is = new FileInputStream("test")) { is.read(); ... } catch(Exception e) { ...
- Iphone 启动图的尺寸
APP图标设置 - 取Images.xcassets中的AppIcon, 图标尺寸 29pt * 2x => 58 * 5829pt * 3x => 87 * 8740pt * 2x =& ...