树莓派 VNC 远程桌面 同一个桌面

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
时间: 2024-08-16 06:40:50

树莓派 VNC 远程桌面 同一个桌面的相关文章

树莓派vnc远程桌面

在没有显示器的情况下,可以使用putty远程终端登录树莓派.然而,所有的操作都要通过输入命令来执行,这对于习惯了桌面可视化操作的我们来说一时可能难以适应. 一种解决的方法是使用vnc远程桌面. 首先要在树莓派上安装VNC服务. 打开putty登录上树莓派,输入以下命令: sudo apt-get install tightvncserver 确保你的树莓派能够连接上互联网,树莓派会自动联网下载相应的包,中途会询问你是否确认安装,输入y后回车,根据你的网络情况会花费一定的时间安装vnc服务: 安装

windows利用vnc远程连接linux桌面

经常见到客户利用vnc连接linux图形化桌面,自己也动手弄来玩玩 1.linux上面安装vnc server yum install vnc* 2. /etc/init.d/vncserver start失败 vi /etc/sysconfig/vncservers最后两行 3./etc/init.d/vncserver start失败,提示could not open default font 'fixed'错误主要是缺少相关字体,yum安装即可: 4.vi .vnc/xstartup 5.

Win7 VNC远程连接Centos桌面

一,安装Linux桌面: yum -y groupinstall Desktop yum -y groupinstall "X Window System" yum -y groupinstall chinese-support vi /etc/sysconfig/i18n 将en_US改成zh_CN 二.安装VNCServer服务包: 1,安装VNCServer服务端软件包. #yum -y install vnc *vnc-server* 2,改动VNCServer主配置文件 #v

树莓派VNC Viewer 远程桌面配置教程

作为一个刚入门的小白,你还在为如何配置树莓派的远程桌面控制苦恼? 是否希望能够每次在树莓派上无须接上显示器.键盘.鼠标以及走到放置你的树莓派的地方就可以运行指令! 在这篇树莓派文章中,你将学到如何在树莓派中启用 VNC Viewer以及之后如何通过 VNC 进入树莓派. 步骤一:启动树莓派VNC服务 VNC 在树莓派上是默认关闭的,因此在你安装好全新的 Raspbian 后打开树莓派时,你需要启用它. 首先通过菜单进入树莓派的配置界面. 现在进入接口interfaces标签,启动 VNC并重启你

54树莓派VNC无法显示桌面

现象: 树莓派接有显示器,VNC正常工作. 不接显示器,vnc远程用不了. 问题原因: 树莓派接有显示器,hdmi监视器开启,自动获取屏幕分辨率,初始化开启,不接就不行. 首先确保VNC服务正常开启 解决: 1 开启桌面自动登录 sudo raspi-config 退出时候 2 修改桌面默认分辨率,默认的可能是自动获取屏幕的分辨率,没有屏幕就不行了.但是我们设定一个固定值. sudo raspi-config sudo reboot 用VNC Viewer登录即可见到最新的树莓派系统. 原文地址

XRDP+VNC远程桌面访问Linux系统

1.安装XRDP 使用rdp协议访问远程Linux桌面 一般情况下,如果需要登陆远程Linux系统,我们会使用ssh/telnet来完成,如果需要登陆到远程Linux系统的桌面环境,我们可能会使用VNC. VNC是大部分Linux发行版默认的基于RFB协议的远程桌面程序,但对于普通用户来说,VNC的用户体验并不好,比较慢,还需要安装客户端. Windows的远程桌面基于RDP协议,在Linux下,我们也是可以找到开源的rdpserver的,这就是xrdp. 下面,我来和大家介绍安装centos下

centos 6.3上vnc远程桌面配置

vncserver基本的配置过程: 1.安装软件: #yum install tigervnc tigervnc-server -y 2.启动vnc服务 #vncserver You will require a password to access your desktops. Password: Verify: 这里提示输入密码,这个密码是通过vnc远程登录的密码,与系统本身的密码没有关系,然后输入确认密码 3.修改配置文件/etc/sysconfig/vncserver #VNCSERVE

windows下使用vnc viewer远程连接Linux桌面

在windows下使用vnc viewer远程连接Linux桌面,主要配置步骤: Linux: 1.rpm -qa vnc //查看是否安装vnc服务,如果没有安装,可以使用yum,或者rpm进行安装 2.修改配置文件: vim /etc/sysconfig/vncservers,如下图修改 3.设置vnc密码: vncpasswd 4.启动vncserver: service vncserver start 5.更改xstartup配置: vim /root/.vnc/xstartup,如下图

macOS 开启 VNC 远程桌面和 SSH 服务

macOS 开启 VNC 远程桌面和 SSH 服务 准备用 macOS 来做为服务器,既然是服务器,那不可缺少的是远程管理,实际上 macOS 自带 VNC 远程桌面和 SSH 服务,只是默认没有开启,下面我们来开启它们. 一.开启 VNC macOS 开启 VNC 服务可以实现远程桌面控制,方法是:系统偏好设置 -> 共享,打开屏幕共享,添加相应的账号就可以了,如下图: 客户端那边如果也是 macOS,就在浏览器输入 IP 地址,比如:vnc://192.168.4.92,就会打开屏幕共享的客