Skip to main content
8 events
when toggle format what by license comment
Dec 17, 2022 at 20:20 comment added Ludvig Klein Ah, yes it was still trying to run old code from /etc/rc.local, that's where the errors in the terminal came from. Now I'm getting no errors from the terminal, and only the same error as before in the log file. I tried doing sudo systemctl mask lightdm but to no effect. I have changed to using my touch-screen instead of using an external screen via HDMI, and now my screen flashes white instead of black which is kind of interesting, don't know if that indicates anything
Dec 16, 2022 at 22:00 comment added goldilocks The momentary black screen is probably symptomatic of a failed X server. Try disabling lightdm: sudo systemctl disable lightdm, but, if things don't happen properly, check again to see if it still runs anyway (a "disabled" service may be run if something else requires it). If so, mask it sudo systemctl mask lightdm. This links it to a sort of dummy (/dev/null) instead of the real service. Do you have anything related to this in /etc/rc.local, BTW? Don't try to do the same thing in two places.
Dec 16, 2022 at 17:57 comment added Ludvig Klein Hm so I don't get any GUI, but I see the command line first, then it becomes black for a few seconds before it shows the following on the command line: rc.local[372]: Unable to init server: Could not connect: Connect (...) [FAILED] Failed to start /etc/rc.local Compatibility. (...) [FAILED] Failed to start Feh on a minimal X server.. Running systemctl status lightdm yields lightdm.service - Light Display Manager Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled) Active: inactive (dead) Docs: man:lightdm
Dec 10, 2022 at 15:20 history edited goldilocks CC BY-SA 4.0
added 157 characters in body
Dec 10, 2022 at 15:17 comment added goldilocks Is there a GUI visible before or after that? If so it may be that the normal Xorg service (actually it is the lightdm service that starts it) was not disabled by systemctl set-default multi-user. If there isn't, you could still check systemctl status lightdm to see if both attempts to start it failed by getting in the way of one another somehow (kind of a long shot tho).
Dec 10, 2022 at 11:12 comment added Ludvig Klein Thanks! The log file is very helpful. I am getting this error, which is weird because the screen is plugged in and displays the terminal as it starts up: (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: Connection refused /usr/bin/xinit: server error
Dec 6, 2022 at 22:06 history edited goldilocks CC BY-SA 4.0
added 349 characters in body
Dec 6, 2022 at 22:00 history answered goldilocks CC BY-SA 4.0