Author Topic: light display manager failing to load  (Read 2804 times)

0 Members and 1 Guest are viewing this topic.

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
light display manager failing to load
« on: 11. May 2016, 09:26:35 »
Anyone else getting this. I hadn't updated in about a week, rebooted and got an error saying lightdm failed to start. So I updated hoping that would help, but it didn't. Any ideas?

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #1 on: 11. May 2016, 12:58:16 »
I use lightdm and it works just great. Which means trouble is at your end, and you need to provide all details. Start with filling up your forum profile. Then share your lightdm configs in /etc/lightdm. Then we can move on to dmesg and journalctl, if required.
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
Re: light display manager failing to load
« Reply #2 on: 11. May 2016, 18:47:24 »
I use lightdm and it works just great. Which means trouble is at your end, and you need to provide all details. Start with filling up your forum profile. Then share your lightdm configs in /etc/lightdm. Then we can move on to dmesg and journalctl, if required.

lightdm.conf
Code: [Select]
#
# 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
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
#
[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
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters
#backup-logs=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:thin-client*] matches all seats that have names that start with "thin-client".
#
# type = Seat type (xlocal, xremote)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -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
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# 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)
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
# unity-compositor-timeout = Number of seconds to wait for compositor to start
# greeter-session = Session to load for 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-user-switching = True if allowed to switch 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
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (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)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=xlocal
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# 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
#listen-address=
#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
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# 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
#listen-address=
#width=1024
#height=768
#depth=8

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #3 on: 12. May 2016, 02:26:16 »
there's also a greeter conf in same folder, share that too.
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
Re: light display manager failing to load
« Reply #4 on: 12. May 2016, 03:07:35 »
there's also a greeter conf in same folder, share that too.

lightdm-gtk-greeter.conf
Code: [Select]
[greeter]
icon-theme-name = Faenza-Green
background = /usr/share/backgrounds/lightdm/manjaro-lightdm-gtk-greeter.jpg
font-name = Cantarell 10
clock-format = %a %b %d %l:%M:%S %P
theme-name = Menda-Dark

Offline erg

  • Neuling
  • *
  • Posts: 41
  • I'm new. Be nice!
  • Branch: Unstable
  • Desktop: Plasma
  • GPU Card: ati radeon hd 7640g + 7670m
  • GPU driver: catalyst
  • Kernel: linux44
  • Skill: Novice
Re: light display manager failing to load
« Reply #5 on: 12. May 2016, 10:27:25 »
Code: [Select]
systemctl -f enable lightdm.service
Manjaro+Bqqlinux+Blackarch= "Darkjaro"
Pentesting based Manjaro

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #6 on: 12. May 2016, 13:02:22 »
@huladaddy are you in a virtual box?
If so, please check out this!
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #7 on: 12. May 2016, 14:45:20 »
Code: [Select]
theme-name = Menda-Darkchange theme to Adwaita
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
Re: light display manager failing to load
« Reply #8 on: 12. May 2016, 21:59:26 »
Thank you so much for the help so far...

Ok. Some new information/corrections... First, I noticed an error coming up at the very beginning of boot:
Code: [Select]
[FAILED] Failed to start Load Kernel Modules.
Running a "systemctl status systemd-modules-load.service" gives this:
Code: [Select]
...
Active: failed (Result: exit-code) since ...
Process: 179 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 179 (code=exited, status=1/FAILURE)

Next are two corrections. I copied the earlier .conf files from the wrong system (oops, I apologize!) Below are the correct ones:

lightdm.conf:
Code: [Select]
#
# 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
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters
#backup-logs=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (xlocal, xremote, unity)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# 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)
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
# unity-compositor-timeout = Number of seconds to wait for compositor to start
# greeter-session = Session to load for 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-user-switching = True if allowed to switch 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
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (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)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=xlocal
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# 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
#listen-address=
#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
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# 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
#listen-address=
#width=1024
#height=768
#depth=8

lightdm-gtk-greeter.conf:
Code: [Select]
[greeter]
active-monitor = cursor
user-background = true
default-user-image = #face-cool
theme-name = i3-dark
font-name = Cantarell 11
position = -50%,center
clock-format = %a %b %-e  %-l:%M
background = /home/errol/Wallpapers/Welcome_16_10.jpg

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #9 on: 13. May 2016, 19:08:46 »
only adwaita, arc and vertex themes support latest gtk. Don;t use anything else for 'theme-name' entry. You can install those from a chroot or tty shell.
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
Re: light display manager failing to load
« Reply #10 on: 13. May 2016, 23:00:55 »
only adwaita, arc and vertex themes support latest gtk. Don;t use anything else for 'theme-name' entry. You can install those from a chroot or tty shell.
OK. Good info. But when I try to install adwaita them or arc theme, I get a complaint about PGP keys. I don't seem to have any. I tried the normal routine of updating keys, but whenever I get to the stage of importing a key, it just sits there forever. I've let it run for 15 minutes and it never completes the PGP import.

Could this point to a bigger problem I am having? I am getting worried!


Solved my PGP keyring problems. But, I tried "adwaita", "arc" and "vertex" as theme-names (after installing their packages), and I'm still not able to load lightdm...
« Last Edit: 14. May 2016, 05:08:15 by huladaddy »

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #11 on: 14. May 2016, 05:54:23 »
please don;t be lazy and use the exact theme names. Check in /usr/share/themes , the directory names will be something like "Adwaita" not "adwaita", "Vertex" not "vertex" ... you get the hint :)
Once you deal with that, we can move on to other potential issues messing with lightdm.

Personally, i use the official "Vertex-Maia" on lightdm, not "vertexmaia" :P
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
Re: light display manager failing to load
« Reply #12 on: 14. May 2016, 06:15:59 »
please don;t be lazy and use the exact theme names. Check in /usr/share/themes , the directory names will be something like "Adwaita" not "adwaita", "Vertex" not "vertex" ... you get the hint :)
Once you deal with that, we can move on to other potential issues messing with lightdm.

Personally, i use the official "Vertex-Maia" on lightdm, not "vertexmaia" :P

I apologize. I wasn't meaning to be lazy, I just didn't know any better. I really do want to get my machine up and running...

I have now tried "Arc", "Adwaita", "Vertex" and "Vertex-Maia" as per my /usr/share/themes, and still no go...

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: light display manager failing to load
« Reply #13 on: 15. May 2016, 00:15:23 »
then leave it to Vertex-Maia. Now we can move on and do other stuff. Check oberon's link, if you;re on vbox.
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline huladaddy

  • Vollwertiges Mitglied
  • ***
  • Posts: 156
  • Branch: stable
  • Desktop: i3
  • GPU Card: nVidia
  • GPU driver: non-free
  • Kernel: 4.1.23
  • Skill: Advanced
Re: light display manager failing to load
« Reply #14 on: 15. May 2016, 00:39:27 »
Thank you so much for the help so far...

Ok. Some new information/corrections... First, I noticed an error coming up at the very beginning of boot:
Code: [Select]
[FAILED] Failed to start Load Kernel Modules.
Running a "systemctl status systemd-modules-load.service" gives this:
Code: [Select]
...
Active: failed (Result: exit-code) since ...
Process: 179 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 179 (code=exited, status=1/FAILURE)

SOLVED.

This was the key. My nvidia drivers failed to load with the 4.1 kernel!!! What!? It was working fine for a long time. Oh well. Installed 4.4 kernel and all is good. Sorry to have taken you on a bit of a wild goose chase. Thanks everyone.