You are not logged in.

#1 2016-06-10 01:49:30

jeton
Member
Registered: 2016-05-04
Posts: 29

[Solved] LightDM failed to start!

I've just installed Arch Linux and Deepin with LightDM, but LightDM never loads.
I have to login in command line and than run startx to load Deepin.

When i test LightDM with:

lightdm --test-mode --debug

... I get:

[+0.01s] DEBUG: Logging to /home/jeton/.cache/lightdm/log/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.18.1, UID=1001 PID=977
[+0.01s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Running in user mode
[+0.01s] DEBUG: Using Xephyr for X servers
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.03s] DEBUG: Seat seat0: Starting local X display
[+0.03s] DEBUG: DisplayServer x-1: Logging to /home/jeton/.cache/lightdm/log/x-1.log
[+0.03s] DEBUG: DisplayServer x-1: Writing X server authority to /run/lightdm/root/:1
[+0.03s] WARNING: Error reading existing Xauthority: Failed to open file '/run/lightdm/root/:1': Permission denied
[+0.03s] WARNING: DisplayServer x-1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.03s] DEBUG: DisplayServer x-1: Launching X Server
[+0.03s] DEBUG: Launching process 982: /usr/sbin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.03s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.03s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+2.83s] DEBUG: Got signal 10 from process 982
[+2.83s] DEBUG: DisplayServer x-1: Got signal from X server :1
[+2.83s] DEBUG: DisplayServer x-1: Connecting to XServer :1
[+2.83s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.83s] DEBUG: Session: Not setting XDG_VTNR
[+2.83s] DEBUG: Session pid=996: Started with service 'lightdm-greeter', username 'jeton'
[+2.84s] DEBUG: Session pid=996: Authentication complete with return value 0: Success
[+2.84s] DEBUG: Seat seat0: Session authenticated, running command
[+2.84s] DEBUG: Launching process 999: /usr/bin/numlockx on
[+2.84s] DEBUG: Process 999 exited with return value 1
[+2.84s] DEBUG: Seat seat0: Exit status of /usr/bin/numlockx on: 1
[+2.84s] DEBUG: Seat seat0: Switching to greeter due to failed setup script
[+2.84s] DEBUG: Seat seat0: Creating greeter session
[+2.84s] DEBUG: Session: Not setting XDG_VTNR
[+2.84s] DEBUG: Session pid=1000: Started with service 'lightdm-greeter', username 'jeton'
[+2.85s] DEBUG: Session pid=996: Greeter closed communication channel
[+2.85s] DEBUG: Session pid=996: Exited with return value 0
[+2.85s] DEBUG: Seat seat0: Session stopped
[+2.85s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+2.85s] DEBUG: Seat seat0: Stopping
[+2.85s] DEBUG: Seat seat0: Stopping display server
[+2.85s] DEBUG: Sending signal 15 to process 982
[+2.85s] DEBUG: Seat seat0: Stopping session
[+2.85s] DEBUG: Session pid=1000: Sending SIGTERM
[+2.85s] DEBUG: Session pid=1000: Greeter closed communication channel
[+2.85s] DEBUG: Session pid=1000: Terminated with signal 15
[+2.85s] DEBUG: Session: Failed during authentication
[+2.85s] DEBUG: Seat seat0: Stopping session that failed authentication
[+2.85s] DEBUG: Seat seat0: Session stopped
[+3.00s] DEBUG: Process 982 exited with return value 0
[+3.00s] DEBUG: DisplayServer x-1: X server stopped
[+3.00s] DEBUG: DisplayServer x-1: Removing X server authority /run/lightdm/root/:1
[+3.00s] DEBUG: Seat seat0: Display server stopped
[+3.00s] DEBUG: Seat seat0: Stopped
[+3.00s] DEBUG: Required seat has stopped
[+3.00s] DEBUG: Stopping display manager
[+3.00s] DEBUG: Display manager stopped
[+3.00s] DEBUG: Stopping daemon
[+3.00s] DEBUG: Exiting with return value 1

Last edited by jeton (2016-06-29 13:19:32)

Offline

#2 2016-06-10 02:23:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [Solved] LightDM failed to start!

What are the output of systemctl show default.target | head -1

Are they ID=graphical.target
?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-06-10 02:28:57

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [Solved] LightDM failed to start!

Did you install and configure a greeter for LightDM?  The base package is just a framework, you have to plug a greeter into it.

Offline

#4 2016-06-10 09:39:21

jeton
Member
Registered: 2016-05-04
Posts: 29

Re: [Solved] LightDM failed to start!

ewaller wrote:

What are the output of systemctl show default.target | head -1

Are they ID=graphical.target
?

Yes, that is the output I see.

What does it mean?

Offline

#5 2016-06-10 09:44:24

jeton
Member
Registered: 2016-05-04
Posts: 29

Re: [Solved] LightDM failed to start!

headkase wrote:

Did you install and configure a greeter for LightDM?  The base package is just a framework, you have to plug a greeter into it.

Yes I have, lightdm-deepin-greeter installed. I added this two lines in the ./etc/lightdm/lightdm.conf file:

greeter-setup-script=/usr/bin/numlockx on
greeter-session=lightdm-deepin-greeter

Offline

#6 2016-06-10 15:29:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [Solved] LightDM failed to start!

jeton wrote:

Yes, that is the output I see.
What does it mean?

It is set correctly.  Unfortunately.

It means that systemd will boot all the way into a graphical desktop manager, if one is enabled.  Had it been set to mult-user.target, it tells systemd to stop starting services when it reaches the mult-user target and not to continue with graphical targets.  This lets you, from the boot loader, tell the system to not start the "Log in screen" for whatever reason (maintenance, failure to launch, etc...)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2016-06-29 13:19:04

jeton
Member
Registered: 2016-05-04
Posts: 29

Re: [Solved] LightDM failed to start!

Removing and re-installing the display manager solved the problem.

Offline

Board footer

Powered by FluxBB