Answer the question
In order to leave comments, you need to log in
How to see which init daemon and which window system in linux?
Is it possible "in general" to see this with some command? How, for example, do we look at the release lsb_release -a
Or do we need to look at the catalogs? If not, say inittab, then we are looking for other files that will be related to "upstart" or "systemd"? And the window system. How do you understand "X's" or something new like Wayland. Faced with these questions. I wanted to disable the x-server in ubuntu and came across this... (If someone tells me how to disable graphics in ubuntu, I will also be happy) It is to disable what to enable on command in the future.
Answer the question
In order to leave comments, you need to log in
In ubuntu, lightdm is responsible for initializing graphics by default. It initializes the xserver (xorg) and pops up a palol prompt and/or starts a user session.
To turn it off, just throw it out of startup with the command sudo dpkg-reconfigure lightdm
Or rename the /etc/init/lightdm.conf file, for example, to lightdm.conf.disabled
After that, just log in and run the graphics command startx
.
Ubuntu is currently uniquely using X.Org as a graphical server and their own Upstart init system. Gradually introduce individual components of systemd.
Alternatively, you can simply ask the package manager of the distribution you need to display a list of installed packages on the system, and in it you can see which graphics server is installed on the system and which initialization system is used. In debian-derived distributions, you can use APT:
You can also use dpkg:
Lyrical digression:
I have not yet met distributions that, by default, use Wayland/Weston as a graphical server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question