Jetson配置远程访问Jupyter(附有若干访问配置)
昨天安装东西也看到了,串口虽然很方便的连接,但是速度慢一些还有一个线拖着,不潇洒。。。但是又没有网口,那一定是用SSH了

不管怎么说,还是先串口连接上

其实内部就有一些文档了,我们看看有啥
sudo apt update
sudo apt install network-manager
sudo service NetworkManager start

网络配置工具,下载一下
sudo nmcli device wifi connect 'SSID' password 'PASSWORD'
在网卡可以使用的前提下,使用这个命令来连接WIFI

现在是USB1,看inet的地址
192.168.42.202

这个命令打印网络设备情况

打印网络设备状态

以及使能情况

我的网卡可以使用,不用安装驱动
显示可以连接的WiFi名称
sudo nmcli device wifi connect pixel password 17221317

直接连接

可以看到有wlan0了
192.168.43.197

SSH连接失败(想不通呢)

但是可以ping的通

在看看ip
ip neigh 了解一下?
配置一下Jupyter:
jupyter-notebook --generate-config

先执行,生成配置文件
sudo nano .jupyter/jupyter_notebook_config.py
nano编辑

远程这个地方改是

ip在这个地方

一开始是本地回环,改了

任何地址都可以访问

配置是打开浏览器吗?这里写不要!
Ctrl+O Ctrl+X
jupyter-notebook

但是在我的机器上直接连接是断的

卡住了
尝试配置VNC:
sudo apt update
sudo apt install vino
----------------------------------------------------------------------
使能VNC服务
----------------------------------------------------------------------
# 使能VNC,开启时登录
mkdir -p ~/.config/autostart
cp /usr/share/applications/vino-server.desktop ~/.config/autostart
# 配置VNC服务
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false
# 设置登录密码
# 写你的密码
gsettings set org.gnome.Vino authentication-methods "['vnc']"
gsettings set org.gnome.Vino vnc-password $(echo -n 'thepassword'|base64)
# 重启保存效果
sudo reboot
----------------------------------------------------------------------
连接
----------------------------------------------------------------------
ifconfig
----------------------------------------------------------------------
The desktop resolution is typically determined by the capabilities of the
edit
# 适配分辨率
/etc/X11/xorg.conf and append the following lines:
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Tegra0"
SubSection "Display"
Depth 24
Virtual 1280 800 # Modify the resolution by editing these values
EndSubSection
EndSection
https://www.realvnc.com/en/connect/download/viewer/

这里安装VNC
supervisor
试试这个神器

注意到一个静态IP

直接就连上了,真好

VSCode这个地方也试试

太厉害了,输入了这个

出现的是个浏览器

我们也可以在VSCode里面连接使用

乳沟不想重复输入密码,记得配置密码进去

不得不说,静态IP真舒服,我怎么就不知道呢

然后新建一个jupyter,选择3.6.9的版本

补全,执行成功
赞 (0)