V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
androids
V2EX  ›  Linux

Kali linux 怎么设置开机进入字符模式?

  •  
  •   androids · Sep 11, 2015 · 5114 views
    This topic created in 3894 days ago, the information mentioned may be changed or developed.

    系统里没有 /etc/inittab 这个文件,试过改 /etc/default/grub 也没用,请问怎么设置?

    6 replies    2015-09-12 22:02:30 +08:00
    babytomas
        1
    babytomas  
       Sep 11, 2015 via Android
    好像 init 1 之后重启也还是单用户的
    junnplus
        2
    junnplus  
       Sep 12, 2015 via Android
    干掉 x 服务
    firebroo
        3
    firebroo  
       Sep 12, 2015   ❤️ 1
    如果是 systemed 的话,通过 systemctl set-default multi-user.target ,也就是相当于原本的 /etc/inittab 里面设置为 init 3 level 。
    o02VFqu3gZnZfX8n
        4
    o02VFqu3gZnZfX8n  
       Sep 12, 2015   ❤️ 1
    grub 是系统引导,尽量不要修改

    Linux 从命令行开启图形界面的命令是 startx ,对应 ~/.xinitrc 文件里面的 exec startkde

    自动开启图形界面,如果用的是 systemed ,对应的是 systemctl ebable kdm (gdm )

    想禁用的话,关掉 kdm 或者 gdm 试试, systemctl disable kdm (gdm )
    Smirnoff
        5
    Smirnoff  
       Sep 12, 2015
    androids
        6
    androids  
    OP
       Sep 12, 2015
    谢谢楼上各位,才知道有个这样的好东西。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3257 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 13:42 · PVG 21:42 · LAX 06:42 · JFK 09:42
    ♥ Do have faith in what you're doing.