• Black screen with light-locker


    I am having an issue where if I lock my computer, log back into my account, then lock it again the screen goes black every single time. Not even my mouse is displayed. I have tried Ctrl+Alt+F2 and Ctrl+Alt+Backspace+Backspace but nothing happens. The computer is completely unresponsive.

    I am using XFCE, lightdm as my display manager and lightdm-gtk as my greeter, as well as light-locker.

    ‘lightdm --test-mode --debug’ outputs this:

    [+0.00s] DEBUG: Logging to /home/mek/.cache/lightdm/log/lightdm.log
    [+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=1000 PID=1407
    [+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: Using D-Bus name org.freedesktop.DisplayManager
    [+0.00s] DEBUG: Running in user mode
    [+0.00s] DEBUG: Using Xephyr for X servers
    [+0.00s] DEBUG: Registered seat module xlocal
    [+0.00s] DEBUG: Registered seat module xremote
    [+0.00s] DEBUG: Registered seat module unity
    [+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: Starting
    [+0.01s] DEBUG: Seat seat0: Creating greeter session
    [+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+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.02s] DEBUG: DisplayServer x-1: Logging to /home/mek/.cache/lightdm/log/x-1.log
    [+0.02s] DEBUG: DisplayServer x-1: Writing X server authority to /run/lightdm/root/:1
    [+0.02s] WARNING: Error reading existing Xauthority: Failed to open file '/run/lightdm/root/:1': Permission denied
    [+0.02s] WARNING: DisplayServer x-1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
    [+0.02s] DEBUG: DisplayServer x-1: Launching X Server
    [+0.02s] DEBUG: Launching process 1412: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
    [+0.02s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
    [+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
    [+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
    [+0.02s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Permission denied
    [+0.13s] DEBUG: Got signal 10 from process 1412
    [+0.13s] DEBUG: DisplayServer x-1: Got signal from X server :1
    [+0.13s] DEBUG: DisplayServer x-1: Connecting to XServer :1
    [+0.13s] DEBUG: Seat seat0: Display server ready, starting session authentication
    [+0.13s] DEBUG: Session: Not setting XDG_VTNR
    [+0.13s] DEBUG: Session pid=1416: Started with service 'lightdm-greeter', username 'mek'
    [+0.14s] DEBUG: Session pid=1416: Authentication complete with return value 0: Success
    [+0.14s] DEBUG: Seat seat0: Session authenticated, running command
    [+0.14s] DEBUG: Session pid=1416: Not setting XDG_VTNR
    [+0.14s] DEBUG: Session pid=1416: Running command /usr/bin/lightdm-gtk-greeter
    [+0.14s] DEBUG: Creating shared data directory /var/lib/lightdm-data/mek
    [+0.14s] WARNING: Could not create user data directory /var/lib/lightdm-data/mek: Error creating directory: Permission denied
    [+0.14s] DEBUG: Session pid=1416: Logging to /home/mek/.cache/lightdm/log/x-1-greeter.log
    [+0.30s] DEBUG: Session pid=1416: Greeter connected version=1.16.7 resettable=false
    [+0.73s] DEBUG: Session pid=1416: Greeter start authentication for mek
    [+0.73s] DEBUG: Session: Not setting XDG_VTNR
    [+0.73s] DEBUG: Session pid=1434: Started with service 'lightdm', username 'mek'
    [+0.75s] DEBUG: Session pid=1434: Got 1 message(s) from PAM
    [+0.75s] DEBUG: Session pid=1416: Prompt greeter with 1 message(s)
    
  • I am no expert but one of your issues is:

    Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
    

    You may need to go into /etc/mkinitcpio.conf and just have a look if the plymouth HOOK is listed therein.
    Look under the HOOKS section.

    ***Post your mkinitcpio.conf file and please try to use the correct coding tags for listing said file. There is a sticky in the forums on how to do that. ***

    So try that first. We can go from there to begin with.
    There are other errors visible and they MAY or MAY NOT be associated.
    Again, I am no pro at plymouth but I will help you as far as I am able to.

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • @Modisc said:

    I am no expert but one of your issues is:

    Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
    

    You may need to go into /etc/mkinitcpio.conf and just have a look if the plymouth HOOK is listed therein.
    Look under the HOOKS section.

    ***Post your mkinitcpio.conf file and please try to use the correct coding tags for listing said file. There is a sticky in the forums on how to do that. ***

    So try that first. We can go from there to begin with.
    There are other errors visible and they MAY or MAY NOT be associated.
    Again, I am no pro at plymouth but I will help you as far as I am able to.

    Thanks for the reply. I have added plymouth to the hooks but the issue still persists, although the warning is gone.

    mkinitcpio.conf:

    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run.  Advanced users may wish to specify all system modules
    # in this array.  For instance:
    #     MODULES="piix ide_disk reiserfs"
    MODULES=""
    
    # BINARIES
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image.  This is run last, so it may be used to
    # override the actual binaries included by a given hook
    # BINARIES are dependency parsed, so you may safely ignore libraries
    BINARIES=""
    
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way.  This is useful for config files.
    FILES=""
    
    # HOOKS
    # This is the most important setting in this file.  The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    ##   This setup specifies all modules in the MODULES setting above.
    ##   No raid, lvm2, or encrypted root is needed.
    #    HOOKS="base"
    #
    ##   This setup will autodetect all modules for your system and should
    ##   work as a sane default
    #    HOOKS="base udev autodetect block filesystems"
    #
    ##   This setup will generate a 'full' image which supports most systems.
    ##   No autodetection is done.
    #    HOOKS="base udev block filesystems"
    #
    ##   This setup assembles a pata mdadm array with an encrypted root FS.
    ##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    #    HOOKS="base udev block mdadm encrypt filesystems"
    #
    ##   This setup loads an lvm2 volume group on a usb device.
    #    HOOKS="base udev block lvm2 filesystems"
    #
    ##   NOTE: If you have /usr on a separate partition, you MUST include the
    #    usr, fsck and shutdown hooks.
    HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems fsck plymouth"
    
    # COMPRESSION
    # Use this to compress the initramfs image. By default, gzip compression
    # is used. Use 'cat' to create an uncompressed image.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    #COMPRESSION="lzop"
    #COMPRESSION="lz4"
    
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    

    lightdm --test-mode --debug:

    [+0.00s] DEBUG: Logging to /home/mek/.cache/lightdm/log/lightdm.log
    [+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=1000 PID=1852
    [+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: Using D-Bus name org.freedesktop.DisplayManager
    [+0.00s] DEBUG: Running in user mode
    [+0.00s] DEBUG: Using Xephyr for X servers
    [+0.00s] DEBUG: Registered seat module xlocal
    [+0.00s] DEBUG: Registered seat module xremote
    [+0.00s] DEBUG: Registered seat module unity
    [+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: Starting
    [+0.01s] DEBUG: Seat seat0: Creating greeter session
    [+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+0.01s] DEBUG: Seat seat0: Creating display server of type x
    [+0.01s] DEBUG: Seat seat0: Starting local X display
    [+0.01s] DEBUG: DisplayServer x-1: Logging to /home/mek/.cache/lightdm/log/x-1.log
    [+0.01s] DEBUG: DisplayServer x-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: DisplayServer x-1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
    [+0.01s] DEBUG: DisplayServer x-1: Launching X Server
    [+0.01s] DEBUG: Launching process 1857: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
    [+0.01s] DEBUG: DisplayServer x-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.02s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Permission denied
    [+0.12s] DEBUG: Got signal 10 from process 1857
    [+0.12s] DEBUG: DisplayServer x-1: Got signal from X server :1
    [+0.12s] DEBUG: DisplayServer x-1: Connecting to XServer :1
    [+0.12s] DEBUG: Seat seat0: Display server ready, starting session authentication
    [+0.12s] DEBUG: Session: Not setting XDG_VTNR
    [+0.13s] DEBUG: Session pid=1861: Started with service 'lightdm-greeter', username 'mek'
    [+0.13s] DEBUG: Session pid=1861: Authentication complete with return value 0: Success
    [+0.13s] DEBUG: Seat seat0: Session authenticated, running command
    [+0.13s] DEBUG: Session pid=1861: Not setting XDG_VTNR
    [+0.13s] DEBUG: Session pid=1861: Running command /usr/bin/lightdm-gtk-greeter
    [+0.13s] DEBUG: Creating shared data directory /var/lib/lightdm-data/mek
    [+0.13s] WARNING: Could not create user data directory /var/lib/lightdm-data/mek: Error creating directory: Permission denied
    [+0.13s] DEBUG: Session pid=1861: Logging to /home/mek/.cache/lightdm/log/x-1-greeter.log
    [+0.28s] DEBUG: Session pid=1861: Greeter connected version=1.16.7 resettable=false
    [+0.69s] DEBUG: Session pid=1861: Greeter start authentication for mek
    [+0.69s] DEBUG: Session: Not setting XDG_VTNR
    [+0.69s] DEBUG: Session pid=1879: Started with service 'lightdm', username 'mek'
    [+0.70s] DEBUG: Session pid=1879: Got 1 message(s) from PAM
    [+0.70s] DEBUG: Session pid=1861: Prompt greeter with 1 message(s)
    
  • Ok. I see one error in your mkinitcpio file.
    The plymouth HOOK needs to be like this:

    HOOKS="base udev plymouth

    That is, AFTER base and udev.
    NOT at the very end.
    Then you mkinitcpio -p linux

    Also, one other item to discuss and that is that plymouth might not be installed.
    It is available from the AUR.
    Check FIRST if it is installed.

    Use the query command option for pacman to see if it installed. man pacman
    It should be.
    plymouth - Arch Wiki

    I would strongly encourage you to bookmark the Arch Wiki. It is an invaluable tool and resource.

    Let’s start with checking first to see if it installed. If it is not, then go ahead and install it according to the Wiki instructions. I do not believe that you need to install the dev version of plymouth. Just the regular one.

    If any more question, just continue to ask. Again, I will help you as far as I am knowledgeably able to.

    EDIT: There are some other errors that I see. The one’s having to do with Xauthority.
    What do ~/.xsession-errors and /var/log/lightdm say?

    EDIT X2 @mtrack .
    I think I may have to retract what I said about plymouth and it’s installation.
    I wonder that instead it is this error to be concentrated upon:
    Could not create user data directory /var/lib/lightdm-data This type of error states that it is not able to find it’s own user-state directory.
    Would you be able to check if such a directory exists?
    Could you do cd /var/lib/lightdm-data (if existing) and then do ls -lRa

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • @Modisc said:

    Ok. I see one error in your mkinitcpio file.
    The plymouth HOOK needs to be like this:

    HOOKS="base udev plymouth

    That is, AFTER base and udev.
    NOT at the very end.
    Then you mkinitcpio -p linux

    Also, one other item to discuss and that is that plymouth might not be installed.
    It is available from the AUR.
    Check FIRST if it is installed.

    Use the query command option for pacman to see if it installed. man pacman
    It should be.
    plymouth - Arch Wiki

    I would strongly encourage you to bookmark the Arch Wiki. It is an invaluable tool and resource.

    Let’s start with checking first to see if it installed. If it is not, then go ahead and install it according to the Wiki instructions. I do not believe that you need to install the dev version of plymouth. Just the regular one.

    If any more question, just continue to ask. Again, I will help you as far as I am knowledgeably able to.

    EDIT: There are some other errors that I see. The one’s having to do with Xauthority.
    What do ~/.xsession-errors and /var/log/lightdm say?

    EDIT X2 @mtrack .
    I think I may have to retract what I said about plymouth and it’s installation.
    I wonder that instead it is this error to be concentrated upon:
    Could not create user data directory /var/lib/lightdm-data This type of error states that it is not able to find it’s own user-state directory.
    Would you be able to check if such a directory exists?
    Could you do cd /var/lib/lightdm-data (if existing) and then do ls -lRa

    I have changed the hooks for plymouth.

    xsessions-errors:

    gpg-agent[681]: WARNING: "--write-env-file" is an obsolete option - it has no effect
    gpg-agent[682]: gpg-agent (GnuPG) 2.1.11 started
    
    (xfce4-session:672): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
    
    (xfce4-session:672): xfce4-session-WARNING **: xfsm_manager_load_session: Something wrong with /home/mek/.cache/sessions/xfce4-session-E6500:0, Does it exist? Permissions issue?
    
    (xfsettingsd:695): xfsettingsd-WARNING **: Failed to get the _NET_NUMBER_OF_DESKTOPS property.
    
    (pamac-tray:714): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
    [854:854:0213/164917:ERROR:logging.h(808)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
    [854:854:0213/164917:ERROR:logging.h(808)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
    ** Message: Remote error from secret service: org.freedesktop.Secret.Error.IsLocked: Cannot get secret of a locked object
    
    (nemo:1075): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    
    (nemo:1399): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    
    (mousepad:1420): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed
    
    (mousepad:1420): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
    
    (mousepad:1420): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed
    
    (mousepad:1420): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
    
    (mousepad:1420): GtkSourceView-CRITICAL **: gtk_source_style_scheme_get_id: assertion 'GTK_IS_SOURCE_STYLE_SCHEME (scheme)' failed
    

    lightdm.log:

    [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
    [+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=0 PID=422
    [+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: Using D-Bus name org.freedesktop.DisplayManager
    [+0.00s] DEBUG: Registered seat module xlocal
    [+0.00s] DEBUG: Registered seat module xremote
    [+0.00s] DEBUG: Registered seat module unity
    [+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: Starting
    [+0.01s] DEBUG: Seat seat0: Creating greeter session
    [+0.02s] DEBUG: Seat seat0: Creating display server of type x
    [+0.02s] DEBUG: Using VT 7
    [+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
    [+0.02s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
    [+0.02s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
    [+0.02s] DEBUG: DisplayServer x-0: Launching X Server
    [+0.02s] DEBUG: Launching process 436: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
    [+0.02s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
    [+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
    [+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
    [+0.07s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.07s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+0.37s] DEBUG: Got signal 10 from process 436
    [+0.37s] DEBUG: DisplayServer x-0: Got signal from X server :0
    [+0.37s] DEBUG: DisplayServer x-0: Connecting to XServer :0
    [+0.37s] DEBUG: Seat seat0: Display server ready, starting session authentication
    [+0.37s] DEBUG: Session pid=451: Started with service 'lightdm-greeter', username 'lightdm'
    [+0.39s] DEBUG: Session pid=451: Authentication complete with return value 0: Success
    [+0.39s] DEBUG: Seat seat0: Session authenticated, running command
    [+0.39s] DEBUG: Session pid=451: Running command /usr/sbin/lightdm-gtk-greeter
    [+0.39s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
    [+0.39s] DEBUG: Session pid=451: Logging to /var/log/lightdm/x-0-greeter.log
    [+0.45s] DEBUG: Activating VT 7
    [+0.45s] DEBUG: Activating login1 session c1
    [+0.45s] DEBUG: Seat seat0 changes active session to c1
    [+0.45s] DEBUG: Session c1 is already active
    [+0.67s] DEBUG: Session pid=451: Greeter connected version=1.16.7 resettable=false
    [+1.36s] DEBUG: Session pid=451: Greeter start authentication for mek
    [+1.36s] DEBUG: Session pid=574: Started with service 'lightdm', username 'mek'
    [+1.37s] DEBUG: Session pid=574: Got 1 message(s) from PAM
    [+1.37s] DEBUG: Session pid=451: Prompt greeter with 1 message(s)
    [+4.69s] DEBUG: Session pid=451: Continue authentication
    [+4.71s] DEBUG: Session pid=574: Authentication complete with return value 0: Success
    [+4.71s] DEBUG: Session pid=451: Authenticate result for user mek: Success
    [+4.71s] DEBUG: Session pid=451: User mek authorized
    [+4.72s] DEBUG: Session pid=451: Greeter sets language en_GB.utf8
    [+4.78s] DEBUG: Session pid=451: Greeter requests session xfce
    [+4.78s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
    [+4.78s] DEBUG: Session pid=451: Sending SIGTERM
    [+4.79s] DEBUG: Session pid=451: Greeter closed communication channel
    [+4.80s] DEBUG: Session pid=451: Exited with return value 0
    [+4.80s] DEBUG: Seat seat0: Session stopped
    [+4.80s] DEBUG: Seat seat0: Greeter stopped, running session
    [+4.80s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
    [+4.80s] DEBUG: Session pid=574: Running command /etc/lightdm/Xsession startxfce4
    [+4.80s] DEBUG: Creating shared data directory /var/lib/lightdm-data/mek
    [+4.80s] DEBUG: Session pid=574: Logging to .xsession-errors
    [+4.90s] DEBUG: Activating VT 7
    [+4.90s] DEBUG: Activating login1 session c2
    [+4.90s] DEBUG: Seat seat0 changes active session to 
    [+4.90s] DEBUG: Seat seat0 changes active session to c2
    [+4.90s] DEBUG: Session c2 is already active
    

    ls -lRa:

    .:
    total 16
    drwxrwxr-t  4 root    lightdm 4096 Feb 13 16:49 .
    drwxr-xr-x 29 root    root    4096 Feb 13 00:00 ..
    drwxrwx---  2 lightdm lightdm 4096 Feb 13 16:49 lightdm
    drwxrwx---  2 mek     lightdm 4096 Feb  9 21:19 mek
    ls: cannot open directory './lightdm': Permission denied
    
    ./mek:
    total 8
    drwxrwx--- 2 mek  lightdm 4096 Feb  9 21:19 .
    drwxrwxr-t 4 root lightdm 4096 Feb 13 16:49 ..
    

    EDIT: I have changed the permissions on ‘/var/lib/lightdm-data’ and the warning is no longer there. This is the new ‘lightdm --test-mode --debug’:

    [+0.00s] DEBUG: Logging to /home/mek/.cache/lightdm/log/lightdm.log
    [+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=1000 PID=1578
    [+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: Using D-Bus name org.freedesktop.DisplayManager
    [+0.00s] DEBUG: Running in user mode
    [+0.00s] DEBUG: Using Xephyr for X servers
    [+0.00s] DEBUG: Registered seat module xlocal
    [+0.00s] DEBUG: Registered seat module xremote
    [+0.00s] DEBUG: Registered seat module unity
    [+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: Starting
    [+0.01s] DEBUG: Seat seat0: Creating greeter session
    [+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+0.01s] DEBUG: Seat seat0: Creating display server of type x
    [+0.01s] DEBUG: Seat seat0: Starting local X display
    [+0.01s] DEBUG: DisplayServer x-1: Logging to /home/mek/.cache/lightdm/log/x-1.log
    [+0.01s] DEBUG: DisplayServer x-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: DisplayServer x-1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
    [+0.01s] DEBUG: DisplayServer x-1: Launching X Server
    [+0.01s] DEBUG: Launching process 1583: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
    [+0.01s] DEBUG: DisplayServer x-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
    /bin/rm: cannot remove '/var/lib/lightdm-data/lightdm': Permission denied
    [+0.25s] DEBUG: Got signal 10 from process 1583
    [+0.25s] DEBUG: DisplayServer x-1: Got signal from X server :1
    [+0.25s] DEBUG: DisplayServer x-1: Connecting to XServer :1
    [+0.25s] DEBUG: Seat seat0: Display server ready, starting session authentication
    [+0.25s] DEBUG: Session: Not setting XDG_VTNR
    [+0.26s] DEBUG: Session pid=1589: Started with service 'lightdm-greeter', username 'mek'
    [+0.26s] DEBUG: Session pid=1589: Authentication complete with return value 0: Success
    [+0.26s] DEBUG: Seat seat0: Session authenticated, running command
    [+0.26s] DEBUG: Session pid=1589: Not setting XDG_VTNR
    [+0.26s] DEBUG: Session pid=1589: Running command /usr/bin/lightdm-gtk-greeter
    [+0.26s] DEBUG: Creating shared data directory /var/lib/lightdm-data/mek
    [+0.26s] DEBUG: Session pid=1589: Logging to /home/mek/.cache/lightdm/log/x-1-greeter.log
    [+0.60s] DEBUG: Session pid=1589: Greeter connected version=1.16.7 resettable=false
    [+1.01s] DEBUG: Session pid=1589: Greeter start authentication for mek
    [+1.01s] DEBUG: Session: Not setting XDG_VTNR
    [+1.01s] DEBUG: Session pid=1607: Started with service 'lightdm', username 'mek'
    [+1.03s] DEBUG: Session pid=1607: Got 1 message(s) from PAM
    [+1.03s] DEBUG: Session pid=1589: Prompt greeter with 1 message(s)
    
  • I have found a fix. For anyone who has the same issue please go to this link: https://bbs.archlinux.org/viewtopic.php?pid=1581078#p1581078

    Thank you very much @Modisc for your help!

light locker5 lightdm92 xfce418 lightlocker4 lock20 Posts 6Views 2048
Log in to reply