You are not logged in.

#1 2020-05-11 20:09:36

chaoswizard
Member
Registered: 2020-05-11
Posts: 6

[SOLVED] Unable to display login prompt

Hello,

I updated my system yesterday and, now, I have the following error message at startup (by removing "quiet" bootargs"):

Failed to start Login Service.
See systemctl status systemd-logind.service for details

But I have no access (i.e. no terminal) to check service status output.
I tried to use GDM, LightDM or directly xinit as login manager without any change.

If I boot in single user mode ("single" bootargs), then use startx command, everything is working fine.
So, is my issue related to systemd graphical target?

I don't know how to retrieve more debug information and how to solve that.
Any idea ?

---

~/.xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec dbus-launch openbox-session

~/.xserverrc

#!/bin/sh

exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR

~/.zprofile

if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  exec startx
fi

Last edited by chaoswizard (2020-05-11 21:16:40)

Offline

#2 2020-05-11 21:01:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,363

Re: [SOLVED] Unable to display login prompt

Remove the dbus-launch.

But that doesn't explain display managers, post a complete journal log

sudo journalctl -b

Last edited by V1del (2020-05-11 21:03:41)

Offline

#3 2020-05-11 21:04:51

chaoswizard
Member
Registered: 2020-05-11
Posts: 6

Re: [SOLVED] Unable to display login prompt

OK, I found the following post (System fails to boot after routine upgrade) with similar behavior and disabling dhcpcd service solves my issue:

systemctl disable dhcpcd

Last edited by chaoswizard (2020-05-11 21:10:13)

Offline

#4 2020-05-11 21:05:53

chaoswizard
Member
Registered: 2020-05-11
Posts: 6

Re: [SOLVED] Unable to display login prompt

V1del wrote:

Remove the dbus-launch.

Thanks, I will remove it and check for any change.

EDIT: no change so I keep it removed.

Last edited by chaoswizard (2020-05-11 21:10:05)

Offline

Board footer

Powered by FluxBB