You are not logged in.

#1 2019-01-16 01:34:03

leave
Member
Registered: 2018-09-14
Posts: 16

i3-gaps fails to start up with LightDM after updating

Hello everyone,

Recently I have had an issue with i3 and LightDM. After updating my system and rebooting (so I got on kernel 4.20 instead of 4.19), i3 no longer seemed to work. I normally use LightDM to start i3, and that is what I did. However, nothing happened, and my greeter just restarted. The only "error" I could find was something about ConsoleKit, which is supposedly deprecated and doesn't matter anyway. Trying to start i3 with startx works flawlessly and I am able to access a GUI. If someone could help, that would be nice. Thanks!

Output of lightdm -d and then trying to log in twice:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=0 PID=2890
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.01s] DEBUG: XServer 1: Launching X Server
[+0.01s] DEBUG: Launching process 2896: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.02s] DEBUG: Seat seat0 changes active session to 
[+0.73s] DEBUG: Got signal 10 from process 2896
[+0.73s] DEBUG: XServer 1: Got signal from X server :1
[+0.73s] DEBUG: XServer 1: Connecting to XServer :1
[+0.76s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+0.76s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.76s] DEBUG: Session pid=2904: Started with service 'lightdm-greeter', username 'lightdm'
[+0.79s] DEBUG: Session pid=2904: Authentication complete with return value 0: Success
[+0.79s] DEBUG: Seat seat0: Session authenticated, running command
[+0.79s] DEBUG: Session pid=2904: Running command /usr/bin/lightdm-webkit2-greeter
[+0.79s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.79s] DEBUG: Session pid=2904: Logging to /var/log/lightdm/seat0-greeter.log
[+0.80s] DEBUG: Activating VT 7
[+1.00s] DEBUG: Greeter connected version=1.28.0 api=1 resettable=false
[+6.94s] DEBUG: Greeter start authentication for leave
[+6.94s] DEBUG: Session pid=2961: Started with service 'lightdm', username 'leave'
[+6.97s] DEBUG: Session pid=2961: Got 1 message(s) from PAM
[+6.97s] DEBUG: Prompt greeter with 1 message(s)
[+6.97s] DEBUG: Continue authentication
[+6.98s] DEBUG: Session pid=2961: Authentication complete with return value 0: Success
[+6.98s] DEBUG: Authenticate result for user leave: Success
[+6.98s] DEBUG: User leave authorized
[+7.49s] DEBUG: Greeter requests session i3
[+7.49s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+7.49s] DEBUG: Session pid=2904: Sending SIGTERM
[+7.52s] DEBUG: Greeter closed communication channel
[+7.52s] DEBUG: Session pid=2904: Exited with return value 0
[+7.52s] DEBUG: Seat seat0: Session stopped
[+7.52s] DEBUG: Seat seat0: Greeter stopped, running session
[+7.52s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+7.52s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+7.52s] DEBUG: Session pid=2961: Running command /etc/lightdm/Xsession i3
[+7.52s] DEBUG: Creating shared data directory /var/lib/lightdm-data/leave
[+7.52s] DEBUG: Session pid=2961: Logging to .xsession-errors

** (process:2961): WARNING **: 17:32:37.495: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
[+7.54s] DEBUG: Activating VT 7
[+7.56s] DEBUG: Session pid=2961: Exited with return value 2
[+7.56s] DEBUG: Seat seat0: Session stopped
[+7.56s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+7.56s] DEBUG: Sending signal 15 to process 2896
[+8.08s] DEBUG: Process 2896 exited with return value 0
[+8.08s] DEBUG: XServer 1: X server stopped
[+8.08s] DEBUG: Releasing VT 7
[+8.08s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+8.08s] DEBUG: Seat seat0: Display server stopped
[+8.08s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+8.08s] DEBUG: Seat seat0: Creating greeter session
[+8.08s] DEBUG: Seat seat0: Creating display server of type x
[+8.08s] DEBUG: Using VT 7
[+8.08s] DEBUG: Seat seat0: Starting local X display on VT 7
[+8.08s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+8.08s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+8.08s] DEBUG: XServer 1: Launching X Server
[+8.08s] DEBUG: Launching process 2973: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+8.08s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+8.86s] DEBUG: Got signal 10 from process 2973
[+8.86s] DEBUG: XServer 1: Got signal from X server :1
[+8.86s] DEBUG: XServer 1: Connecting to XServer :1
[+8.89s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+8.89s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+8.89s] DEBUG: Session pid=2978: Started with service 'lightdm-greeter', username 'lightdm'
[+8.92s] DEBUG: Session pid=2978: Authentication complete with return value 0: Success
[+8.92s] DEBUG: Seat seat0: Session authenticated, running command
[+8.92s] DEBUG: Session pid=2978: Running command /usr/bin/lightdm-webkit2-greeter
[+8.92s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+8.92s] DEBUG: Session pid=2978: Logging to /var/log/lightdm/seat0-greeter.log
[+8.93s] DEBUG: Activating VT 7
[+9.09s] DEBUG: Greeter connected version=1.28.0 api=1 resettable=false
[+12.78s] DEBUG: Seat seat0 changes active session to 6
[+22.80s] DEBUG: Seat seat0 changes active session to 
[+25.13s] DEBUG: Greeter start authentication for leave
[+25.13s] DEBUG: Session pid=3030: Started with service 'lightdm', username 'leave'
[+25.13s] DEBUG: Session pid=3030: Got 1 message(s) from PAM
[+25.13s] DEBUG: Prompt greeter with 1 message(s)
[+25.14s] DEBUG: Continue authentication
[+25.15s] DEBUG: Session pid=3030: Authentication complete with return value 0: Success
[+25.15s] DEBUG: Authenticate result for user leave: Success
[+25.15s] DEBUG: User leave authorized
[+25.66s] DEBUG: Greeter requests session i3
[+25.66s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+25.66s] DEBUG: Session pid=2978: Sending SIGTERM
[+25.71s] DEBUG: Greeter closed communication channel
[+25.71s] DEBUG: Session pid=2978: Exited with return value 0
[+25.71s] DEBUG: Seat seat0: Session stopped
[+25.71s] DEBUG: Seat seat0: Greeter stopped, running session
[+25.71s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+25.71s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+25.71s] DEBUG: Session pid=3030: Running command /etc/lightdm/Xsession i3
[+25.71s] DEBUG: Creating shared data directory /var/lib/lightdm-data/leave
[+25.71s] DEBUG: Session pid=3030: Logging to .xsession-errors

