You are not logged in.

#1 2013-07-28 15:56:24

nfisher.sr
Member
Registered: 2013-06-15
Posts: 45

Lightdm somehow borked [SOLVED]

Lightdm had been working fine for quite a while until last night. I'm sure I did something to break it but can't figure out exactly what. Anyway, it gets into a loop of trying to start and then restarting before the greeter comes up. I had to disable it via systemctl in order to use the computer normally.

I've tried starting lightdm directly from the command line with the same result, and by running "systemctl start lightdm" also with the same result. Interestingly (or maybe not) it works fine in test mode running in a xephyr window via "lightdm --test-mode --debug".

Yes I've read the wiki page extensively and done a forum search. There were a few hits on the forum but nothing quite matching or very helpful.

My /etc/lightdm/lightdm.conf

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# xsessions-directory = Directory to find X sessions
# remote-sessions-directory = Directory to find remote sessions
# xgreeters-directory = Directory to find X greeters
#
[LightDM]
start-default-seat=true
greeter-user=lightdm
minimum-display-number=0
minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#xsessions-directory=/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#xgreeters-directory=/usr/share/xgreeters

#
# Seat defaults
#
# type = Seat type (xlocal, xremote)
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = lightdm-gtk-greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# exit-on-failure = True if the daemon should exit if this seat fails
#
[SeatDefaults]
#type=xlocal
#xserver-command=X
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session = lightdm-gtk-greeter
greeter-hide-users=false
#greeter-allow-guest=true
greeter-show-manual-login=true
#greeter-show-remote-login=true
#user-session=default
#allow-guest=true
#guest-session=UNIMPLEMENTED
session-wrapper=/etc/lightdm/xsession
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
pam-service=lightdm-autologin
#exit-on-failure=false

#
# Seat configuration
#
# Each seat must start with "Seat:".
# Uses settings from [SeatDefaults], any of these can be overriden by setting them in this section.
#
#[Seat:0]

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#key=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#width=1024
#height=768
#depth=8

My /etc/lightdm/lightdm-gtk-greeter.conf

#
# background = Background file to use, either an image path or a color (e.g. #772953)
# theme-name = GTK+ theme to use
# icon-theme-name = Icon theme to use
# font-name = Font to use
# xft-antialias = Whether to antialias Xft fonts (true or false)
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = What degree of hinting to use (none, slight, medium, or full)
# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
# show-language-selector (true or false)
# show-indicators = semi-colon ";" separated list of allowed indicator modules (e.g. libsoundmenu.so)
# show-clock (true or false)
# clock-format = strftime-format string, e.g. %H:%M
# keyboard = command to launch on-screen keyboard
#
[greeter]
background=/usr/local/share/backgrounds/gnome/Stripes.jpg
theme-name=Xfce-dawn
icon-theme-name=Tango
font-name=Sans Regular 12
xft-antialias=true
xft-dpi=96
xft-hintstyle=slight
xft-rgba=rgb
show-language-selector=false
show-indicators=false
show-clock=true
clock-format=%a %d %b %H:%M
keyboard=

