I am new to Linux. I have installed Arch Linux on a new machine.
Yesterday I tried to install GNOME (on top of Xorg). When I enabled gdm.service
and then rebooted, I was met with a black screen. I think either I messed this up or because my machine has an NVIDIA card.
I have a bootable USB. I realize that I can simply chroot
into my machine and then just use systemctl
to disable gdm.service
BUT I was wondering if I can edit my systemd files to disable it myself and learn a bit about service management in the meantime.
Is this feasible/a good idea? I found the gdm.service
file in /lib/systemd/system
. Can I change one of the variables or delete the file altogether to have the same effect? For example, there is a variable in this file, Restart=always
. If I change this value will I prevent the service from being run during the boot process?
Are there any good resources which explain what is really going on when using systemctl
commands? I'm guessing that enabled services have a larger footprint then just these files in the /lib/systemd/system
directory.
start a service a at bootime in systemd states that systemctl enable
creates symbolic links to the /lib/systemd/system
files. Where are these symbolic links and can I edit them manually?