• lightdm.service loaded failed


    First. I Have tried to upload a .tar.gz file containing needed log files for examination to this current issue.
    Uploading of log files results in error stating they need to be in .png file.

    Unsure of how to proceed as I get a “Invalid file type. Allowed types are: png”

    **Issue **
    Antergos does not boot through lightdm.
    Had to access the system via console. Please see below output for terminal command prompts and output. Output was copied via the script command.

    sudo systemctl --failed
      UNIT            LOAD   ACTIVE SUB    DESCRIPTION
    ● lightdm.service loaded failed failed Light Display Manager
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    
    1 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    [[email protected] ~]$ sudo systemctl start lightdm.service
    Job for lightdm.service failed because the control process exited with error code. See "systemctl status lightdm.service" and "journalctl -xe" for details.
    

    this was followed with further exploration:

    systemctl status lightdm.service
    ● lightdm.service - Light Display Manager
       Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
       Active: failed (Result: start-limit) since Tue 2015-10-06 18:23:31 MDT; 15s ago
         Docs: man:lightdm(1)
      Process: 723 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
     Main PID: 723 (code=exited, status=1/FAILURE)
    
    Oct 06 18:23:30 DellXPS-15 systemd[1]: Failed to start Light Display Manager.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Unit entered failed state.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Failed with result 'exit-code'.
    Oct 06 18:23:31 DellXPS-15 systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
    Oct 06 18:23:31 DellXPS-15 systemd[1]: Stopped Light Display Manager.
    Oct 06 18:23:31 DellXPS-15 systemd[1]: lightdm.service: Start request repeated too quickly.
    Oct 06 18:23:31 DellXPS-15 systemd[1]: Failed to start Light Display Manager.
    Oct 06 18:23:31 DellXPS-15 systemd[1]: lightdm.service: Unit entered failed state.
    Oct 06 18:23:31 DellXPS-15 systemd[1]: lightdm.service: Failed with result 'start-limit'.
    

    to continue with the journalctl -ex command:

    journalctl -xe 
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit lightdm.service has finished shutting down.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: Starting Light Display Manager...
    -- Subject: Unit lightdm.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit lightdm.service has begun starting up.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
    Oct 06 18:23:30 DellXPS-15 systemd[1]: Failed to start Light Display Manager.
    -- Subject: Unit lightdm.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit lightdm.service has failed.
    -- 
    -- The result is failed.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Unit entered failed state.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Failed with result 'exit-code'.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: Stopped Light Display Manager.
    -- Subject: Unit lightdm.service has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit lightdm.service has finished shutting down.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: Starting Light Display Manager...
    -- Subject: Unit lightdm.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit lightdm.service has begun starting up.
    Oct 06 18:23:30 DellXPS-15 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
    Oct 06 18:23:30 DellXPS-15 systemd[1]: Failed to start Light Display Manager.
    -- Subject: Unit lightdm.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    

    my output in console continues:

    sudo systemctl is-enabled lightdm.service
    enabled
    

    Along with further output detailing only the necessary VGA:

    sudo systemctl enable lightdm.service
    [[email protected] ~]$ lspci -v
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
    	Subsystem: Dell Device 05fe
    	Flags: bus master, fast devsel, latency 0, IRQ 35
    	Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
    	Memory at d0000000 (64-bit, prefetchable) [size=256M]
    	I/O ports at f000 [size=64]
    	Expansion ROM at <unassigned> [disabled]
    	Capabilities: <access denied>
    	Kernel driver in use: i915
    	Kernel modules: i915
    

    By the way, one particular log file, the X-1-greeter.log file had this inside it:

    (WebKitWebProcess:6052): Gdk-WARNING **: WebKitWebProcess: Fatal IO error 0 (Success) on X server :1
    

    Looking for assistance, please. Again, I have tried to upload log files in .tar.gz form; however, apparently they are to be uploaded in .png form. Not too sure how that would work out.

    PS: Wouldn’t you know it. Here after I am trying to help another Antergos user on this board with his lightdm-greeter issue that I wind up with an issue of mine own. :sweat:

    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

  • Hi,

    Are you using the testing repos? The greeter is not compiled against the new gtk packages that are in testing. You will need to use a different greeter if you want to continue to use testing packages (which, btw, we do not recommend)

    Cheers!

  • Hi.
    No, I am not using the testing repos. I don’t have those enabled at all. I know that they can spell a bit of trouble. I did manage to partially get through this issue;

    Here’s what I did and what continues to happen. After console displays, I did the following:

    systemctl enable lightdm.service
    systemctl start lightdm.service
    pacman -Rncc lightdm-webkit-greeter
    pacman -Syy lightdm-webkit-theme-antergos
    systemctl restart lightdm
    

    With those commands, I managed to get to lightdm.greeter; however, after selecting into the input field my password, it (i.e. lightdm-greeter) merely restarts. There is no actual login per se to the desktop.

    I’ve attempted many times with no actualization of login to Gnome DE. It’s akin to a continual reboot. Even tough Lightdm-greeter is now visible, the login towards the DE does not actualize. It does not complete.

    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

  • Hmm…the greeter package that you should have is called lightdm-webkit2-greeter. Try removing and then reinstalling it. If that doesnt help, grab the logs from /var/log/lightdm and also ~/.xsession-errors.

  • Hi
    @lots-0-logs

    I also have Fedora 22 installed on another partition. To access Antergos on dev/sda1 on this HDD, I chrooted into Antergos via Fedora.

    Here is the terminal output as you can see:
    Initially I did fdisk -l from Fedora 22.
    As I said, Antergos is on /dev/sda1

    $ su
    Password: 
    [[email protected] frankenstein] $ sudo /bin/bash
    [[email protected] frankenstein] # fdisk -l
    Disk /dev/sdb: 29.8 GiB, 32017047552 bytes, 62533296 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x92ddf08a
    
    Device     Boot Start      End  Sectors  Size Id Type
    /dev/sdb1        2048 62529535 62527488 29.8G  7 HPFS/NTFS/exFAT
    
    
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: dos
    Disk identifier: 0x8c4959db
    
    Device     Boot      Start        End   Sectors   Size Id Type
    /dev/sda1  *          2048  964980735 964978688 460.1G 83 Linux
    /dev/sda2       1451081728 1937182719 486100992 231.8G 83 Linux
    /dev/sda3       1937182720 1953521663  16338944   7.8G  f W95 Ext'd (LBA)
    /dev/sda4        964980736 1451081727 486100992 231.8G 83 Linux
    /dev/sda5       1937184768 1953521663  16336896   7.8G 82 Linux swap / Solaris
    
    Partition table entries are not in disk order.
    

    Followed by mkdir to get the mount point:

    mkdir /mnt/sda1
    [[email protected] frankenstein] # mount /dev/sda1 /mnt/sda1
    [[email protected] frankenstein] # cp -vf /etc/resolv.conf /mnt/sda1/etc
    cp: overwrite ‘/mnt/sda1/etc/resolv.conf’? y
    ‘/etc/resolv.conf’ -> ‘/mnt/sda1/etc/resolv.conf’
    

    Followed by chroot and a quick Sy

    [[email protected] /]# pacman -Sy
    :: Synchronizing package databases...
     core is up to date
     extra is up to date
     community                  2.8 MiB   612K/s 00:05 [######################] 100%
     multilib is up to date
     antergos                 486.7 KiB  1151K/s 00:00 [######################] 100%
     xenlism-arch is up to date
    

    Then from Fedora , I did:

    sudo pacman -Rs lightdm-webkit-greeter
    error: target not found: lightdm-webkit-greeter
    [[email protected] /]# sudo pacman -Syu lightdm-webkit2-greeter
    :: Synchronizing package databases...
     core is up to date
     extra is up to date
     community is up to date
     multilib is up to date
     antergos is up to date
     xenlism-arch is up to date
    warning: lightdm-webkit2-greeter-0.1.2-9 is up to date -- reinstalling
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (1) lightdm-webkit2-greeter-0.1.2-9
    
    Total Download Size:   0.19 MiB
    Total Installed Size:  0.27 MiB
    Net Upgrade Size:      0.00 MiB
    
    :: Proceed with installation? [Y/n] y
    error: could not open file: /etc/mtab: No such file or directory
    error: could not determine filesystem mount points
    error: failed to commit transaction (unexpected error)
    Errors occurred, no packages were upgraded.
    

    The /etc/mtab error, as can be seen above.
    I didn’t know that webkit2 was already installed. Regardless I continued; though with an error that I don’t know how to resolve.

    sudo systemctl enable lightdm.service
    [[email protected] /]# sudo systemctl start lightdm.service
    Failed to get D-Bus connection: Operation not permitted
    

    I am thinking that perhaps I could also try a live CD of Antergos instead using much the same commands? Your thoughts?

    Its unusual to be able to do this through Fedora when one system uses rpm/dnf and the other uses pacman. But it does work…somewhat.

    Again, for some reason I am asked that the uploaded files be in .png format. I don’t this is do-able.

    Here is the lightdm.log file:

     [+0.14s] DEBUG: Logging to /var/log/lightdm/lightdm.log
    [+0.14s] DEBUG: Starting Light Display Manager 1.10.5, UID=0 PID=983
    [+0.14s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
    [+0.14s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
    [+0.14s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
    [+0.14s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
    [+0.14s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
    [+0.14s] DEBUG: Registered seat module xlocal
    [+0.14s] DEBUG: Registered seat module xremote
    [+0.14s] DEBUG: Registered seat module unity
    [+0.14s] DEBUG: Registered seat module surfaceflinger
    [+0.14s] DEBUG: Adding default seat
    [+0.14s] DEBUG: Seat: Starting
    [+0.14s] DEBUG: Seat: Creating greeter session
    [+0.26s] DEBUG: Seat: Creating display server of type x
    [+0.27s] DEBUG: Using VT 1
    [+0.27s] DEBUG: Seat: Starting local X display on VT 1
    [+0.27s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
    [+0.27s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
    [+0.27s] DEBUG: DisplayServer x-0: Launching X Server
    [+0.27s] DEBUG: Launching process 1063: /usr/bin/X -background none :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
    [+0.27s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
    [+0.27s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
    [+0.27s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
    [+0.56s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.56s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+1.62s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+5.41s] DEBUG: Got signal 10 from process 1063
    [+5.41s] DEBUG: DisplayServer x-0: Got signal from X server :0
    [+5.41s] DEBUG: DisplayServer x-0: Connecting to XServer :0
    [+5.41s] DEBUG: Seat: Display server ready, starting session authentication
    [+5.41s] DEBUG: Session pid=1217: Started with service 'lightdm-greeter', username 'lightdm'
    [+5.51s] DEBUG: Session pid=1217: Authentication complete with return value 0: Success
    [+5.51s] DEBUG: Seat: Session authenticated, running command
    [+5.51s] DEBUG: Session pid=1217: Running command /usr/sbin/lightdm-gtk-greeter
    [+5.51s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
    [+5.51s] DEBUG: Session pid=1217: Logging to /var/log/lightdm/x-0-greeter.log
    [+5.93s] DEBUG: Activating VT 1
    [+5.93s] DEBUG: Activating login1 session c1
    [+6.66s] DEBUG: Session pid=1217: Greeter connected version=1.10.5
    [+10.98s] DEBUG: Session pid=1217: Greeter start authentication for frankenstein
    [+10.98s] DEBUG: Session pid=1276: Started with service 'lightdm', username 'frankenstein'
    [+11.61s] DEBUG: Session pid=1276: Got 1 message(s) from PAM
    [+11.61s] DEBUG: Session pid=1217: Prompt greeter with 1 message(s)
    [+19.81s] DEBUG: Session pid=1217: Continue authentication
    [+19.83s] DEBUG: Session pid=1276: Authentication complete with return value 0: Success
    [+19.83s] DEBUG: Session pid=1217: Authenticate result for user frankenstein: Success
    [+19.83s] DEBUG: Session pid=1217: User frankenstein authorized
    [+19.83s] DEBUG: Session pid=1217: Greeter sets language en_US.utf8
    [+19.95s] DEBUG: Session pid=1217: Greeter requests session cinnamon
    [+19.96s] DEBUG: Seat: Stopping greeter; display server will be re-used for user session
    [+19.96s] DEBUG: Session pid=1217: Sending SIGTERM
    [+19.98s] DEBUG: Session pid=1217: Greeter closed communication channel
    [+19.98s] DEBUG: Session pid=1217: Exited with return value 0
    [+19.98s] DEBUG: Seat: Session stopped
    [+19.98s] DEBUG: Seat: Greeter stopped, running session
    [+19.98s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
    [+19.98s] DEBUG: Session pid=1276: Running command /etc/X11/xinit/Xsession cinnamon-session-cinnamon
    [+19.98s] DEBUG: Creating shared data directory /var/lib/lightdm-data/frankenstein
    [+19.98s] DEBUG: Session pid=1276: Logging to .xsession-errors
    [+20.36s] DEBUG: Activating VT 1
    [+20.36s] DEBUG: Activating login1 session 1
    [+21.34s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+36.35s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+274.97s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+2330.27s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+2378.20s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+2572.15s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    [+2574.30s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
    

    x-0.log

    X.Org X Server 1.17.2
    Release Date: 2015-06-16
    X Protocol Version 11, Revision 0
    Build Operating System:  4.1.6-100.fc21.x86_64 
    Current Operating System: Linux localhost.localdomain 4.1.7-200.fc22.x86_64 #1 SMP Mon Sep 14 20:19:24 UTC 2015 x86_64
    Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.7-200.fc22.x86_64 root=/dev/sda4
    Build Date: 16 September 2015  06:13:30PM
    Build ID: xorg-x11-server 1.17.2-2.fc22.2 
    Current version of pixman: 0.32.8
    	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: Wed Oct  7 09:01:52 2015
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    

    x-0.greeter.log

    ** (lightdm-gtk-greeter:1226): WARNING **: Failed to load user image: Failed to open file '/home/frankenstein/.face': Permission denied
    

    The .xsession-errors.log file is empty.

    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

  • I’m going to apologize in advance for being short, I only have a couple minutes to spare at the moment.

    First, don’t use Fedora to chroot into your Antergos system. You need to use the Antergos Live ISO. But before you do that, be sure to attempt to start Antergos normally, and go as far as it will go so that the problem is sure to be logged. Once you have done that, boot into the live environment and grab the logs like this:

    su
    mkdir /tmp/logs
    mkdir /mnt/antergos
    # mount antergos root
    mount /dev/sdaX  /mnt/antergos
    # grab ~/.xsession-errors logs
    cp /mnt/antergos/home/frankenstein/.xsession-errors /tmp/logs
    cp /mnt/antergos/home/frankenstein/.xsession-errors.old /tmp/logs
    # chroot into antergos system
    arch-chroot /mnt/antergos
    # grab journals
    journalctl -b -0 > /tmp/journal.log
    journalctl -b -1 > /tmp/journal.log1
    journalctl -b -2 > /tmp/journal.log2
    # I don't think this will help but it certainly can't hurt
    pacman -Rccn lightdm-webkit2-greeter lightdm
    pacman -Syyu
    pacman -S lightdm-webkit-theme-antergos
    # Be sure to check /etc/lightdm.conf to be sure the correct greeter and session are listed
    exit
    # Copy journal to the log folder we created earlier
    cd /mnt/antergos/tmp && cp journal** /tmp/logs
    # Now, post the logs so we can take a look!
    

    Cheers!

  • Hi:
    @lots-0-logs
    Could you please fix this issue as this is the issue I have mentioned earlier in one of my posts above regarding attempting to upload tar files and the upload slot states what is shown in the screen shot below.

    Screenshot from 2015-10-07 17-40-27.png

    [Logs.tar.gz](uploading 100%)

    I would love to be able to upload tar.gz log files; however, with the current error it’s impossible. I can post log files if desired instead.

    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 pastebin is always useful too

  • @Lizzi said:

    @Modisc pastebin is always useful too

    I don’t know how I managed to forget that, but yes! It takes a woman to remind a man of things he needs to do at times. Thanks a bunch for the hint/reminder.

    @lots-0-logs
    Here are some pastebin links:

    link text
    link text
    link text
    link text
    link text
    link text
    link text

    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 what about the journals?

  • Forgot. Sorry.

    link text
    link text

    journal.log is empty (unsure of the reason). log2 and log3 available for viewing.

    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 Try running this and then reboot:

    sudo chown -R frankenstein:users /home/frankenstein
    

    If that doesn’t resolve it, post the new set of logs. Thanks.

    Also, on an unrelated note, I recommend installing the acpid package.

  • Resolved. Thank you. :smiley:

    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

  • You’re welcome :)

  • Today Antergos offered new updates including updates for Lightdm and Lightdm-webkit2-greeter
    It did the trick. At least my Lightdm is working again.

Posts 15Views 10542
Log in to reply