/var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.6.0, UID=0 PID=823
[+0.00s] DEBUG: Loaded 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: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for greeter
[+0.00s] DEBUG: Starting local X display
[+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: Activating VT 7
[+0.02s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+0.02s] DEBUG: Launching X Server
[+0.02s] DEBUG: Launching process 828: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.03s] DEBUG: Waiting for ready signal from X server :0
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.32s] DEBUG: Got signal 10 from process 828
[+0.32s] DEBUG: Got signal from X server :0
[+0.32s] DEBUG: Connecting to XServer :0
[+0.34s] DEBUG: Starting greeter
[+0.34s] DEBUG: Started session 834 with service 'lightdm-greeter', username 'lightdm'
[+0.36s] DEBUG: Session 834 authentication complete with return value 0: Success
[+0.36s] DEBUG: Greeter authorized
[+0.36s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+0.36s] DEBUG: Session 834 running command /usr/sbin/lightdm-gtk-greeter
[+0.36s] DEBUG: org.freedesktop.Accounts does not exist, falling back to passwd file
[+0.56s] DEBUG: Greeter connected version=1.6.0
[+0.56s] DEBUG: Greeter connected, display is ready
[+0.56s] DEBUG: New display ready, switching to it
[+0.56s] DEBUG: Activating VT 7
[+2.75s] DEBUG: Greeter closed communication channel
[+2.75s] DEBUG: Session 834 exited with return value 139
[+2.75s] DEBUG: Greeter quit
[+2.75s] DEBUG: Failed to start greeter
[+2.75s] DEBUG: Stopping display
[+2.75s] DEBUG: Sending signal 15 to process 828
[+2.90s] DEBUG: Process 828 exited with return value 0
[+2.90s] DEBUG: X server stopped
[+2.90s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+2.90s] DEBUG: Releasing VT 7
[+2.91s] DEBUG: Display server stopped
[+2.91s] DEBUG: Switching to greeter
[+2.91s] DEBUG: Starting new display for greeter
[+2.91s] DEBUG: Starting local X display
[+2.91s] DEBUG: Using VT 7
[+2.91s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+2.91s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+2.91s] DEBUG: Launching X Server
[+2.91s] DEBUG: Launching process 853: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+2.91s] DEBUG: Waiting for ready signal from X server :0
[+3.49s] DEBUG: Got signal 10 from process 853
[+3.49s] DEBUG: Got signal from X server :0
[+3.49s] DEBUG: Connecting to XServer :0
[+3.53s] DEBUG: Starting greeter
[+3.53s] DEBUG: Started session 858 with service 'lightdm-greeter', username 'lightdm'
[+3.56s] DEBUG: Session 858 authentication complete with return value 0: Success
[+3.56s] DEBUG: Greeter authorized
[+3.56s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+3.56s] DEBUG: Session 858 running command /usr/sbin/lightdm-gtk-greeter
[+3.78s] DEBUG: Greeter connected version=1.6.0
[+3.78s] DEBUG: Greeter connected, display is ready
[+3.78s] DEBUG: New display ready, switching to it
[+3.78s] DEBUG: Activating VT 7
[+6.69s] DEBUG: Greeter closed communication channel
[+6.69s] DEBUG: Session 858 exited with return value 139
[+6.69s] DEBUG: Greeter quit
[+6.69s] DEBUG: Failed to start greeter
[+6.69s] DEBUG: Stopping display
[+6.70s] DEBUG: Sending signal 15 to process 853
[+6.84s] DEBUG: Process 853 exited with return value 0
[+6.84s] DEBUG: X server stopped
[+6.84s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+6.84s] DEBUG: Releasing VT 7
[+6.84s] DEBUG: Display server stopped
[+6.84s] DEBUG: Switching to greeter
[+6.84s] DEBUG: Starting new display for greeter
[+6.84s] DEBUG: Starting local X display
[+6.84s] DEBUG: Using VT 7
[+6.84s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+6.84s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+6.84s] DEBUG: Launching X Server
[+6.84s] DEBUG: Launching process 877: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+6.84s] DEBUG: Waiting for ready signal from X server :0
[+7.93s] DEBUG: Got signal 10 from process 877
[+7.93s] DEBUG: Got signal from X server :0
[+7.93s] DEBUG: Connecting to XServer :0
[+7.97s] DEBUG: Starting greeter
[+7.97s] DEBUG: Started session 882 with service 'lightdm-greeter', username 'lightdm'
[+8.25s] DEBUG: Session 882 authentication complete with return value 0: Success
[+8.25s] DEBUG: Greeter authorized
[+8.25s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+8.25s] DEBUG: Session 882 running command /usr/sbin/lightdm-gtk-greeter
[+9.14s] DEBUG: Greeter connected version=1.6.0
[+9.14s] DEBUG: Greeter connected, display is ready
[+9.14s] DEBUG: New display ready, switching to it
[+9.14s] DEBUG: Activating VT 7
[+11.30s] DEBUG: Greeter closed communication channel
[+11.30s] DEBUG: Session 882 exited with return value 139
[+11.30s] DEBUG: Greeter quit
[+11.31s] DEBUG: Failed to start greeter
[+11.31s] DEBUG: Stopping display
[+11.31s] DEBUG: Sending signal 15 to process 877
[+11.44s] DEBUG: Process 877 exited with return value 0
[+11.44s] DEBUG: X server stopped
[+11.44s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+11.44s] DEBUG: Releasing VT 7
[+11.44s] DEBUG: Display server stopped
[+11.45s] DEBUG: Switching to greeter
[+11.45s] DEBUG: Starting new display for greeter
[+11.45s] DEBUG: Starting local X display
[+11.45s] DEBUG: Using VT 7
[+11.45s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+11.45s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+11.45s] DEBUG: Launching X Server
[+11.45s] DEBUG: Launching process 901: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+11.45s] DEBUG: Waiting for ready signal from X server :0
[+12.04s] DEBUG: Got signal 10 from process 901
[+12.04s] DEBUG: Got signal from X server :0
[+12.04s] DEBUG: Connecting to XServer :0
[+12.08s] DEBUG: Starting greeter
[+12.08s] DEBUG: Started session 906 with service 'lightdm-greeter', username 'lightdm'
[+12.11s] DEBUG: Session 906 authentication complete with return value 0: Success
[+12.11s] DEBUG: Greeter authorized
[+12.11s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+12.11s] DEBUG: Session 906 running command /usr/sbin/lightdm-gtk-greeter
[+12.35s] DEBUG: Greeter connected version=1.6.0
[+12.35s] DEBUG: Greeter connected, display is ready
[+12.35s] DEBUG: New display ready, switching to it
[+12.35s] DEBUG: Activating VT 7
[+15.10s] DEBUG: Greeter closed communication channel
[+15.10s] DEBUG: Session 906 exited with return value 139
[+15.10s] DEBUG: Greeter quit
[+15.10s] DEBUG: Failed to start greeter
[+15.10s] DEBUG: Stopping display
[+15.10s] DEBUG: Sending signal 15 to process 901
[+15.24s] DEBUG: Process 901 exited with return value 0
[+15.24s] DEBUG: X server stopped
[+15.24s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+15.24s] DEBUG: Releasing VT 7
[+15.24s] DEBUG: Display server stopped
[+15.24s] DEBUG: Switching to greeter
[+15.24s] DEBUG: Starting new display for greeter
[+15.24s] DEBUG: Starting local X display
[+15.24s] DEBUG: Using VT 7
[+15.24s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+15.24s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+15.24s] DEBUG: Launching X Server
[+15.24s] DEBUG: Launching process 925: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+15.24s] DEBUG: Waiting for ready signal from X server :0
[+15.84s] DEBUG: Got signal 10 from process 925
[+15.84s] DEBUG: Got signal from X server :0
[+15.84s] DEBUG: Connecting to XServer :0
[+15.88s] DEBUG: Starting greeter
[+15.88s] DEBUG: Started session 930 with service 'lightdm-greeter', username 'lightdm'
[+15.91s] DEBUG: Session 930 authentication complete with return value 0: Success
[+15.91s] DEBUG: Greeter authorized
[+15.91s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+15.91s] DEBUG: Session 930 running command /usr/sbin/lightdm-gtk-greeter
[+16.18s] DEBUG: Greeter connected version=1.6.0
[+16.18s] DEBUG: Greeter connected, display is ready
[+16.18s] DEBUG: New display ready, switching to it
[+16.18s] DEBUG: Activating VT 7
[+19.03s] DEBUG: Greeter closed communication channel
[+19.03s] DEBUG: Session 930 exited with return value 139
[+19.03s] DEBUG: Greeter quit
[+19.03s] DEBUG: Failed to start greeter
[+19.03s] DEBUG: Stopping display
[+19.03s] DEBUG: Sending signal 15 to process 925
[+19.17s] DEBUG: Process 925 exited with return value 0
[+19.17s] DEBUG: X server stopped
[+19.17s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+19.17s] DEBUG: Releasing VT 7
[+19.17s] DEBUG: Display server stopped
[+19.17s] DEBUG: Switching to greeter
[+19.17s] DEBUG: Starting new display for greeter
[+19.17s] DEBUG: Starting local X display
[+19.17s] DEBUG: Using VT 7
[+19.17s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+19.17s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+19.17s] DEBUG: Launching X Server
[+19.18s] DEBUG: Launching process 949: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+19.18s] DEBUG: Waiting for ready signal from X server :0
[+19.44s] DEBUG: Got signal 15 from process 1
[+19.86s] DEBUG: Caught Terminated signal, shutting down
[+19.88s] DEBUG: Stopping display manager
[+19.88s] DEBUG: Stopping seat
[+19.88s] DEBUG: Stopping display
[+19.88s] DEBUG: Sending signal 15 to process 949

