Re: Debian/Stretch: how to boot in text mode

2017-02-24 Thread Lisi Reisz
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

2017-02-01 Thread Ennio-Sr
* 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

2017-02-01 Thread Felix Miata

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

2017-02-01 Thread Michael Biebl
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

2017-02-01 Thread Greg Wooledge
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.