** (process:3030): WARNING **: 17:32:55.687: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
[+25.74s] DEBUG: Activating VT 7
[+25.76s] DEBUG: Session pid=3030: Exited with return value 2
[+25.76s] DEBUG: Seat seat0: Session stopped
[+25.76s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+25.76s] DEBUG: Sending signal 15 to process 2973
[+26.21s] DEBUG: Process 2973 exited with return value 0
[+26.21s] DEBUG: XServer 1: X server stopped
[+26.21s] DEBUG: Releasing VT 7
[+26.21s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+26.21s] DEBUG: Seat seat0: Display server stopped
[+26.21s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+26.21s] DEBUG: Seat seat0: Creating greeter session
[+26.21s] DEBUG: Seat seat0: Creating display server of type x
[+26.21s] DEBUG: Using VT 7
[+26.21s] DEBUG: Seat seat0: Starting local X display on VT 7
[+26.21s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+26.21s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+26.21s] DEBUG: XServer 1: Launching X Server
[+26.21s] DEBUG: Launching process 3042: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+26.21s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+26.94s] DEBUG: Got signal 10 from process 3042
[+26.94s] DEBUG: XServer 1: Got signal from X server :1
[+26.94s] DEBUG: XServer 1: Connecting to XServer :1
[+26.97s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+26.98s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+26.98s] DEBUG: Session pid=3047: Started with service 'lightdm-greeter', username 'lightdm'
[+27.00s] DEBUG: Session pid=3047: Authentication complete with return value 0: Success
[+27.00s] DEBUG: Seat seat0: Session authenticated, running command
[+27.00s] DEBUG: Session pid=3047: Running command /usr/bin/lightdm-webkit2-greeter
[+27.00s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+27.00s] DEBUG: Session pid=3047: Logging to /var/log/lightdm/seat0-greeter.log
[+27.01s] DEBUG: Activating VT 7
[+27.22s] DEBUG: Greeter connected version=1.28.0 api=1 resettable=false
[+30.82s] DEBUG: Seat seat0 changes active session to 6

Edit:
.xsession-errors contains:

/etc/profile.d/flatpak.sh: line 12: syntax error near unexpected token `<'
/etc/profile.d/flatpak.sh: line 12: `done < <(echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"; flatpak --installations)'

/etc/profile.d/flatpak.sh contains:

# set XDG_DATA_DIRS to include Flatpak installations

new_dirs=
while read -r install_path
do
    share_path=$install_path/exports/share
    case ":$XDG_DATA_DIRS:" in
        *":$share_path:"*) :;;
        *":$share_path/:"*) :;;
        *) new_dirs=${new_dirs:+${new_dirs}:}$share_path;;
    esac
done < <(echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"; flatpak --installations)

export XDG_DATA_DIRS
XDG_DATA_DIRS="${new_dirs:+${new_dirs}:}${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"

Last edited by leave (2019-01-17 04:44:36)

Offline

#2 2019-01-16 07:57:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,689

Offline

#3 2019-01-17 04:54:48

leave
Member
Registered: 2018-09-14
Posts: 16

Re: i3-gaps fails to start up with LightDM after updating

Now .xsession-errors shows:

Failed to connect to bus: No such file or directory
dbus-update-activation-environment: error: unable to connect to D-Bus: Server address of type unix was missing argument path or abstract

seth, I am not sure if that is the issue I am having. I will try downgrading systemd and see if it solves the issue. However it does not mention i3 but just mentions stuff like xfce4 session manager so not sure if it will work.

Offline

#4 2019-01-17 08:38:26

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

Re: i3-gaps fails to start up with LightDM after updating

What do you mean, "now it shows"? What did you change? There's a known bug in the first version of flatpak 1.1.3, revert whatever change you did now, and update your entire system, the flatpak error should go away (and the lightdm error if you are still on an old enough version of systemd 240 that still had this issue).

Last edited by V1del (2019-01-17 09:16:09)

Offline

#5 2019-01-17 19:38:07

leave
Member
Registered: 2018-09-14
Posts: 16

Re: i3-gaps fails to start up with LightDM after updating

I didn’t change anything other than another pacman -Syu and reboot. Currently I’m away from the affected computer but I will try another upgrade once I can get to it. thanks

Edit: Updated again, now on kernel 4.20.3. Still doesn't work. .xsession-errors complains about not being able to find a bus:

Failed to connect to bus: No such file or directory
dbus-update-activation-environment: error: unable to connect to D-Bus: Server address of type unix was missing argument path or abstract

Last edited by leave (2019-01-18 06:37:06)

Offline

#6 2019-01-21 19:28:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,689

Re: i3-gaps fails to start up with LightDM after updating

Offline

#7 2020-07-20 22:56:54

diogo-b013
Member
Registered: 2020-07-20
Posts: 3

Re: i3-gaps fails to start up with LightDM after updating

My solution was remove all packages from "ConsoleKit" that was deprecated and a library related with "Console kit"

Offline

Board footer

Powered by FluxBB