jupyter-notebook
启动命令
/home/jetson/.local/bin/jupyter notebook /home/jetson/jupyter_notebook_config.py –allow-root
设置自启动命令
- 在合适位置(/home/jetson)新建文件
new_service.py
#!/bin/bash
#command content
/home/jetson/.local/bin/jupyter notebook /home/jetson/jupyter_notebook_config.py –allow-root
exit 0
- 设置自启动
- 要设置自动登录
配置远程桌面
参考这个
https://www.cnblogs.com/cloudrivers/p/12110117.html
sudo apt install vino
sudo vi /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.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>
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
/usr/lib/vino/vino-server # 好像会报错,不过没关系
sudo apt-get install dconf-editor
dconf-editor
/usr/lib/vino/vino-server --display=:0
sudo apt-get install xrdp vnc4server xbase-clients
进入windows远程桌面会闪退
参考这个
https://blog.csdn.net/weixin_44967177/article/details/107869100
sudo vim/etc/xrdp/startwm.sh
注释最下面的test和exec两行
增加新的一行 gnome-session
sudo apt-get install xfce4
echo xfce4-session >~/.xsession
touch .session
sudo vim/etc/xrdp/startwm.sh
在打开的startwm.sh文件前面加
xfce4-session
sudo service xrdp restart
远程桌面无法打开 终端Terminal
参考这个
https://blog.csdn.net/xiao__wen/article/details/106121671
sudo update-alternatives --config x-terminal-emulator
选择xterm 对应的编号