Hello ! I’m new to Manjaro but been using Linux for 2 years now distro hoping.
It’s a new installation XFCE Manjaro 21.1.2.
There is a lot of info and posts on this bug but nothing seems to work for me.
I can load the desktop no problem using this command after entering tty:
sudo systemctl restart lightdm
So far I have tried with no success:
sudo chown root:lightdm /var/lib/lightdm-data
sudo mkinitcpio -P and sudo update-grub
logind-check-graphical=true
Deleting the /etc/X11/xorg.conf file then rebooting
pacman -S lightdm-gtk-greeter
pacman -S lightdm-gtk-greeter-settings
systemctl enable lightdm
systemctl reboot
pacman -S xorg
I have tried a few things from wiki archlinuxorg/title/LightDM#Troubleshooting
Also before I try changing video drivers, wich I suspect may be the culprit maybe someone can solve my problem, my computer has a tendency to not like Manjaro for some reason, for exemple KDE Manjaro freezes upon desktop splash 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 Sun 2021-09-12 09:00:32 EDT; 4h 27min ago
Docs: man:lightdm(1)
Main PID: 1134 (lightdm)
Tasks: 6 (limit: 19034)
Memory: 109.6M
CPU: 11min 54.032s
CGroup: /system.slice/lightdm.service
├─1134 /usr/bin/lightdm
└─1459 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Sep 12 09:00:34 man lightdm[1146]: pam_unix(lightdm-autologin:session): session opened for user man(uid=1000) by (uid=0)
Sep 12 09:00:34 man lightdm[1146]: pam_env(lightdm-autologin:session): deprecated reading of user environment enabled
Sep 12 09:00:34 man lightdm[1146]: gkr-pam: gnome-keyring-daemon started properly
Sep 12 09:00:44 man lightdm[1465]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=967) by (uid=0)
Sep 12 09:00:52 man lightdm[1521]: gkr-pam: unable to locate daemon control file
Sep 12 09:00:52 man lightdm[1521]: gkr-pam: stashed password to try later in open session
Sep 12 09:00:52 man lightdm[1521]: pam_systemd_home(lightdm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Sep 12 09:00:52 man lightdm[1521]: pam_unix(lightdm:session): session opened for user man(uid=1000) by (uid=0)
Sep 12 09:00:52 man lightdm[1521]: pam_env(lightdm:session): deprecated reading of user environment enabled
Sep 12 09:00:52 man lightdm[1521]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
lightdm --test-mode --debug
:
man@man ~]$ lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /home/man/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=1000 PID=4719
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/snapd/desktop/lightdm/lightdm.conf.d
[+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 /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /home/man/.local/share/flatpak/exports/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: Running in user mode
[+0.00s] DEBUG: Using Xephyr for X servers
[+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 gvfs (GDaemonVfs) for ?gio-vfs?
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating user session
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] 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: Seat seat0: Starting local X display
[+0.01s] DEBUG: XServer 1: Logging to /home/man/.cache/lightdm/log/x-1.log
[+0.01s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.01s] WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:1?: Permission denied
[+0.01s] WARNING: XServer 1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.01s] DEBUG: XServer 1: Launching X Server
[+0.01s] DEBUG: Launching process 4724: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+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] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+0.19s] DEBUG: Got signal 10 from process 4724
[+0.19s] DEBUG: XServer 1: Got signal from X server :1
[+0.19s] DEBUG: XServer 1: Connecting to XServer :1
[+0.19s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.19s] DEBUG: Session: Not setting XDG_VTNR
[+0.19s] DEBUG: Session pid=4726: Started with service 'lightdm-autologin', username 'man'
[+0.23s] DEBUG: Session pid=4726: Authentication complete with return value 0: Success
[+0.23s] DEBUG: Seat seat0: Session authenticated, running command
[+0.23s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+0.23s] DEBUG: Session pid=4726: Not setting XDG_VTNR
[+0.23s] DEBUG: Session pid=4726: Running command /etc/lightdm/Xsession startxfce4
[+0.23s] DEBUG: Creating shared data directory /var/lib/lightdm-data/man
[+0.23s] WARNING: Could not create user data directory /var/lib/lightdm-data/man: Error creating directory /var/lib/lightdm-data/man: Permission denied
[+0.23s] DEBUG: Session pid=4726: Logging to .xsession-errors
** (process:4726): WARNING **: 13:28:33.299: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
Failed to write utmpx: Permission denied
Error writing audit message: Operation not permitted
Failed to write utmpx: Permission denied
Error writing audit message: Operation not permitted
[+0.64s] DEBUG: Session pid=4726: Exited with return value 1
[+0.64s] DEBUG: Seat seat0: Session stopped
[+0.64s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.64s] DEBUG: Sending signal 15 to process 4724
[+0.65s] DEBUG: Process 4724 exited with return value 0
[+0.65s] DEBUG: XServer 1: X server stopped
[+0.65s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+0.65s] DEBUG: Seat seat0: Display server stopped
[+0.65s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+0.65s] DEBUG: Seat seat0: Creating greeter session
[+0.65s] DEBUG: Seat seat0: Creating display server of type x
[+0.65s] DEBUG: Seat seat0: Starting local X display
[+0.65s] DEBUG: XServer 1: Logging to /home/man/.cache/lightdm/log/x-1.log
[+0.65s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.65s] WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:1?: Permission denied
[+0.65s] WARNING: XServer 1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.65s] DEBUG: XServer 1: Launching X Server
[+0.65s] DEBUG: Launching process 4795: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.65s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.83s] DEBUG: Got signal 10 from process 4795
[+0.83s] DEBUG: XServer 1: Got signal from X server :1
[+0.83s] DEBUG: XServer 1: Connecting to XServer :1
[+0.83s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.83s] DEBUG: Session: Not setting XDG_VTNR
[+0.83s] DEBUG: Session pid=4798: Started with service 'lightdm-greeter', username 'man'
[+0.84s] DEBUG: Session pid=4798: Authentication complete with return value 0: Success
[+0.84s] DEBUG: Seat seat0: Session authenticated, running command
[+0.84s] DEBUG: Session pid=4798: Not setting XDG_VTNR
[+0.84s] DEBUG: Session pid=4798: Running command /usr/bin/lightdm-gtk-greeter
[+0.84s] DEBUG: Creating shared data directory /var/lib/lightdm-data/man
[+0.84s] WARNING: Could not create user data directory /var/lib/lightdm-data/man: Error creating directory /var/lib/lightdm-data/man: Permission denied
[+0.84s] DEBUG: Session pid=4798: Logging to /home/man/.cache/lightdm/log/seat0-greeter.log
[+0.93s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+1.06s] DEBUG: Greeter start authentication
[+1.06s] DEBUG: Session: Not setting XDG_VTNR
[+1.06s] DEBUG: Session pid=4815: Started with service 'lightdm', username '(null)'
[+1.07s] DEBUG: Session pid=4815: Got 1 message(s) from PAM
[+1.07s] DEBUG: Prompt greeter with 1 message(s)