无法将运行级别从 5 更改为 3

idg*_*gar 5 init runlevel

我正在尝试通过运行sudo init 3命令从运行级别 5 更改为运行级别 3 。
出于某种原因,它不再做任何事情。
奇怪的是,如果我运行命令,runlevel它会显示我在level 3.
试图运行init 5,然后init 3仍然没有。

有谁知道如何解决它?

小智 6

联机帮助页:

   Runlevels are a concept from UNIX(R)  System  V  used  by  the  init(8)
   daemon  or other system initialisation system to define modes of system
   operation.
   The Upstart init(8) daemon has no  native  concepts  of  runlevel,  and
   unlike  the  System  V  daemon,  makes  no attempt to keep track of the
   current runlevel.
Run Code Online (Sandbox Code Playgroud)

Ubuntu和其他现代的Linux发行版已经取代System V init新贵:

Upstart 是 /sbin/init 守护进程的基于事件的替代品,它在启动期间处理任务和服务的启动,在关闭期间停止它们并在系统运行时监督它们。

如果您必须runlevel 3通过停止您的gdmlightdm服务切换到现在最接近的方式。