文章目录 debian11禁止桌面启动禁止桌面环境,纯命令行启动启用桌面环境 debian11禁止桌面启动 禁止桌面环境,纯命令行启动 前提:系统已经安装了桌面环境,需要禁止桌面环境,以纯命令行启动,节约性能 修改默认的运行模式 systemctl set-default multi-user.target 查看当前系统运行模式 systemctl get-default 重启 systemctl reboot 启用桌面环境 修改默认的运行模式 systemctl set-default graphical.target 重启 systemctl reboot