Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #192830

Re: Wheezy to Stretch

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Wheezy to Stretch
Date 2018-02-21 19:20 +0100
Message-ID <vlH9L-1Ry-1@gated-at.bofh.it> (permalink)
References <vlGQp-1uo-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Feb 21, 2018 at 05:45:51PM +0000, Kleene, Steven (kleenesj) wrote:
> With sysvinit, I would set initdefault to runlevel 3
> in /etc/inittab.  In /etc/rc3.d, I would rename gdm3 so that I would boot
> into a terminal interface (command line) instead of Gnome.  Then I would
> quickly install fvwm, call startx, and happily finish building.
> 
> I know systemd doesn't have inittab.  Will the default installation leave me
> with a terminal interface whenever I boot?  If not, how will I accomplish
> that?

Systemd does not have runlevels, but it is being developed primarily
by and for Red Hat systems, and therefore it *mimics* the Red Hat
runlevels remarkably.

Instead of runlevels, systemd has a "default target", which is the set
of services that should be brought up at boot time.  Which is basically
a runlevel by a different name.

The default target of systemd in Debian is "graphical.target", which
means that if you have installed a Display Manager (gdm3, lightdm,
etc.) it will be started at boot time.

If you don't want that, the other default target you can use is
named "multi-user.target".  This one will not run a Display Manager.

You can check your default target by running "systemctl get-default".

You can set your default target by running "systemctl set-default foo".

If you simply want to boot *once* into multi-user.target without
changing the default target, you can edit the kernel command line
and add the option "systemd.unit=multi-user.target".

Which is a whole lot more typing than adding the option "2" used to
be, but is otherwise almost 100% equivalent.

Another way you can achieve the goal of "not booting into a Display
Manager" is to remove your Display Manager package.  You can always
add it back later.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Wheezy to Stretch "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-02-21 19:00 +0100
  Re: Wheezy to Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-21 19:20 +0100
    Re: Wheezy to Stretch Felix Miata <mrmazda@earthlink.net> - 2018-02-21 19:40 +0100
  Re: Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-02-21 19:50 +0100
    Re: Wheezy to Stretch deloptes <deloptes@gmail.com> - 2018-02-21 20:20 +0100
      Re: Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-02-21 20:30 +0100
        Re: Wheezy to Stretch deloptes <deloptes@gmail.com> - 2018-02-21 21:20 +0100
    Re: Wheezy to Stretch john doe <johndoe65534@mail.com> - 2018-02-21 20:20 +0100
    Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-21 21:50 +0100
      Re: Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-02-21 22:00 +0100
      Re: Wheezy to Stretch rhkramer@gmail.com - 2018-02-22 04:10 +0100
        Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-22 08:10 +0100
          Re: Wheezy to Stretch rhkramer@gmail.com - 2018-02-22 14:10 +0100
          Re: Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-02-22 15:00 +0100
            Re: Wheezy to Stretch deloptes <deloptes@gmail.com> - 2018-02-22 18:40 +0100
              RE: Wheezy to Stretch "Kleene, Steven (kleenesj)" <kleenesj@UCMAIL.UC.EDU> - 2018-02-22 18:50 +0100
      Re: Wheezy to Stretch Liam O'Toole <liam.p.otoole@gmail.com> - 2018-02-22 11:30 +0100
  Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-21 19:50 +0100
    Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-21 22:00 +0100
      Re: Wheezy to Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-21 22:10 +0100
        Re: Wheezy to Stretch Sven Joachim <svenjoac@gmx.de> - 2018-02-21 22:40 +0100
          Re: Wheezy to Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-21 23:00 +0100
            Re: Wheezy to Stretch Sven Joachim <svenjoac@gmx.de> - 2018-02-21 23:20 +0100
              Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-22 01:00 +0100
        Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-21 22:40 +0100
      Re: Wheezy to Stretch deloptes <deloptes@gmail.com> - 2018-02-21 22:40 +0100
        Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-21 22:50 +0100
          Re: Wheezy to Stretch Karol Augustin <karol@augustin.pl> - 2018-02-21 23:20 +0100
            Re: Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-02-22 01:20 +0100
          Re: Wheezy to Stretch deloptes <deloptes@gmail.com> - 2018-02-22 08:20 +0100
            Re: Wheezy to Stretch Andy Smith <andy@strugglers.net> - 2018-02-22 11:20 +0100
  Re: Wheezy to Stretch Patrick Bartek <nemommxiv@gmail.com> - 2018-02-22 03:50 +0100

csiph-web