/var/log/lightdm/X-0.log

X.Org X Server 1.14.2
Release Date: 2013-06-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.9.7-1-ARCH i686 
Current Operating System: Linux thor 3.10.3-1-ARCH #1 SMP PREEMPT Fri Jul 26 17:13:15 CEST 2013 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=12020769-1dbe-4a4d-812e-4df64d8647ae ro quiet
Build Date: 01 July 2013  10:52:25AM
 
Current version of pixman: 0.30.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: Sun Jul 28 11:11:46 2013
(==) 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"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE) Server terminated successfully (0). Closing log file.

/var/log/lightdm/X-0-greeter.log

** (process:930): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

(lightdm-gtk-greeter:932): Gtk-WARNING **: Theme parsing error: gtk.css:67:18: Not using units is deprecated. Assuming 'px'.

(lightdm-gtk-greeter:932): Gtk-WARNING **: Theme parsing error: gtk.css:67:20: Not using units is deprecated. Assuming 'px'.

** (lightdm-gtk-greeter:932): WARNING **: Failed to open sessions directory: Error opening directory '/usr/share/lightdm/remote-sessions': No such file or directory

Last edited by nfisher.sr (2013-07-30 20:55:55)

Offline

#2 2013-07-28 17:00:25

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: Lightdm somehow borked [SOLVED]

This happened to me when I had set a greeter which didn't exist, try this:

backup your lightdm configs if you want

pacman -Rnsu lightdm

and remove all greeters,
then

pacman -S lightdm lightdm-gtk3-greeter

bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#3 2013-07-29 07:04:43

nfisher.sr
Member
Registered: 2013-06-15
Posts: 45

Re: Lightdm somehow borked [SOLVED]

No, same problem after complete removal and re-installation.

Offline

#4 2013-07-29 08:14:55

nfisher.sr
Member
Registered: 2013-06-15
Posts: 45

Re: Lightdm somehow borked [SOLVED]

UPDATE - I replaced lightdm with lightdm-dev from the AUR, and also replaced the lightdm-gtk-greeter with lightdm-gtk-greeter-dev. Hate to do things this way, but it cured the symptom.

Offline

Board footer

Powered by FluxBB