文章目录
✅💖⚠️▶️➡️🌿🍀🍄🌟⭐❄️✅💖⚠️▶️➡️🌿🍀🍄🌟⭐❄️✅💖⚠️▶️➡️🌿🍀🍄🌟⭐❄️✅💖⚠️
一:命令行登录
1.查看jetson nano的ip地址
- 通过ifconfig查看:对应eth0下的inet—>我这里是10.16.29.129
2.在windows上打开putty
- 下载地址:点击
- 正常安装即可
3.输入jetson账户和密码完成登录
二、图形界面登录
1. 安装 Vino
在 Linux 系统中,若要实现图形界面远程登录功能,首先需要安装 Vino 工具。Vino 是一款基于 GNOME 桌面环境的 VNC 服务器软件,它允许用户从远程计算机连接到本地桌面进行操作。执行以下命令进行安装:
sudo apt install vino
该命令会利用系统的包管理工具 apt
,在具有管理员权限(sudo
)的情况下,从软件源中下载并安装 Vino 及其相关依赖。
2. 编辑 org.gnome.Vino 配置文件
安装完成后,需要对 Vino 的配置文件进行编辑,以启用远程访问功能。配置文件 org.gnome.Vino.gschema.xml
定义了 Vino 的各种配置选项和默认值。使用以下命令打开该配置文件进行编辑:
sudo gedit /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
在打开的配置文件中,需要在文件末尾添加以下 XML 配置内容:
<key name="enabled" type="b">
<summary>Enable remote access to the desktop</summary>
<description>
If true, allows remote access to the desktop via the RFB
protocol. Users on remote machines may then connect to the
desktop using a VNC viewer.
</description>
<default>false</default>
</key>
这段配置定义了一个名为 enabled
的配置项,类型为布尔值(b
)。其作用是控制是否启用远程桌面访问功能。当该值设置为 true
时,允许通过 RFB(Remote Frame Buffer)协议从远程机器访问本地桌面,用户可以使用 VNC 查看器连接到本地桌面。默认情况下,该值为 false
,即远程访问功能处于关闭状态。
3. 编译 Gnome 配置模式
完成配置文件的编辑后,需要编译 Gnome 的配置模式,使新添加的配置生效。执行以下命令:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
此命令会扫描指定目录下的所有配置模式文件,并将它们编译成二进制格式,以便 Gnome 系统能够正确读取和应用这些配置。
4. 启动 Vino 服务器
完成上述步骤后,即可启动 Vino 服务器,开始提供远程桌面访问服务。执行以下命令启动 Vino 服务器:
/usr/lib/vino/vino-server
启动成功后,本地计算机将开始监听 VNC 连接请求,远程用户可以使用 VNC 客户端软件连接到本地桌面,实现远程操作。
通过以上步骤,您就完成了在 Linux 系统中基于 Vino 工具的图形界面远程登录配置。
3.安装配置dconf-editor
- dconf-editor安装命令:
sudo apt-get install dconf-editor
- dconf-editor配置
注意一定要用当前用户来运行,不能加sudo 。
打开 dconf-editor 命令:dconf-editor
选择:org > gnome > desktop > remote-access
去掉prompt-enabled 和 require-encryption 的勾。
这时图形界面已经可以分享了
4.window下载VNC Viewer
下载网址:点击
正常安装之后就有这个界面
0表示默认显示的序号
当然也可以设置为:1为root用户 2为一般用户
成功显示的情况如下
5.设置开机启动
如果测试能用就可以在jetson nano上设置开机
1.Startup Applications
2.点右方加入
3.名称:StartVinoServer
4.指令:/usr/lib/vino/vino-server
然后就可以sudo reboot,重新连接图形界面测试
✅💖⚠️▶️➡️🌿🍀🍄🌟⭐❄️✅💖⚠️▶️➡️🌿🍀🍄🌟⭐❄️✅💖⚠️▶️➡️🌿🍀🍄🌟⭐❄️✅💖⚠️