Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Segfault on boot #159

Open
yawpitch opened this issue Feb 13, 2018 · 4 comments
Open

Segfault on boot #159

yawpitch opened this issue Feb 13, 2018 · 4 comments

Comments

@yawpitch
Copy link

Hi, I am consistently getting a segfault on every boot.

I'm using the default theme, have enabled debug mode and checked the seat logs ... there isn't anything obvious.

                                                
                                                Stack trace of thread 913:
                                                #0  0x00007f9acb6d8ba7 gtk_widget_destroy (libgtk-3.so.0)
                                                #1  0x000055dfe6904101 n/a (lightdm-webkit2-greeter)
                                                #2  0x00007f9acbcb14de n/a (libglib-2.0.so.0)
                                                #3  0x00007f9acbcb4ca6 g_main_context_dispatch (libglib-2.0.so.0)
                                                #4  0x00007f9acbcb5081 n/a (libglib-2.0.so.0)
                                                #5  0x00007f9acbcb53b2 g_main_loop_run (libglib-2.0.so.0)
                                                #6  0x00007f9acb582d2f gtk_main (libgtk-3.so.0)
                                                #7  0x000055dfe6903abd n/a (lightdm-webkit2-greeter)
                                                #8  0x00007f9ac68aaf4a __libc_start_main (libc.so.6)
                                                #9  0x000055dfe6903b2a n/a (lightdm-webkit2-greeter)
                                                
                                                Stack trace of thread 922:
                                                #0  0x00007f9ac697597b __poll (libc.so.6)
                                                #1  0x00007f9acbcb4ff3 n/a (libglib-2.0.so.0)
                                                #2  0x00007f9acbcb510e g_main_context_iteration (libglib-2.0.so.0)
                                                #3  0x00007f9acbcb5162 n/a (libglib-2.0.so.0)
                                                #4  0x00007f9acbcdd26a n/a (libglib-2.0.so.0)
                                                #5  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #6  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 914:
                                                #0  0x00007f9ac61fd786 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f9ac7e0c1fb _ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18)
                                                #2  0x00007f9abd30cb9f execute_native_thread_routine (libstdc++.so.6)
                                                #3  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #4  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 937:
                                                #0  0x00007f9ac697a879 syscall (libc.so.6)
                                                #1  0x00007f9acbcfbdcd g_cond_wait_until (libglib-2.0.so.0)
                                                #2  0x00007f9acbc88753 n/a (libglib-2.0.so.0)
                                                #3  0x00007f9acbc88d3e g_async_queue_timeout_pop (libglib-2.0.so.0)
                                                #4  0x00007f9acbcddd81 n/a (libglib-2.0.so.0)
                                                #5  0x00007f9acbcdd26a n/a (libglib-2.0.so.0)
                                                #6  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #7  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 930:
                                                #0  0x00007f9ac697597b __poll (libc.so.6)
                                                #1  0x00007f9acbcb4ff3 n/a (libglib-2.0.so.0)
                                                #2  0x00007f9acbcb53b2 g_main_loop_run (libglib-2.0.so.0)
                                                #3  0x00007f9ac7e0080a _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
                                                #4  0x00007f9ac7dff595 n/a (libjavascriptcoregtk-4.0.so.18)
                                                #5  0x00007f9ac7dc8b30 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
                                                #6  0x00007f9ac7dfe6da n/a (libjavascriptcoregtk-4.0.so.18)
                                                #7  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #8  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 933:
                                                #0  0x00007f9ac61fd786 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f9ac7dff2cc _ZN3WTF15ThreadCondition9timedWaitERNS_5MutexEd (libjavascriptcoregtk-4.0.so.18)
                                                #2  0x00007f9ac7dc4605 _ZN3WTF10ParkingLot21parkConditionallyImplEPKvRKNS_12ScopedLambdaIFbvEEERKNS3_IFvvEEERKNS_24TimeWithDynamicClockTypeE (libjavascriptcoregtk-4.0.so.18)
                                                #3  0x00007f9ac7db09bb _ZN3WTF5sleepEd (libjavascriptcoregtk-4.0.so.18)
                                                #4  0x00007f9ac88ce83e n/a (libwebkit2gtk-4.0.so.37)
                                                #5  0x00007f9ac7dc8b30 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
                                                #6  0x00007f9ac7dfe6da n/a (libjavascriptcoregtk-4.0.so.18)
                                                #7  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #8  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 940:
                                                #0  0x00007f9ac697597b __poll (libc.so.6)
                                                #1  0x00007f9acbcb4ff3 n/a (libglib-2.0.so.0)
                                                #2  0x00007f9acbcb53b2 g_main_loop_run (libglib-2.0.so.0)
                                                #3  0x00007f9ac7e0080a _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
                                                #4  0x00007f9ac7dff595 n/a (libjavascriptcoregtk-4.0.so.18)
                                                #5  0x00007f9ac7dc8b30 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
                                                #6  0x00007f9ac7dfe6da n/a (libjavascriptcoregtk-4.0.so.18)
                                                #7  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #8  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 939:
                                                #0  0x00007f9ac697597b __poll (libc.so.6)
                                                #1  0x00007f9acbcb4ff3 n/a (libglib-2.0.so.0)
                                                #2  0x00007f9acbcb53b2 g_main_loop_run (libglib-2.0.so.0)
                                                #3  0x00007f9ac7e0080a _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
                                                #4  0x00007f9ac7dff595 n/a (libjavascriptcoregtk-4.0.so.18)
                                                #5  0x00007f9ac7dc8b30 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
                                                #6  0x00007f9ac7dfe6da n/a (libjavascriptcoregtk-4.0.so.18)
                                                #7  0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #8  0x00007f9ac697fe7f __clone (libc.so.6)
                                                
                                                Stack trace of thread 929:
                                                #0  0x00007f9ac6977a7c fdatasync (libc.so.6)
                                                #1  0x00007f9abe2dbf0a n/a (libsqlite3.so.0)
                                                #2  0x00007f9abe3182c9 n/a (libsqlite3.so.0)
                                                #3  0x00007f9abe31a5be sqlite3WalCheckpoint (libsqlite3.so.0)
                                                #4  0x00007f9abe31a677 sqlite3WalClose (libsqlite3.so.0)
                                                #5  0x00007f9abe2e0b67 sqlite3PagerClose (libsqlite3.so.0)
                                                #6  0x00007f9abe2798fd sqlite3BtreeClose (libsqlite3.so.0)
                                                #7  0x00007f9abe2d2b33 sqlite3LeaveMutexAndCloseZombie (libsqlite3.so.0)
                                                #8  0x00007f9abe2d44d4 n/a (libsqlite3.so.0)
                                                #9  0x00007f9ac91cdecf n/a (libwebkit2gtk-4.0.so.37)
                                                #10 0x00007f9ac8735813 n/a (libwebkit2gtk-4.0.so.37)
                                                #11 0x00007f9ac88d51ac n/a (libwebkit2gtk-4.0.so.37)
                                                #12 0x00007f9ac88d7497 n/a (libwebkit2gtk-4.0.so.37)
                                                #13 0x00007f9ac7dc7314 _ZN3WTF7RunLoop11performWorkEv (libjavascriptcoregtk-4.0.so.18)
                                                #14 0x00007f9ac7dffdaa n/a (libjavascriptcoregtk-4.0.so.18)
                                                #15 0x00007f9acbcb4ca6 g_main_context_dispatch (libglib-2.0.so.0)
                                                #16 0x00007f9acbcb5081 n/a (libglib-2.0.so.0)
                                                #17 0x00007f9acbcb53b2 g_main_loop_run (libglib-2.0.so.0)
                                                #18 0x00007f9ac7e0080a _ZN3WTF7RunLoop3runEv (libjavascriptcoregtk-4.0.so.18)
                                                #19 0x00007f9ac7dff595 n/a (libjavascriptcoregtk-4.0.so.18)
                                                #20 0x00007f9ac7dc8b30 _ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE (libjavascriptcoregtk-4.0.so.18)
                                                #21 0x00007f9ac7dfe6da n/a (libjavascriptcoregtk-4.0.so.18)
                                                #22 0x00007f9ac61f708c start_thread (libpthread.so.0)
                                                #23 0x00007f9ac697fe7f __clone (libc.so.6)

