Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 51:27:51 |
Calls: | 422 |
Files: | 1,025 |
Messages: | 90,551 |
I would like to start a small server in what used to be known as run level 3, i.e. with no graphical interface. I tried setting GRUB_CMDLINE_LINUX="3" in /etc/default/grub and running update-grub, but this had no effect.
What is the correct way of booting Debian 12 without a graphical interface?
On Tue, Apr 29, 2025 at 13:58:31 +0200, Roger Price wrote:
What is the correct way of booting Debian 12 without a graphical interface?
For the long-term solution, what you want is
systemctl set-default multi-user.target
I would like to start a small server in what used to be known as run level 3, i.e. with no graphical interface. I tried setting GRUB_CMDLINE_LINUX="3" in /etc/default/grub and running update-grub, but this had no effect.
What is the correct way of booting Debian 12 without a graphical interface?
On Tue, 2025-04-29 at 08:03 -0400, Greg Wooledge wrote:
Your run levels are incorrect. "3" included the graphical Display
Manager and "2" did not.
Level 0 is shutdown
Level 1 is single user
Level 2 is multi user
Level 3 is multi user with networking
Level 4 is not used
Level 5 is GUI
Level 6 is reboot
On Tue, 2025-04-29 at 08:03 -0400, Greg Wooledge wrote:
Your run levels are incorrect.á "3" included the graphical Display
Manager and "2" did not.
Level 0 is shutdown
Level 1 is single user
Level 2 is multi user
Level 3 is multi user with networking
Level 4 is not used
Level 5 is GUI
Level 6 is reboot
Is the break in communication between Grub and the kernel, or
the kernel and systemd? I'm not best qualified to answer that,
because my graphical.target.wants includes solely udisks2.service,
and I suspect that I don't even depend on that. Is a DM startup
placed only in graphical.target.wants, and not multi-user.t.w?
Date: Tue, 29 Apr 2025 13:06:44 -0700
From: Van Snyder <van.snyder@sbcglobal.net>
To: debian-user@lists.debian.org
Subject: Re: Starting Debian 12 in run level 3
Resent-Date: Tue, 29 Apr 2025 20:07:08 +0000 (UTC)
Resent-From: debian-user@lists.debian.org
On Tue, 2025-04-29 at 13:46 -0400, Greg Wooledge wrote:
Level 0 is shutdown
Level 1 is single user
Level 2 is multi user
Level 3 is multi user with networking
Level 4 is not used
Level 5 is GUI
Level 6 is reboot
Your list matches <https://en.wikipedia.org/wiki/Runlevel#Linux_Standard_Base_specification> which shows what LSB defines for runlevels, which I believe is derived
from Red Hat.
IIRC, it was the same in Unix Version 7, which Kernighan ? or was it Johnson or Richie? ? said was an improvement on all of its successors. And in BSD and SunOS and Solaris.
IIRC, it was the same in Unix Version 7, which Kernighan — or was it Johnson or Richie? — said was an improvement on all of its successors.
And in BSD and SunOS and Solaris.
On older debians runlevel 2 had X11.