When I try to use lightdm, after a successful login it just restarts and shows the same greeter (lightdm-gtk-greeter) again. However, I’m able to get a GUI using startx on another seat. The GUI only seems to work with xfce-session, but not with bspwm.
I’m using manjaro-xfce, but I installed all bspwm packages and my setup was working perfectly until I updated. I tried using nonfree drivers (but lightdm failed to load), and changing kernel versions, but I have the same problem. Logs don’t seem to display any errors.
I don’t know where else to search, so if you could tell me any more logs I should see, I would be very grateful
I can’t put links so… This is not a link (they are sprunge[dot]us paste ids)
$ cat /var/log/lightdm/lighdm.log.old
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=878
[+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.01s] 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 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 897: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.03s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+3.38s] DEBUG: Got signal 10 from process 897
[+3.38s] DEBUG: XServer 0: Got signal from X server :0
[+3.38s] DEBUG: XServer 0: Connecting to XServer :0
[+3.39s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+3.39s] DEBUG: Session pid=1098: Started with service 'lightdm-greeter', username 'lightdm'
[+3.41s] DEBUG: Session pid=1098: Authentication complete with return value 0: Success
[+3.41s] DEBUG: Seat seat0: Session authenticated, running command
[+3.41s] DEBUG: Session pid=1098: Running command /usr/bin/lightdm-gtk-greeter
[+3.41s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+3.41s] DEBUG: Session pid=1098: Logging to /var/log/lightdm/seat0-greeter.log
[+3.64s] DEBUG: Activating VT 7
[+3.64s] DEBUG: Activating login1 session c1
[+3.64s] DEBUG: Seat seat0 changes active session to c1
[+3.64s] DEBUG: Session c1 is already active
[+3.77s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+4.14s] DEBUG: Greeter start authentication for davo
[+4.14s] DEBUG: Session pid=1149: Started with service 'lightdm', username 'davo'
[+4.15s] DEBUG: Session pid=1149: Got 1 message(s) from PAM
[+4.15s] DEBUG: Prompt greeter with 1 message(s)
[+8.60s] DEBUG: Continue authentication
[+8.62s] DEBUG: Session pid=1149: Authentication complete with return value 0: Success
[+8.62s] DEBUG: Authenticate result for user davo: Success
[+8.62s] DEBUG: User davo authorized
[+8.63s] DEBUG: Greeter sets language en_GB.utf8
[+8.68s] DEBUG: Greeter requests session bspwm
[+8.68s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+8.68s] DEBUG: Terminating login1 session c1
[+8.68s] DEBUG: Session pid=1098: Sending SIGTERM
[+8.69s] DEBUG: Greeter closed communication channel
[+8.69s] DEBUG: Session pid=1098: Exited with return value 0
[+8.69s] DEBUG: Seat seat0: Session stopped
[+8.69s] DEBUG: Seat seat0: Greeter stopped, running session
[+8.69s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+8.69s] DEBUG: Session pid=1149: Running command /etc/lightdm/Xsession bspwm
[+8.69s] DEBUG: Creating shared data directory /var/lib/lightdm-data/davo
[+8.69s] DEBUG: Session pid=1149: Logging to .xsession-errors
[+8.90s] DEBUG: Activating VT 7
[+8.90s] DEBUG: Activating login1 session 2
[+8.90s] DEBUG: Seat seat0 changes active session to
[+8.90s] DEBUG: Seat seat0 changes active session to 2
[+8.90s] DEBUG: Session 2 is already active
[+8.97s] DEBUG: Session pid=1149: Exited with return value 2
[+8.97s] DEBUG: Seat seat0: Session stopped
[+8.97s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+8.97s] DEBUG: Sending signal 15 to process 897
[+9.60s] DEBUG: Process 897 exited with return value 0
[+9.60s] DEBUG: XServer 0: X server stopped
[+9.60s] DEBUG: Releasing VT 7
[+9.60s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+9.60s] DEBUG: Seat seat0: Display server stopped
[+9.60s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+9.60s] DEBUG: Seat seat0: Creating greeter session
[+9.60s] DEBUG: Seat seat0: Creating display server of type x
[+9.60s] DEBUG: Using VT 7
[+9.60s] DEBUG: Seat seat0: Starting local X display on VT 7
[+9.60s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+9.60s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+9.60s] DEBUG: XServer 0: Launching X Server
[+9.60s] DEBUG: Launching process 1261: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+9.60s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+11.03s] DEBUG: Got signal 10 from process 1261
[+11.03s] DEBUG: XServer 0: Got signal from X server :0
[+11.03s] DEBUG: XServer 0: Connecting to XServer :0
[+11.04s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+11.04s] DEBUG: Session pid=1278: Started with service 'lightdm-greeter', username 'lightdm'
[+11.05s] DEBUG: Session pid=1278: Authentication complete with return value 0: Success
[+11.05s] DEBUG: Seat seat0: Session authenticated, running command
[+11.05s] DEBUG: Session pid=1278: Running command /usr/bin/lightdm-gtk-greeter
[+11.05s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+11.05s] DEBUG: Session pid=1278: Logging to /var/log/lightdm/seat0-greeter.log
[+11.06s] DEBUG: Activating VT 7
[+11.06s] DEBUG: Activating login1 session c2
[+11.07s] DEBUG: Seat seat0 changes active session to c2
[+11.07s] DEBUG: Session c2 is already active
[+11.10s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+11.33s] DEBUG: Greeter start authentication for davo
[+11.33s] DEBUG: Session pid=1297: Started with service 'lightdm', username 'davo'
[+11.34s] DEBUG: Session pid=1297: Got 1 message(s) from PAM
[+11.34s] DEBUG: Prompt greeter with 1 message(s)
[+13.57s] DEBUG: Seat seat0 changes active session to
[+18.83s] DEBUG: Seat seat0 changes active session to 5
[+65.24s] DEBUG: Got signal 15 from process 1
[+65.24s] DEBUG: Caught Terminated signal, shutting down
[+65.24s] DEBUG: Stopping display manager
[+65.24s] DEBUG: Seat seat0: Stopping
[+65.24s] DEBUG: Seat seat0: Stopping display server
[+65.24s] DEBUG: Sending signal 15 to process 1261
[+65.24s] DEBUG: Seat seat0: Stopping session
[+65.24s] DEBUG: Terminating login1 session c2
[+65.33s] DEBUG: Session pid=1278: Sending SIGTERM
[+65.33s] DEBUG: Seat seat0: Stopping session
[+65.33s] DEBUG: Session pid=1297: Sending SIGTERM
[+65.33s] DEBUG: Process 1261 exited with return value 0
[+65.33s] DEBUG: XServer 0: X server stopped
[+65.33s] DEBUG: Releasing VT 7
[+65.33s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+65.33s] DEBUG: Seat seat0: Display server stopped
[+65.33s] DEBUG: Session pid=1297: Terminated with signal 15
[+65.33s] DEBUG: Session: Failed during authentication
[+65.33s] DEBUG: Seat seat0: Session stopped
[+65.33s] DEBUG: Greeter closed communication channel
[+65.33s] DEBUG: Session pid=1278: Exited with return value 0
[+65.33s] DEBUG: Seat seat0: Session stopped
[+65.33s] DEBUG: Seat seat0: Stopped
[+65.33s] DEBUG: Display manager stopped
[+65.33s] DEBUG: Stopping daemon
[+65.34s] DEBUG: Exiting with return value 0
cat /var/log/lightdm/x-0.log.old
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
Build Operating System: Linux Manjaro Linux
Current Operating System: Linux iscandar 5.4.85-1-MANJARO #1 SMP PREEMPT Mon Dec 21 21:38:53 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=dbd78c17-f7c0-476f-b72a-459ec5566942 rw quiet apparmor=1 security=apparmor resume=UUID=2be7c2ef-43e1-4601-95f3-aee00991978a udev.log_priority=3
Build Date: 16 December 2020 10:33:32PM
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 4 11:36:38 2021
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) Server terminated successfully (0). Closing log file.
$ inxi -Fazy
System:
Kernel: 5.4.85-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64
root=UUID=dbd78c17-f7c0-476f-b72a-459ec5566942 rw quiet apparmor=1
security=apparmor resume=UUID=2be7c2ef-43e1-4601-95f3-aee00991978a
udev.log_priority=3
Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: P8Z77-V LX v: Rev X.0x serial: <filter>
UEFI: American Megatrends v: 1201 date: 08/17/2012
CPU:
Info: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP
arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21
L2 cache: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54579
Speed: 1605 MHz min/max: 1600/3900 MHz Core speeds (MHz): 1: 1605 2: 1603
3: 1605 4: 1605 5: 1605 6: 1605 7: 1605 8: 1605
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GK104 [GeForce GTX 760] vendor: ASUSTeK driver: nvidia
v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 01:00.0
chip ID: 10de:1187
Display: server: X.Org 1.20.10 driver: nvidia display ID: :0.0 screens: 1
Screen-1: 0 s-res: 4560x1848 s-dpi: 96 s-size: 1207x489mm (47.5x19.3")
s-diag: 1302mm (51.3")
Monitor-1: DVI-I-0 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
Monitor-2: HDMI-0 res: 1920x1080 hz: 60 dpi: 96 size: 510x290mm (20.1x11.4")
diag: 587mm (23.1")
Monitor-3: DP-0 res: 768x1360 hz: 60
Monitor-4: DVI-D-0 res: 1280x1024 hz: 60 dpi: 96
size: 337x270mm (13.3x10.6") diag: 432mm (17")
OpenGL: renderer: GeForce GTX 760/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01
direct render: Yes
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
vendor: ASUSTeK P8Z77-V LX driver: snd_hda_intel v: kernel bus ID: 00:1b.0
chip ID: 8086:1e20
Device-2: NVIDIA GK104 HDMI Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 01:00.1 chip ID: 10de:0e0a
Device-3: Logitech G430 Surround Sound Gaming Headset type: USB
driver: hid-generic,snd-usb-audio,usbhid bus ID: 2-1:2 chip ID: 046d:0a4d
Sound Server: ALSA v: k5.4.85-1-MANJARO
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK P8P67 and other motherboards driver: r8169 v: kernel
port: d000 bus ID: 03:00.0 chip ID: 10ec:8168
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.64 TiB used: 1.11 TiB (41.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDH3 1T00
size: 931.51 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
serial: <filter> rev: 20RL
ID-2: /dev/sdb maj-min: 8:16 vendor: Maxtor model: STM3250310AS
size: 232.89 GiB block size: physical: 512 B logical: 512 B speed: 1.5 Gb/s
serial: <filter> rev: C
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD6400AAKS-22A7B2 size: 596.17 GiB block size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s serial: <filter> rev: 3B01
ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD10EZRX-00A8LB0
size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
serial: <filter> rev: 1A01
ID-5: /dev/sdf maj-min: 8:80 type: USB vendor: Kingston
model: DataTraveler 2.0 size: 14.42 GiB block size: physical: 512 B
logical: 512 B serial: <filter> rev: 1.00
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw size: 914.07 GiB size: 898.72 GiB (98.32%)
used: 233.32 GiB (26.0%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%)
used: 280 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.15 GiB used: 1024 KiB (0.0%)
priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 50.0 C mobo: 27.8 C gpu: nvidia temp: 48 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 42%
Info:
Processes: 262 Uptime: 3h 46m wakeups: 0 Memory: 15.59 GiB
used: 3.78 GiB (24.3%) Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages:
pacman: 2160 lib: 453 flatpak: 0 Shell: Zsh v: 5.8 running in: alacritty
inxi: 3.2.01
Thank you in advance!