David Chmelik composed on 2024-06-19 04:39 (UTC): > On Tue, 18 Jun 2024 22:39:15 -0400, Felix Miata wrote:
>> David Chmelik composed on 2024-06-19 02:24 (UTC): >>> How can I disable GUI/X for next boot? I just want to run it when I >>> decide as startx/startxfce/etc. >> # systemctl get-default # reports bootup state # systemctl set-default >> graphical.target sets GUI as default state # systemctl set-default >> multi-user.target brings system up without GUI running >> For a single boot to finish at multi-user, simply append 3 to the end of >> the (usually wrapped) linu line after striking E key at the default Grub >> menu selection. If already using multi-user.target default, append 5 to >> linu line to get a full GUI boot. > What about in the case I use SysVInit so don't have systemctl? One way, rather extreme but effective, would be to find a distribution neither systemd nor Debian based. Many have or had more than Debian's two sustaining runlevels. E.g. Fedora, Mageia and openSUSE and those much like them before systemd existed are where those numbers 3 & 5 came from. Whereas in Debian there were only 1/S and 2 for sustaining runlevels, for simply single and everything, the others had more granularity: 1/S-single/recovery 2-multiuser with partial networking 3-full multiuser (everything except X) 4-unused 5-full multiuser plus X Slackware uses 4 instead of 5 but otherwise is the same, and still focused on SysV. I never did learn any easy way to do as requested in Debian prior to systemd. I didn't use it much then either. For me, systemd has mostly been an advantage over SysV tradition. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata