Re: Debian/Stretch: how to boot in text mode
On Wednesday 01 February 2017 21:56:11 Ennio-Sr wrote: > P:S: I'm answering your message from mutt (in a console) from my laptop > as I messed up with postfix on main PC \o/ Yay!! Goodee!! No more HTML. :-) Long may your main PC be out of action! Lisi
Re: Debian/Stretch: how to boot in text mode
* Felix Miata[010217, 16:08]: > Ennio-Sr composed on 2017-02-01 21:21 (UTC+0100): > > > After upgrading to Stretch I'm unable to find a way to boot with no GUI. > > I tried setting 'GRUB-GFXPAYLOAD_LINUX="text" in /etc/default/grub, > > moving to 'K01gdm3' all 'S??gdm3' instances in /etc/rc?.d, but nothing > > happens. > > You haven't provided your meaning for "text mode". > What I ment was to receive (after booting) a login prompt in tty1 console; then, if and when I need it switch to a new tty and call 'startx' Michael's reply was perfect: it did exactly what I wanted ;-) > Greg and Michael's replies answer how to stop booting to a GUI login manager. > > If instead what you wish is to avoid seeing any GUI effects, but do want to > see boot messages from kernel and scripts as init proceeds, you need to > ensure they have not been turned off by quiet or splash parameters on the > kernel cmdline. Also, Plymouth may have been installed, which is a more > sophisticated form of GUI splash during boot. Maybe all you need to do is > purge Plymouth, and/or eliminate quiet and/or splash from your kernel > cmdline (purge them from both GRUB_CMDLINE_LINUX_DEFAULT= and > GRUB_CMDLINE_LINUX= in /etc/default/grub, then run update-grub). I'll keep in mind your suggestions: for the time being I'm not sure I understand them well. Many thanks to you all (Greg, Michael and youself) for the rapid and efficient answers. Regards, Ennio P:S: I'm answering your message from mutt (in a console) from my laptop as I messed up with postfix on main PC and my messages are being bounced by the list. Now I've got to understand how to solve this new problem... -- [Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?// Fa' qualche cosa di cui non sei capace!" (diceva Henry Miller) ](°|°) [Why use Win$ozz (I say) if ... "even a fool can do that. )=( Do something you aren't good at!" (as Henry Miller used to say) ]
Re: Debian/Stretch: how to boot in text mode
Ennio-Sr composed on 2017-02-01 21:21 (UTC+0100): After upgrading to Stretch I'm unable to find a way to boot with no GUI. I tried setting 'GRUB-GFXPAYLOAD_LINUX="text" in /etc/default/grub, moving to 'K01gdm3' all 'S??gdm3' instances in /etc/rc?.d, but nothing happens. You haven't provided your meaning for "text mode". Greg and Michael's replies answer how to stop booting to a GUI login manager. If instead what you wish is to avoid seeing any GUI effects, but do want to see boot messages from kernel and scripts as init proceeds, you need to ensure they have not been turned off by quiet or splash parameters on the kernel cmdline. Also, Plymouth may have been installed, which is a more sophisticated form of GUI splash during boot. Maybe all you need to do is purge Plymouth, and/or eliminate quiet and/or splash from your kernel cmdline (purge them from both GRUB_CMDLINE_LINUX_DEFAULT= and GRUB_CMDLINE_LINUX= in /etc/default/grub, then run update-grub). -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: Debian/Stretch: how to boot in text mode
Am 01.02.2017 um 21:21 schrieb Ennio-Sr: > Hi all! > > After upgrading to Stretch I'm unable to find a way to boot with no GUI. > I tried setting 'GRUB-GFXPAYLOAD_LINUX="text" in /etc/default/grub, > moving to 'K01gdm3' all 'S??gdm3' instances in /etc/rc?.d, but nothing > happens. > Any help, please? To temporarily boot into text mode, edit the kernel command line in grub and add "systemd.unit=multi-user.target" If you want to make this change permanent, run "systemct set-default multi-user.target" The default is graphical.target, which will start your display manager, like gdm3. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Re: Debian/Stretch: how to boot in text mode
On Wed, Feb 01, 2017 at 09:21:16PM +0100, Ennio-Sr wrote: > After upgrading to Stretch I'm unable to find a way to boot with no GUI. > I tried setting 'GRUB-GFXPAYLOAD_LINUX="text" in /etc/default/grub, > moving to 'K01gdm3' all 'S??gdm3' instances in /etc/rc?.d, but nothing > happens. > Any help, please? The easiest way is to remove whatever display manager is running by default. This works in every version of Debian and is super easy. However, some people want to keep the display manager installed, but prevent it from running at boot time. This is much more difficult and will involve understanding how your init system works. In jessie and stretch, the default init system is called "systemd". It doesn't use /etc/rc*.d/[KS]* symlinks to control services. Instead, you use commands to control it: systemctl status gdm3 systemctl disable gdm3 systemctl stop gdm3 and so on, where "gdm3" is the name of the service that you want to manage. See "man systemctl" for some more details on that particular command, or "man systemd" for a more general starting point. There may even be some special magic required for display managers, above and beyond the init system. If systemctl disable doesn't work, then report back and let us know which DM it is. Maybe someone will know the magic involved in disabling it. ... or you could just remove the package. That will always work.
Debian/Stretch: how to boot in text mode
Hi all! After upgrading to Stretch I'm unable to find a way to boot with no GUI. I tried setting 'GRUB-GFXPAYLOAD_LINUX="text" in /etc/default/grub, moving to 'K01gdm3' all 'S??gdm3' instances in /etc/rc?.d, but nothing happens. Any help, please? Regards, Ennio -- [Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?// Fa' qualche cosa di cui non sei capace!" (diceva Henry Miller) ](°|°) [Why use Win$ozz (I say) if ... "even a fool can do that. )=( Do something you aren't good at!" (as Henry Miller used to say) ]
How to boot to text mode?
Apologies for what may be a very simple question - but I'm new using Debian (migrated from Suse which I've had only been using for a while) but what file do I have to change in Debian 2.1 so that on booting I go straight to text mode to login rather than the graphical login? I know in Suse its the /etc/rc.config Any help appreciated thanks.
Re: How to boot to text mode?
On Mon, Aug 09, 1999 at 07:30:38PM +, Godric wrote: Apologies for what may be a very simple question - but I'm new using Debian (migrated from Suse which I've had only been using for a while) but what file do I have to change in Debian 2.1 so that on booting I go straight to text mode to login rather than the graphical login? I know in Suse its the /etc/rc.config Any help appreciated thanks. ---end quoted text--- Xdm is the culprit. If you always want a text login: (as root) dpkg --purge xdm Steve Gore --
Re: How to boot to text mode?
On Mon, Aug 09, 1999 at 07:30:38PM +, Godric wrote: Apologies for what may be a very simple question - but I'm new using Debian (migrated from Suse which I've had only been using for a while) but what file do I have to change in Debian 2.1 so that on booting I go straight to text mode to login rather than the graphical login? I know in Suse its the /etc/rc.config Any help appreciated thanks. Try removing the xdm package (dpkg -r xdm). You can then run X with the startx command, if desired. Bob -- Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen
Re: How to boot to text mode?
*- On 9 Aug, Godric wrote about How to boot to text mode? Apologies for what may be a very simple question - but I'm new using Debian (migrated from Suse which I've had only been using for a while) but what file do I have to change in Debian 2.1 so that on booting I go straight to text mode to login rather than the graphical login? I know in Suse its the /etc/rc.config Any help appreciated thanks. I will assume that xdm is installed and it is starting. There are several ways to take care of this. 1) as root: update-rc.d -f xdm remove This will remove the links in /etc/rc*.d that start and stop xdm on boot. If you ever want to return the the graphical login at boot as root execute: update-rc.d xdm defaults 99 01 2) remove the xdm package 3) comment the line in /etc/X11/xdm/Xservers that starts with :0. This will prevent xdm from managing the local display but can still accept connections for xdmcp logins. If this is a single user machine I would opt for 1 or 2. -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: How to boot to text mode?
On Mon, 9 Aug 1999, Godric wrote: Apologies for what may be a very simple question - but I'm new using Debian (migrated from Suse which I've had only been using for a while) but what file do I have to change in Debian 2.1 so that on booting I go straight to text mode to login rather than the graphical login? I know in Suse its the /etc/rc.config Any help appreciated thanks. The following address points to a message that should be helpful. http://www.debian.org/Lists-Archives/debian-user-9908/msg00597.html
Re: How to boot to text mode?
- Original Message - From: Godric [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Monday, August 09, 1999 9:30 PM Subject: How to boot to text mode? Apologies for what may be a very simple question - but I'm new using Debian (migrated from Suse which I've had only been using for a while) but what file do I have to change in Debian 2.1 so that on booting I go straight to text mode to login rather than the graphical login? I know in Suse its the /etc/rc.config Any help appreciated thanks. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null I think simply uninstalling the x11 section package xdm helps. Or delete the symlinks to xdm in the runlevel config directories (etc/rcnumber.d) (number is a figure from 0 to 8). Kind Regards, Stephan Hachinger.