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


Groups > linux.debian.user > #270265

Re: disable GUI/X?

From Franco Martelli <martellif67@gmail.com>
Newsgroups linux.debian.user
Subject Re: disable GUI/X?
Date 2024-06-19 21:00 +0200
Message-ID <IR8Hf-46LD-7@gated-at.bofh.it> (permalink)
References <IQTfb-3VYI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 19/06/24 at 04:24, David Chmelik wrote:
> How can I disable GUI/X for next boot?  I just want to run it when I
> decide as startx/startxfce/etc.
> 

When I occasionally need to boot in the CLI instead of the GUI I boot 
the system in "recovery mode", it's an option of the GRUB's menu shown 
at boot time in "Advanced options for Debian...." menu.
Then, after given the root's password, I switch to multi-user target 
with the command:

~# systemctl isolate multi-user.target

When you end jobs with the CLI you can switch to the GUI with "startx". 
To enable "recovery mode" in GRUB you need to edit /etc/default/grub 
file and comment out the line:

#GRUB_DISABLE_RECOVERY="true"

It's a default setting, so it should be already comment out.

Cheers,
-- 
Franco Martelli

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


Thread

disable GUI/X? David Chmelik <dchmelik@gmail.com> - 2024-06-19 04:30 +0200
  Re: disable GUI/X? Felix Miata <mrmazda@earthlink.net> - 2024-06-19 04:40 +0200
    Re: disable GUI/X? Greg Wooledge <greg@wooledge.org> - 2024-06-19 05:00 +0200
      Re: disable GUI/X? David Chmelik <dchmelik@gmail.com> - 2024-06-19 10:50 +0200
    Re: disable GUI/X? David Chmelik <dchmelik@gmail.com> - 2024-06-19 06:50 +0200
      Re: disable GUI/X? Felix Miata <mrmazda@earthlink.net> - 2024-06-19 07:10 +0200
        Re: disable GUI/X? David Chmelik <dchmelik@gmail.com> - 2024-06-19 10:50 +0200
          Re: disable GUI/X? Hans <hans.ullrich@loop.de> - 2024-06-19 11:00 +0200
          Re: disable GUI/X? Felix Miata <mrmazda@earthlink.net> - 2024-06-19 12:30 +0200
      Re: disable GUI/X? <tomas@tuxteam.de> - 2024-06-19 08:50 +0200
        Re: disable GUI/X? David Chmelik <dchmelik@gmail.com> - 2024-06-19 11:00 +0200
          Re: disable GUI/X? Dan Ritter <dsr@randomstring.org> - 2024-06-19 12:40 +0200
        Re: disable GUI/X? Toni Mas Soler <antomassol@gmail.com> - 2024-06-19 11:50 +0200
  Re: disable GUI/X? Franco Martelli <martellif67@gmail.com> - 2024-06-19 21:00 +0200

csiph-web