Hello I want to disable my GUI and enable it again (debian 10 buster) for testing purposes is it possible?
You have 3 layers for each GUI in UNIX:
- X :
It's low level application for using GUI, it supports keyboard, video card and so on. many years ago,
XFree86was used in linux, Then replaced with
X.orgapplication, now you have
- Window Manager :
each "Desktop Environment" uses itself Window Manager. Window Manager allow you to switch between windows, create title, close, minimize and some possibilities for your Desktop Environnment, Gnome Desktop Environment uses
metacityWindow Manager, for list of Window Managers, you can visit Window Managers.
- Desktop Manager :
Desktop Manager is login manager such as
CDMand so on.
Abobe 3 layers are your Desktop Environment, Desktop Environment such as
LXDE and so on.
When your Desktop Manager is started, above application will be started.
But your question:
for disable or enable as permanent your Desktop Manager :
systemctl enable,disable YOUR_DESKTOP_MANAGER
such as :
systemctl disable gdm3
for stopping them:
service YOUR_DESKTOP_MANAGER start,stop
such as :
service gdm3 stop