Re: disable GUI/X?
El Wed, 19 Jun 2024 08:47:58 +0200
<tomas@tuxteam.de> va escriure el següent:
> On Wed, Jun 19, 2024 at 04:39:50AM -0000, David Chmelik wrote:
> > 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 [...]
>
> > What about in the case I use SysVInit so don't have systemctl?
>
> Then you have an /etc/init.d/xdm (or gdm, or..., depending on your
> display manager). And, if you don't feel like managing it manually,
> you have update-rc.d, which comes with a manual page.
>
> Cheers
Just mv softlinks in /etc/rc*.d/ that begins with uppercase to
lowercase.
In my case, S04lightdm -> s04ligthdm.
But many time ago I removed completely lightdm and any session manager.
If I want X session, I start with xfce4-session, in my case. Thus, I
run X without root privileges.
Reply to: