<div dir="ltr"><div><div>Hi,<br><br></div>You should have a look in /var/log/lightdm/lightdm.log. This should give you more idea which part is failing. If that is fine and the error in the X log is significant this is probably an X / driver issue.<br><br></div>--Robert<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 12 Apr 2016 at 08:01 Hacksign <<a href="mailto:evilsign@gmail.com">evilsign@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
what I have done:<br>
1. login system<br>
2. lock screen with command 'dm-tool lock'<br>
3. active screen, enter password, login system again<br>
4. lock screen again with command 'dm-tool lock'<br>
what happend:<br>
screen remains blank, can not active screen.this happens everytime
if I take actions described above.<br>
<br>
I'm using Archlinx + lightdm + lightdm-gtk-greeter, laptop X1 carbon
2015 edition.<br>
<br>
there is a failure in /var/log/lightdm/x-0.log :<br>
[root@XSign lightdm]# cat x-0.log <br>
<br>
X.Org X Server 1.18.3<br>
Release Date: 2016-04-04<br>
X Protocol Version 11, Revision 0<br>
Build Operating System: Linux 4.2.5-1-ARCH x86_64 <br>
Current Operating System: Linux XSign 4.4.5-1-ARCH #1 SMP PREEMPT
Thu Mar 10 07:38:19 CET 2016 x86_64<br>
Kernel command line: initrd=\initramfs-linux.img root=/dev/sda3 rw<br>
Build Date: 05 April 2016 05:24:02PM<br>
<br>
Current version of pixman: 0.34.0<br>
Before reporting problems, check <a href="http://wiki.x.org" target="_blank">http://wiki.x.org</a><br>
to make sure that you have the latest version.<br>
Markers: (--) probed, (**) from config file, (==) default setting,<br>
(++) from command line, (!!) notice, (II) informational,<br>
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br>
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 12 13:45:41 2016<br>
(==) Using config directory: "/etc/X11/xorg.conf.d"<br>
(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br>
xf86: remove device 0 /sys/devices/pci0000:00/0000:00:02.0/drm/card0<br>
<font color="#ff0000">failed to find screen to remove</font><br>
(II) AIGLX: Suspending AIGLX clients for VT switch<br>
<br>
below is my lightdm.conf:<br>
[root@XSign lightdm]# cat /etc/lightdm/lightdm.conf <br>
#<br>
# General configuration<br>
#<br>
# start-default-seat = True to always start one seat if none are
defined in the configuration<br>
# greeter-user = User to run greeter as<br>
# minimum-display-number = Minimum display number to use for X
servers<br>
# minimum-vt = First VT to run displays on<br>
# lock-memory = True to prevent memory from being paged to disk<br>
# user-authority-in-system-dir = True if session authority should be
in the system location<br>
# guest-account-script = Script to be run to setup guest account<br>
# logind-check-graphical = True to on start seats that are marked as
graphical by logind<br>
# log-directory = Directory to log information to<br>
# run-directory = Directory to put running state in<br>
# cache-directory = Directory to cache to<br>
# sessions-directory = Directory to find sessions<br>
# remote-sessions-directory = Directory to find remote sessions<br>
# greeters-directory = Directory to find greeters<br>
# backup-logs = True to move add a .old suffix to old log files when
opening new ones<br>
#<br>
[LightDM]<br>
#start-default-seat=true<br>
#greeter-user=lightdm<br>
#minimum-display-number=0<br>
#minimum-vt=7 # Setting this to a value < 7 implies security
issues, see FS#46799<br>
#lock-memory=true<br>
#user-authority-in-system-dir=false<br>
#guest-account-script=guest-account<br>
#logind-check-graphical=false<br>
#log-directory=/var/log/lightdm<br>
run-directory=/run/lightdm<br>
#cache-directory=/var/cache/lightdm<br>
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions<br>
#remote-sessions-directory=/usr/share/lightdm/remote-sessions<br>
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters<br>
#backup-logs=true<br>
<br>
#<br>
# Seat configuration<br>
#<br>
# Seat configuration is matched against the seat name glob in the
section, for example:<br>
# [Seat:*] matches all seats and is applied first.<br>
# [Seat:seat0] matches the seat named "seat0".<br>
# [Seat:seat-thin-client*] matches all seats that have names that
start with "seat-thin-client".<br>
#<br>
# type = Seat type (xlocal, xremote, unity)<br>
# pam-service = PAM service to use for login<br>
# pam-autologin-service = PAM service to use for autologin<br>
# pam-greeter-service = PAM service to use for greeters<br>
# xserver-command = X server command to run (can also contain
arguments e.g. X -special-option)<br>
# xmir-command = Xmir server command to run (can also contain
arguments e.g. Xmir -special-option)<br>
# xserver-config = Config file to pass to X server<br>
# xserver-layout = Layout to pass to X server<br>
# xserver-allow-tcp = True if TCP/IP connections are allowed to this
X server<br>
# xserver-share = True if the X server is shared for both greeter
and session<br>
# xserver-hostname = Hostname of X server (only for type=xremote)<br>
# xserver-display-number = Display number of X server (only for
type=xremote)<br>
# xdmcp-manager = XDMCP manager to connect to (implies
xserver-allow-tcp=true)<br>
# xdmcp-port = XDMCP UDP/IP port to communicate on<br>
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1
(stored in keys.conf)<br>
# unity-compositor-command = Unity compositor command to run (can
also contain arguments e.g. unity-system-compositor -special-option)<br>
# unity-compositor-timeout = Number of seconds to wait for
compositor to start<br>
# greeter-session = Session to load for greeter<br>
# greeter-hide-users = True to hide the user list<br>
# greeter-allow-guest = True if the greeter should show a guest
login option<br>
# greeter-show-manual-login = True if the greeter should offer a
manual login option<br>
# greeter-show-remote-login = True if the greeter should offer a
remote login option<br>
# user-session = Session to load for users<br>
# allow-user-switching = True if allowed to switch users<br>
# allow-guest = True if guest login is allowed<br>
# guest-session = Session to load for guests (overrides
user-session)<br>
# session-wrapper = Wrapper script to run session with<br>
# greeter-wrapper = Wrapper script to run greeter with<br>
# guest-wrapper = Wrapper script to run guest sessions with<br>
# display-setup-script = Script to run when starting a greeter
session (runs as root)<br>
# display-stopped-script = Script to run after stopping the display
server (runs as root)<br>
# greeter-setup-script = Script to run when starting a greeter (runs
as root)<br>
# session-setup-script = Script to run when starting a user session
(runs as root)<br>
# session-cleanup-script = Script to run when quitting a user
session (runs as root)<br>
# autologin-guest = True to log in as guest by default<br>
# autologin-user = User to log in with by default (overrides
autologin-guest)<br>
# autologin-user-timeout = Number of seconds to wait before loading
default user<br>
# autologin-session = Session to load for automatic login (overrides
user-session)<br>
# autologin-in-background = True if autologin session should not be
immediately activated<br>
# exit-on-failure = True if the daemon should exit if this seat
fails<br>
#<br>
[Seat:*]<br>
#type=xlocal<br>
#pam-service=lightdm<br>
#pam-autologin-service=lightdm-autologin<br>
#pam-greeter-service=lightdm-greeter<br>
#xserver-command=X<br>
#xmir-command=Xmir<br>
#xserver-config=<br>
#xserver-layout=<br>
#xserver-allow-tcp=false<br>
#xserver-share=true<br>
#xserver-hostname=<br>
#xserver-display-number=<br>
#xdmcp-manager=<br>
#xdmcp-port=177<br>
#xdmcp-key=<br>
#unity-compositor-command=unity-system-compositor<br>
#unity-compositor-timeout=60<br>
#greeter-session=example-gtk-gnome<br>
#greeter-hide-users=false<br>
#greeter-allow-guest=true<br>
#greeter-show-manual-login=false<br>
#greeter-show-remote-login=true<br>
#user-session=default<br>
#allow-user-switching=true<br>
#allow-guest=true<br>
#guest-session=<br>
session-wrapper=/etc/lightdm/Xsession<br>
#greeter-wrapper=<br>
#guest-wrapper=<br>
#display-setup-script=<br>
#display-stopped-script=<br>
#greeter-setup-script=<br>
#session-setup-script=<br>
#session-cleanup-script=<br>
#autologin-guest=false<br>
#autologin-user=<br>
#autologin-user-timeout=0<br>
#autologin-in-background=false<br>
#autologin-session=<br>
exit-on-failure=true<br>
<br>
#<br>
# XDMCP Server configuration<br>
#<br>
# enabled = True if XDMCP connections should be allowed<br>
# port = UDP/IP port to listen for connections on<br>
# listen-address = Host/address to listen for XDMCP connections (use
all addresses if not present)<br>
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank
to not use authentication (stored in keys.conf)<br>
#<br>
# The authentication key is a 56 bit DES key specified in hex as
0xnnnnnnnnnnnnnn. Alternatively<br>
# it can be a word and the first 7 characters are used as the key.<br>
#<br>
[XDMCPServer]<br>
#enabled=false<br>
#port=177<br>
#listen-address=<br>
#key=<br>
<br>
#<br>
# VNC Server configuration<br>
#<br>
# enabled = True if VNC connections should be allowed<br>
# command = Command to run Xvnc server with<br>
# port = TCP/IP port to listen for connections on<br>
# listen-address = Host/address to listen for VNC connections (use
all addresses if not present)<br>
# width = Width of display to use<br>
# height = Height of display to use<br>
# depth = Color depth of display to use<br>
#<br>
[VNCServer]<br>
#enabled=false<br>
#command=Xvnc<br>
#port=5900<br>
#listen-address=<br>
#width=1024<br>
#height=768<br>
#depth=8<br>
<br>
<br>
and my lightdm-gtk-greeter.conf:<br>
[root@XSign lightdm]# cat /etc/lightdm/lightdm-gtk-greeter.conf <br>
[greeter]<br>
background = /etc/lightdm/background.jpg<br>
user-background = false<br>
theme-name = TraditionalOk<br>
icon-theme-name = ultra-flat-icons<br>
font-name = 思源黑体 CN Semi-Light 10<br>
clock-format = %Y-%m-%d %H:%M<br>
xft-dpi = 96<br>
xft-antialias = true<br>
<br>
</div>
_______________________________________________<br>
LightDM mailing list<br>
<a href="mailto:LightDM@lists.freedesktop.org" target="_blank">LightDM@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/lightdm" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/lightdm</a><br>
</blockquote></div>