No GUI on boot - systemd problem?

Everything about X, Gnome, KDE, ... and everything running on it

No GUI on boot - systemd problem?

Postby 4Orfeas » 2017-04-03 18:01

For a year now I have used Debian with LXDE and autologin without any problem. But after adding automount.units to systemd I did not get a GUI on boot. In single user (recovery) mode I ran journalctl -xb.
At the end the journal said that the spawned proces at /bin/plymouth could not be executed; the service failed. There is no /bin/plymouth on my system. I googled and read that a common cause of this error is fstab. I checked and excluded fstab as a cause. I started X as root and got a pretty bare GUI (as to be expected). I did “xhost +” and changed to user. Then I had access to most programs, but not the LXDE environment. I decided to reinstall lightdm (which overwrote autologin). I booted again and got the login screen of lightdm. I logged in with my user account, but no LXDE at all, only the Debian background.
My conclusion is that lightdm and X do start, but for some reason no connection is made to the configuration of my user account. What could possibly be the cause of this?
Any help will be very much appreciated.
4Orfeas
 
Posts: 3
Joined: 2017-04-03 17:28

Re: No GUI on boot - systemd problem?

Postby debiman » 2017-04-03 18:41

the cause of this is probably step 1, which you kindly mentioned:
4Orfeas wrote:But after adding automount.units to systemd I did not get a GUI on boot.

now please elaborate what that is and what exactly you did there.
User avatar
debiman
 
Posts: 1291
Joined: 2013-03-12 07:18

Re: No GUI on boot - systemd problem?

Postby stevepusser » 2017-04-03 18:51

In addition, the obvious first thing to try is to revert whatever changes you and automount.units made to see if that fixes it. Did you follow a guide in making that change?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.5.0, Liquorix kernel 4.12-10, mpv 0.27.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8792
Joined: 2009-10-06 05:53

Re: No GUI on boot - systemd problem?

Postby 4Orfeas » 2017-04-03 20:19

Thank you for your quick response.
Yes, it is obvious to revert the additions to systemd. I think have done that.
I started out to make the automount.units and mount.units without fully understanding how to do that. I used a (bad) example.
I have made in [install] section with
WantedBy=multi-user.target and enabled it.
After the boot failure I did several things to revert this.
I disabled the automount.units and mount.units and stopped them.
Then I removed the install section and added in the [Unit] section
After=multi-user.target. I didn't start them again.
I ran systemctl daemon-reload
Systemctl reports that the units are static.
Is this enough to revert or should I have actually removed the unit-files?
My actions te revert did not solve the boot problem.
I am not sure that systemd is the problem, but the boot failure did occur right after the additions to systemd.
I am puzzled.
4Orfeas
 
Posts: 3
Joined: 2017-04-03 17:28

Re: No GUI on boot - systemd problem?

Postby debiman » 2017-04-04 17:35

your description is still somewhat scattered and confused.

sounds like
a) you didn't really know what you were doing to start with, maybe followed some tutorial, but skipped or misinterpreted a few steps.
b) tried to undo it, but again not really knowing what you're doing...

which tutorial did you follow, and which functionality were you going to add?
User avatar
debiman
 
Posts: 1291
Joined: 2013-03-12 07:18

Re: No GUI on boot - systemd problem?

Postby 4Orfeas » 2017-04-06 06:09

Would you please answer my question wether I did undo the changes to systemd.
If the answer is yes, then I can rule out that systemd is the cause. I still have
no acces to LXDE with my user account. When I log on authentication is succesful but there is only
the background of the greeter of lightdm.
4Orfeas
 
Posts: 3
Joined: 2017-04-03 17:28


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable