/srv/irclogs.ubuntu.com/2024/04/11/#xubuntu.txt

sysophello, I temporarily disabled lightdm.service via systemctl to access a pure command line interface to change some configs, now i can't re-enable the service, only manualy start it.16:05
sysoprequesting help on re-enabling it.16:06
rfmsysop, just enabling it doesn't start it, it just makes it start at the next boot.  16:35
=== sysop is now known as Annon
Annonhello?16:59
rfmAnnon, hi.  Do you have a xubuntu question?17:00
Annonsorry yes im the 'sysop' from earlyer17:01
rfmAnnon, looking into this more, it doesn't appear that lightdm.service is meant to be enabled.  on my 22.04 system, graphical.target requires display-manager.service which is a symlink to lightdm.service17:04
rfmAnnon, on my 22.10 system where I tried disabling/enabling lightdm.service to try to see what problem you were having, that symlink doesn't exist.17:05
Annonok17:06
Annonso mine is 22.04. do i need to re-add links manualy?17:07
rfmAnnon, I don't know if disabling it deleted the symlink somehow.  Is it in fact true that in your current state, rebooting comes up in console mode?17:07
Annonyes it comes up as console17:08
rfmAnnon, kind of weird that disabling it would delete that symlink, but you could  try linking /etc/systemd/system/display-manager.service to /lib/systemd/system/lightdm.service and see if it helps17:10
Annonin order to get the GUI i've bin running "sudo systemctl start lightdm.service"17:10
Annonbut it always starts back at console17:11
Annonoh sorry didnt see your response17:11
rfmAnnon, right, what's going on is the system default target is graphical.target, which requires display-manager.service17:11
rfmAnnon, and if the symlink is there starting display-manager.service would start lightdm.service.  17:12
rfmAnnon, but with the symlink gone nothing is pointing to lightdm.service so it doesn't get started17:13
Annonok im rebooting now ill be back to say if it worked or not17:15
Annonok that worked thanks for the help17:17
rfmAnnon, great. BTW, a better way to do this in the future is "systemctl isolate multi-user.target' (do this in a virtual console).  That will take down lightdm and all of the logged in graphical sessions, but not make any permanent change to the system config.17:20
Annonok thankyou17:20
rfmAnnon, then when done with the stuff you want to do in console mode, you can "systemctl start graphical.target" or just reboot17:20
Annonthanks17:22
Annonbye17:22
jarnosI tried installing Xubuntu Minimal from https://cdimage.ubuntu.com/xubuntu/daily-minimal/current/ but it is hard, because setting Finnish keyboard does not work in the installer.18:00
jarnosThe PC would work as a server running MythTV backend and other stuff. I think I better install Xubuntu Minimal than pure server installation, because if I need to run MythtV setup over network, it is a GUI software and will need some graphics libraries in the host, too, right?18:02
tertittenAny Xubuntu packagers around?21:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!