Jetson nano 启动进入桌面或启动进入终端切换
终端模式
启动默认进入终端模式,执行:
sudo systemctl set-default multi-user.target
桌面模式
启动默认进入桌面模式,执行:
sudo systemctl set-default graphical.target
set-default NAME
Set the default target to boot into. This sets (symlinks) the default.target alias to the given target unit.
get-default
Return the default target to boot into. This returns the target unit name default.target is aliased (symlinked) to.
Disable GUI
To disable GUI on boot, run:
sudo systemctl set-default multi-user.target
Enable GUI
To enable GUI again issue the command:
sudo systemctl set-default graphical.target
To start Gnome session on a system without a current GUI just execute:
sudo systemctl start gdm3.service
参考链接
http://manpages.ubuntu.com/manpages/bionic/man1/systemctl.1.html