首页 > 系统相关 >ubuntu禁用图形界面

ubuntu禁用图形界面

时间:2023-10-16 10:13:45浏览次数:39  
标签:set target default 禁用 图形界面 ubuntu systemctrl

1,查询默认的启动级别: systemctrl get-default

2,设置命令行模式:systemctrl set-default multi-user.target

3,设置图形模式:systemctl set-default graphical.target

 

标签:set,target,default,禁用,图形界面,ubuntu,systemctrl
From: https://www.cnblogs.com/sudochen/p/17766750.html

相关文章

  • 华为云Ubuntu安装合集
    华为云Ubuntu安装yumsudoapt-getinstallyumaliasyum='sudoapt-get'安装宝塔面板wikijshexo安装hexoinit失败gittortoisegittortoisegit使用......
  • [Ubuntu 20.04] 修复‘systemd-shutdown[1]: waiting for process: crond’需等待1分
    由于在2020-2021年期间下载过Linux版本的FreeDownloadManager(简称FDM,一款免费但不开源的跨平台下载工具),而该软件的官网被挂了木马,因此在此期间下载安装过FDM的Linux用户,其定时任务crond中都被挂上了木马。具体现象为,关机时需要等待1分30秒,系统显示‘systemd-shutdown[1]:waiti......
  • ORBSLAM3 安装及测试教程(Ubuntu20.04)
    1.准备工作1.1安装依赖sudoaptinstallgitcmakegccg++mlocate1.2下载ORBSLAM3源码可以去Github下载源码:https://github.com/UZ-SLAMLab/ORB_SLAM3或者终端内下载:gitclonehttps://github.com/UZ-SLAMLab/ORB_SLAM3.git2.安装Pangolin可以去Github下载源......
  • ubuntu安装docker
    在Ubuntu上安装Docker非常简单。按照以下步骤进行操作:更新系统软件包列表:CopyCodesudoaptupdate安装必要的软件包,以便使用HTTPS源进行下载:CopyCodesudoaptinstallapt-transport-httpsca-certificatescurlsoftware-properties-common添加Docker官方的GPG......
  • Ubuntu下Tiny6410 嵌入式 Qt 开发环境的搭建
    原文:https://www.pianshen.com/article/73721187848/Ubuntu下Tiny6410嵌入式Qt开发环境的搭建首先要准备好交叉编译所需要的软件包:(1)arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz(交叉编译环境)(2)qt-everywhere-opensource-src-4.8.5.tar.gz(Qt的源码)(3)qt-creator-linux-x86_64-ope......
  • ubuntu 安装cp210x驱动
    目录驱动包下载编译安装驱动包下载下载Linux版本需要先注册账号编译安装#查看内核版本uname-rmake(yourcp210xdriver)cpcp210x.koto/lib/modules/<kernel-version>/kernel/drivers/usb/serialinsmod/lib/modules/<kernel-version/kernel/drivers/usb/serial......
  • Ubuntu18.04下使用PHP7.2的连接sql server数据库
     一、简介SQLServer是由Microsoft开发和推广的关系数据库管理系统(DBMS),它最初是由Microsoft、Sybase和Ashton-Tate三家公司共同开发的,并于1988年推出了第一个OS/2版本。MicrosoftSQLServer近年来不断更新版本,1996年,Microsoft推出了SQLServer6.5版本;1998年,SQLServer7.0版本......
  • ubuntu18.04环境下编译支持debuginfod的gdb
    ubuntu18.04环境下编译支持debuginfod的gdb介绍Ubuntu22.10版本才默认安装debuginfod,对于之前的发行版都需要手动配置。gdb从10.1版本才开始支持debuginfod,而Ubuntu旧的发行版里gdb都低于10.1版本。另外,debuginfod被包含在elfutils里面,且从elfutils-0.178版本后才支持,而Ubuntu......
  • 启动wsl ubuntu 报错
    解决方案:1、管理员打开PwoerShell2、输入Enable-WindowsOptionalFeature-Online-FeatureNameMicrosoft-Windows-Subsystem-Linux(如下图所示)  ......
  • clang bug in ubuntu
    Whencompile,clangdropthiserror: /usr/bin/ld:cannotfind-lstdc++:NosuchfileordirectoryAftercheckandreinstalldependency,thisproblemdidn'tgone.Andifindoutthissolutuion:https://stackoverflow.com/a/74605488/3068259Insummary,t......