This is a small detail, so here it goes:
In Slax based on Debian Linux:
In the file "/lib/systemd/system/xorg.service" you should add the following text to the end of that file:
[Install]
[WantedBy]=graphical.target
to be able to execute the following two commands with success:
systemctl disable xorg
systemctl enable xorg
---------------------------------------------------
Explanation:
Right now the text mentioned on top doesn' t exist inside the mentioned file "/lib/systemd/system/xorg.service" which means when we do:
systemctl disable xorg (note: here everything' s fine, on the next boot the boot stops in the text-mode not in the graphical-mode)
but when we try to get back to what we had before (the boot ending in graphical-mode) by doing:
systemctl enable xorg (note: because the text mentioned on top doesn' t exist inside the mentioned file "/lib/systemd/system/xorg.service" it
outputs an error and we simply can' t get out from the text-mode at least using the same command
"systemctl enable xorg" until we add the mentioned text on top to the end of the mentioned file
"/lib/systemd/system/xorg.service")
------------------------------------------------------
Thanks!