This seems to be similar to #100, but the backgrounds directory is readable (and the background is working when the system eventually relaunches the greeter and it does not segfault).

Any ideas?

@gberdzenishvili
Copy link

In addition to this coredump I am getting CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed in /var/log/lightdm/lightdm.log

@gberdzenishvili
Copy link

Not sure it this affects anything but it looks strange:

[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG:   [LightDM] contains unknown option session-wrapper

Found it in /var/log/lightdm/lightdm.log

@gberdzenishvili
Copy link

Here are my configs and full log files:

  • seat0-greeter.log
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() called with key: ant:background_manager:current_background
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() key: ant:background_manager:current_background value is: /usr/share/antergos/wallpapers/nikon_d40.jpg
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() called with key: ant:user:gberdzenishvili:session
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() key: ant:user:gberdzenishvili:session value is: gnome
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Last session for gberdzenishvili was: gnome
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Adding GNOME to the session list...
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Adding GNOME to the session list...
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Adding GNOME Classic to the session list...
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Adding GNOME on Xorg to the session list...
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() called with key: ant:background_manager:random_background
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() key: ant:background_manager:random_background value is: true
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() called with key: ant:user:gberdzenishvili:session
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() key: ant:user:gberdzenishvili:session value is: gnome
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Starting authentication for gberdzenishvili.
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Session for gberdzenishvili is gnome
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() called with key: ant:user:gberdzenishvili:session
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_get() key: ant:user:gberdzenishvili:session value is: gnome
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Authentication cancelled for gberdzenishvili
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Starting authentication for gberdzenishvili.
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG Session for gberdzenishvili is gnome
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:109:15: CONSOLE LOG cache_set() called with key: ant:user:gberdzenishvili:session and value: gnome
  • lightdm.log
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.24.1, UID=0 PID=400
[+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:   [LightDM] contains unknown option session-wrapper
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.64s] DEBUG: Monitoring logind for seats
[+0.64s] DEBUG: New seat added from logind: seat0
[+0.64s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.64s] DEBUG: Seat seat0: Starting
[+0.64s] DEBUG: Seat seat0: Creating greeter session
[+0.64s] DEBUG: Seat seat0: Creating display server of type x
[+0.64s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.64s] DEBUG: Using VT 7
[+0.64s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.64s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.64s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.64s] DEBUG: XServer 0: Launching X Server
[+0.64s] DEBUG: Launching process 484: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.64s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.64s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.64s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.66s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.66s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+1.65s] DEBUG: Got signal 10 from process 484
[+1.65s] DEBUG: XServer 0: Got signal from X server :0
[+1.65s] DEBUG: XServer 0: Connecting to XServer :0
[+2.23s] CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[+2.23s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.23s] DEBUG: Session pid=648: Started with service 'lightdm-greeter', username 'lightdm'
[+2.26s] DEBUG: Session pid=648: Authentication complete with return value 0: Success
[+2.26s] DEBUG: Seat seat0: Session authenticated, running command
[+2.26s] DEBUG: Session pid=648: Running command /usr/bin/lightdm-webkit2-greeter
[+2.26s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.26s] DEBUG: Session pid=648: Logging to /var/log/lightdm/seat0-greeter.log
[+2.37s] DEBUG: Activating VT 7
[+2.37s] DEBUG: Activating login1 session c1
[+2.37s] DEBUG: Seat seat0 changes active session to c1
[+2.37s] DEBUG: Session c1 is already active
[+2.95s] DEBUG: Greeter connected version=1.24.1 api=1 resettable=false
[+3.37s] DEBUG: Greeter requests data directory for user gberdzenishvili
[+3.37s] DEBUG: Creating shared data directory /var/lib/lightdm-data/gberdzenishvili
[+5.71s] DEBUG: Greeter start authentication for gberdzenishvili
[+5.71s] DEBUG: Session pid=738: Started with service 'lightdm', username 'gberdzenishvili'
[+5.72s] DEBUG: Session pid=738: Got 1 message(s) from PAM
[+5.72s] DEBUG: Prompt greeter with 1 message(s)
[+5.82s] DEBUG: Cancel authentication
[+5.82s] DEBUG: Session pid=738: Sending SIGTERM
[+5.83s] DEBUG: Session pid=738: Terminated with signal 15
[+5.83s] DEBUG: Session: Failed during authentication
[+5.83s] DEBUG: Seat seat0: Session stopped
[+5.83s] DEBUG: Greeter start authentication for gberdzenishvili
[+5.83s] DEBUG: Session pid=739: Started with service 'lightdm', username 'gberdzenishvili'
[+5.84s] DEBUG: Session pid=739: Got 1 message(s) from PAM
[+5.84s] DEBUG: Prompt greeter with 1 message(s)
[+8.45s] DEBUG: Continue authentication
[+8.46s] DEBUG: Session pid=739: Authentication complete with return value 0: Success
[+8.46s] DEBUG: Authenticate result for user gberdzenishvili: Success
[+8.46s] DEBUG: User gberdzenishvili authorized
[+9.47s] DEBUG: Greeter requests session gnome
[+9.47s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+9.47s] DEBUG: Terminating login1 session c1
[+9.48s] DEBUG: Session pid=648: Sending SIGTERM
[+9.98s] DEBUG: Greeter closed communication channel
[+9.98s] DEBUG: Session pid=648: Exited with return value 1
[+9.98s] DEBUG: Seat seat0: Session stopped
[+9.98s] DEBUG: Seat seat0: Greeter stopped, running session
[+9.98s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+9.98s] CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[+9.98s] DEBUG: Session pid=739: Running command /etc/lightdm/Xsession gnome-session
[+9.98s] DEBUG: Creating shared data directory /var/lib/lightdm-data/gberdzenishvili
[+9.98s] DEBUG: Session pid=739: Logging to .xsession-errors
[+10.05s] DEBUG: Activating VT 7
[+10.05s] DEBUG: Activating login1 session c2
[+10.05s] DEBUG: Seat seat0 changes active session to 
[+10.05s] DEBUG: Seat seat0 changes active session to c2
[+10.05s] DEBUG: Session c2 is already active
  • 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
