Just installed the system via offline installation and i was greeted by instead of a login screen, by a terminal, lightdm didn’t boot with the system, okay i did:
sudo systemctl enable lightdm.service sudo systemctl start lightdm.service
And it worked fine, then i proceed to see that I’m not connected to the internet! Okay repeat the process, i do:
sudo systemctl enable network-online.target
And the system answers me with:
The unit files have no installation config (WantedBy=, RequiredBy=, Also=, Alias= settings in the [Install] section, and DefaultInstance= for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: • A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. • A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. • A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). • In case of template units, the unit is meant to be enabled with some instance name specified.
i go like, okay, maybe it will start working after i start it once so i do:
sudo systemctl start network-online.target
then nice, internet is back!
i reboot the system to test and wow, no login screen again, i need to do the first part again and after that i can see that internet also didn’t boot, like, in internet enable at least gave me an error but in lightdm it should have enabled it but it didn’t! every time i reboot the system these two always stop working.
(why these things happen to me, its because my pc is bad? pain)