You are not logged in.

#1 2020-12-11 09:20:10

Superjolly002
Member
Registered: 2019-08-28
Posts: 63

[SOLVED] lightdm crashes when I lock bspwm

Hi everyone,

I switched to bspwm recently, and I found a little bit problem when I try to lock system using light-locker.
lightdm works when I  enter the password, but when I login it shows me a black screen.

$ systemctl status lightdm
● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2020-12-10 17:56:12 CET; 1h 6min ago
       Docs: man:lightdm(1)
   Main PID: 526 (lightdm)
      Tasks: 4 (limit: 19128)
     Memory: 77.7M
     CGroup: /system.slice/lightdm.service
             ├─526 /usr/bin/lightdm
             └─602 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

dic 10 17:56:22 archy-antonio lightdm[910]: gkr-pam: unable to locate daemon control file
dic 10 17:56:22 archy-antonio lightdm[910]: gkr-pam: stashed password to try later in open session
dic 10 17:56:22 archy-antonio lightdm[910]: pam_systemd_home(lightdm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
dic 10 17:56:23 archy-antonio lightdm[910]: pam_unix(lightdm:session): session opened for user antonio(uid=1000) by (uid=0)
dic 10 17:56:23 archy-antonio lightdm[910]: pam_env(lightdm:session): deprecated reading of user environment enabled
dic 10 17:56:23 archy-antonio lightdm[910]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
dic 10 18:39:43 archy-antonio lightdm[14510]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=966) by (uid=0)
dic 10 19:02:24 archy-antonio lightdm[21510]: gkr-pam: unable to locate daemon control file
dic 10 19:02:24 archy-antonio lightdm[21510]: gkr-pam: stashed password to try later in open session
dic 10 19:02:24 archy-antonio lightdm[21510]: pam_systemd_home(lightdm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
# cat /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=25466
[+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: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+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 has property CanMultiSession=no
[+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: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 25472: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+1.05s] DEBUG: Got signal 10 from process 25472
[+1.05s] DEBUG: XServer 0: Got signal from X server :0
[+1.05s] DEBUG: XServer 0: Connecting to XServer :0
[+1.05s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.05s] DEBUG: Session pid=25491: Started with service 'lightdm-greeter', username 'lightdm'
[+1.07s] DEBUG: Session pid=25491: Authentication complete with return value 0: Success
[+1.07s] DEBUG: Seat seat0: Session authenticated, running command
[+1.07s] DEBUG: Launching process 25494: /usr/bin/numlockx on
[+1.07s] DEBUG: Process 25494 exited with return value 0
[+1.07s] DEBUG: Seat seat0: Exit status of /usr/bin/numlockx on: 0
[+1.07s] DEBUG: Session pid=25491: Running command /usr/bin/lightdm-webkit2-greeter
[+1.07s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.07s] DEBUG: Session pid=25491: Logging to /var/log/lightdm/seat0-greeter.log
[+1.16s] DEBUG: Activating VT 7
[+1.16s] DEBUG: Activating login1 session c4
[+1.16s] DEBUG: Seat seat0 changes active session to c4
[+1.16s] DEBUG: Session c4 is already active
[+1.35s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+7.64s] DEBUG: Greeter start authentication for antonio
[+7.64s] DEBUG: Session pid=25588: Started with service 'lightdm', username 'antonio'
[+7.65s] DEBUG: Session pid=25588: Got 1 message(s) from PAM
[+7.65s] DEBUG: Prompt greeter with 1 message(s)
[+7.65s] DEBUG: Continue authentication
[+7.66s] DEBUG: Session pid=25588: Authentication complete with return value 0: Success
[+7.66s] DEBUG: Authenticate result for user antonio: Success
[+7.66s] DEBUG: User antonio authorized
[+8.06s] DEBUG: Greeter requests session bspwm
[+8.06s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+8.06s] DEBUG: Terminating login1 session c4
[+8.07s] DEBUG: Session pid=25491: Sending SIGTERM
[+8.08s] DEBUG: Session pid=25491: Exited with return value 0
[+8.08s] DEBUG: Seat seat0: Session stopped
[+8.08s] DEBUG: Seat seat0: Greeter stopped, running session
[+8.08s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+8.08s] DEBUG: Session pid=25588: Running command /etc/lightdm/Xsession bspwm
[+8.08s] DEBUG: Creating shared data directory /var/lib/lightdm-data/antonio
[+8.08s] DEBUG: Session pid=25588: Logging to .xsession-errors
[+8.09s] DEBUG: Activating VT 7
[+8.09s] DEBUG: Activating login1 session 10
[+8.09s] DEBUG: Seat seat0 changes active session to 10
[+8.09s] DEBUG: Session 10 is already active
[+15.10s] DEBUG: Seat seat0: Locking
[+15.10s] DEBUG: Seat seat0: Creating greeter session
[+15.10s] DEBUG: Seat seat0: Creating display server of type x
[+15.10s] DEBUG: Using VT 8
[+15.10s] DEBUG: Seat seat0: Starting local X display on VT 8
[+15.10s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+15.10s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+15.10s] DEBUG: XServer 1: Launching X Server
[+15.10s] DEBUG: Launching process 26057: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+15.10s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+15.84s] DEBUG: Seat seat0 changes active session to 
[+16.58s] DEBUG: Got signal 10 from process 26057
[+16.58s] DEBUG: XServer 1: Got signal from X server :1
[+16.58s] DEBUG: XServer 1: Connecting to XServer :1
[+16.59s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+16.59s] DEBUG: Session pid=26061: Started with service 'lightdm-greeter', username 'lightdm'
[+16.60s] DEBUG: Session pid=26061: Authentication complete with return value 0: Success
[+16.60s] DEBUG: Seat seat0: Session authenticated, running command
[+16.60s] DEBUG: Launching process 26064: /usr/bin/numlockx on
[+16.61s] DEBUG: Process 26064 exited with return value 0
[+16.61s] DEBUG: Seat seat0: Exit status of /usr/bin/numlockx on: 0
[+16.61s] DEBUG: Session pid=26061: Running command /usr/bin/lightdm-webkit2-greeter
[+16.61s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+16.61s] DEBUG: Session pid=26061: Logging to /var/log/lightdm/seat0-greeter.log
[+16.62s] DEBUG: Activating VT 8
[+16.62s] DEBUG: Locking login1 session 10
[+16.62s] DEBUG: Activating login1 session c5
[+16.62s] DEBUG: Seat seat0 changes active session to c5
[+16.62s] DEBUG: Session c5 is already active
[+16.93s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+25.02s] DEBUG: Greeter start authentication for antonio
[+25.02s] DEBUG: Session pid=26294: Started with service 'lightdm', username 'antonio'
[+25.03s] DEBUG: Session pid=26294: Got 1 message(s) from PAM
[+25.03s] DEBUG: Prompt greeter with 1 message(s)
[+25.03s] DEBUG: Continue authentication
[+25.07s] DEBUG: Session pid=26294: Authentication complete with return value 0: Success
[+25.07s] DEBUG: Authenticate result for user antonio: Success
[+25.07s] DEBUG: User antonio authorized
[+25.47s] DEBUG: Greeter requests session bspwm
[+25.47s] DEBUG: Seat seat0: Returning to existing user session antonio
[+25.47s] DEBUG: Unlocking login1 session 10
[+25.48s] DEBUG: Activating VT 7
[+26.06s] DEBUG: Seat seat0: Stopping greeter
[+26.06s] DEBUG: Terminating login1 session c5
[+26.06s] DEBUG: Session pid=26061: Sending SIGTERM
[+26.06s] DEBUG: Activating login1 session 10
[+26.07s] DEBUG: Session pid=26294: Exited with return value 0
[+26.07s] DEBUG: Seat seat0: Session stopped
[+26.07s] DEBUG: Seat seat0 changes active session to 10
[+26.07s] DEBUG: Session 10 is already active
[+26.08s] DEBUG: Greeter closed communication channel
[+26.08s] DEBUG: Session pid=26061: Exited with return value 0
[+26.08s] DEBUG: Seat seat0: Session stopped
[+26.08s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+26.08s] DEBUG: Sending signal 15 to process 26057
[+26.11s] DEBUG: Process 26057 exited with return value 0
[+26.11s] DEBUG: XServer 1: X server stopped
[+26.11s] DEBUG: Releasing VT 8
[+26.11s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+26.11s] DEBUG: Seat seat0: Display server stopped
[+33.33s] DEBUG: Seat seat0 changes active session to 5
[+105.30s] DEBUG: Got signal 15 from process 1
[+105.30s] DEBUG: Caught Terminated signal, shutting down
[+105.31s] DEBUG: Stopping display manager
[+105.31s] DEBUG: Seat seat0: Stopping
[+105.31s] DEBUG: Seat seat0: Stopping display server
[+105.31s] DEBUG: Sending signal 15 to process 25472
[+105.31s] DEBUG: Seat seat0: Stopping session
[+105.31s] DEBUG: Terminating login1 session 10
[+105.31s] DEBUG: Session pid=25588: Sending SIGTERM
[+105.32s] DEBUG: Session pid=25588: Exited with return value 0
[+105.32s] DEBUG: Seat seat0: Session stopped
[+105.37s] DEBUG: Process 25472 exited with return value 0
[+105.37s] DEBUG: XServer 0: X server stopped
[+105.37s] DEBUG: Releasing VT 7
[+105.37s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+105.37s] DEBUG: Seat seat0: Display server stopped
[+105.37s] DEBUG: Seat seat0: Stopped
[+105.37s] DEBUG: Display manager stopped
[+105.37s] DEBUG: Stopping daemon
[+105.37s] DEBUG: Exiting with return value 

Last edited by Superjolly002 (2020-12-25 17:47:02)


See, I'm not a monster. I'm just ahead of the curve.

Offline

#2 2020-12-11 20:08:15

andrewclive
Member
Registered: 2019-05-19
Posts: 30

Re: [SOLVED] lightdm crashes when I lock bspwm

If you've recently upgraded light-locker to 1.9.0-3, then it's probably this bug https://bugs.archlinux.org/task/68905?p … ght-locker downgrading to 1.9.0-2 will solve the problem until there's a fix.

Offline

#3 2020-12-12 09:11:18

Superjolly002
Member
Registered: 2019-08-28
Posts: 63

Re: [SOLVED] lightdm crashes when I lock bspwm

I have downgraded light-locker, and it still doesn't work:

$ light-locker
(light-locker:3866): Gtk-WARNING **: 10:09:26.367: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name

** (light-locker:3866): ERROR **: 10:09:26.385: session_id is not set, is /proc mounted with hidepid>0?
[1]    3866 trace trap (core dumped)  light-locker

But if I run lxlock works, while with light-locker 1.9.0-3 it doesn't work.

Is this normal?


See, I'm not a monster. I'm just ahead of the curve.

Offline

#4 2020-12-12 10:49:57

andrewclive
Member
Registered: 2019-05-19
Posts: 30

Re: [SOLVED] lightdm crashes when I lock bspwm

Okay- you must have a different problem.

Last edited by andrewclive (2020-12-12 10:50:37)

Offline

#5 2020-12-25 17:46:46

Superjolly002
Member
Registered: 2019-08-28
Posts: 63

Re: [SOLVED] lightdm crashes when I lock bspwm

Solved problem after the 1.9.0-4 update


See, I'm not a monster. I'm just ahead of the curve.

Offline

Board footer

Powered by FluxBB