# 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
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[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=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=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 (local, 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-backend = X backend to use (mir)
# 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=/etc/lightdm/Xsession
# 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=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-backend=
#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=lightdm-webkit2-greeter
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
user-session=gnome
#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)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# 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=
#hostname=

#
# 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-webkit2-greeter.conf
#
# [greeter]
# debug_mode          = Greeter theme debug mode.
# detect_theme_errors = Provide an option to load a fallback theme when theme errors are detected.
# screensaver_timeout = Blank the screen after this many seconds of inactivity.
# secure_mode         = Don't allow themes to make remote http requests.
# time_format         = A moment.js format string so the greeter can generate localized time for display.
# time_language       = Language to use when displaying the time or "auto" to use the system's language.
# webkit_theme        = Webkit theme to use.
#
# NOTE: See moment.js documentation for format string options: http://momentjs.com/docs/#/displaying/format/
#

[greeter]
debug_mode          = true
detect_theme_errors = true
screensaver_timeout = 300
secure_mode         = true
time_format         = LT
time_language       = auto
webkit_theme        = antergos

#
# [branding]
# background_images = Path to directory that contains background images for use by themes.
# logo              = Path to logo image for use by greeter themes.
# user_image        = Default user image/avatar. This is used by themes for users that have no .face image.
#
# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)
#

[branding]
background_images = /usr/share/antergos/wallpapers
logo              = /usr/share/lightdm-webkit/themes/antergos/img/antergos.png
user_image        = /usr/share/lightdm-webkit/themes/antergos/img/antergos-logo-user.png

@netsudo
Copy link

netsudo commented Mar 15, 2018

I'm having the same issue intermittently which causes lightdm to crash and send me to the login screen

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants