ubuntu / ubuntu/lightdm

Problemas com lightdm 1.28 usando Manjaro 18.04 / Deepin 15.10 Release

Open
#71 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1k
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Hello guys

It is appearing before the login screen, a white screen with X in the center and then normally enter the login screen, using the lightdm-deepin-greeter version. I've researched a lot, but I have not found a definitive solution. The only thing that resolves is to replace the greeter with another greeter.

In Terminal, if you type:
sudo lightdm --test-mode --debug

edson@edson-pc6540br ~]$ sudo lightdm --test-mode --debug
[sudo] senha para edson:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=0 PID=10285
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-deepin.conf
[+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: Using Xephyr for X servers
[+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.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: posix_spawn avoided (fd close requested)
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.01s] DEBUG: Using VT 1
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 1
[+0.01s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.01s] DEBUG: XServer 1: Launching X Server
[+0.01s] DEBUG: Launching process 10290: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt1 -novtswitch
[+0.01s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?

If we use the command lightdm --test-mode --debug "without sudo" the display will appear, where the cursor will flash, but it is not possible to type inside the window even alternately the option CTRL + SHIFT

[edson@edson-pc6540br ~]$ lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /home/edson/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=1000 PID=11790
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-deepin.conf
[+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: Running in user mode
[+0.00s] DEBUG: Using Xephyr for X servers
[+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.01s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+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/User1000 added
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: posix_spawn avoided (fd close requested)
[+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: XServer 1: Logging to /home/edson/.cache/lightdm/log/x-1.log
[+0.03s] DEBUG: XServer 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: XServer 1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.03s] DEBUG: XServer 1: Launching X Server
[+0.03s] DEBUG: Launching process 11795: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.03s] DEBUG: XServer 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
[+0.19s] DEBUG: Got signal 10 from process 11795
[+0.19s] DEBUG: XServer 1: Got signal from X server :1
[+0.19s] DEBUG: XServer 1: Connecting to XServer :1
[+0.20s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.20s] DEBUG: Session: Not setting XDG_VTNR
[+0.20s] DEBUG: Session pid=11801: Started with service 'lightdm-greeter', username 'edson'
[+0.22s] DEBUG: Session pid=11801: Authentication complete with return value 0: Success
[+0.22s] DEBUG: Seat seat0: Session authenticated, running command
[+0.22s] DEBUG: Session pid=11801: Not setting XDG_VTNR
[+0.22s] DEBUG: Session pid=11801: Running command /usr/bin/deepin-greeter
[+0.22s] DEBUG: Creating shared data directory /var/lib/lightdm-data/edson
[+0.22s] WARNING: Could not create user data directory /var/lib/lightdm-data/edson: Error creating directory /var/lib/lightdm-data/edson: Permission denied
[+0.22s] DEBUG: Session pid=11801: Logging to /home/edson/.cache/lightdm/log/seat0-greeter.log
[+0.39s] DEBUG: Greeter connected version=1.28.0 api=1 resettable=false
[+0.55s] DEBUG: Greeter start authentication for edson
[+0.55s] DEBUG: Session: Not setting XDG_VTNR
[+0.55s] DEBUG: Session pid=11832: Started with service 'lightdm', username 'edson'
[+0.55s] DEBUG: Greeter start authentication for edson
[+0.55s] DEBUG: Session pid=11832: Sending SIGTERM
[+0.55s] DEBUG: Session: Not setting XDG_VTNR
[+0.55s] DEBUG: Session pid=11833: Started with service 'lightdm', username 'edson'
[+0.55s] DEBUG: Session pid=11832: Terminated with signal 15
[+0.55s] DEBUG: Session: Failed during authentication
[+0.55s] DEBUG: Seat seat0: Session stopped
[+0.55s] DEBUG: Launching process 11834: /usr/sbin/deepin-fix-xauthority-perm
[+0.56s] DEBUG: Process 11834 exited with return value 0
[+0.56s] DEBUG: Seat seat0: Exit status of /usr/sbin/deepin-fix-xauthority-perm: 0
[+0.61s] DEBUG: Session pid=11833: Got 1 message(s) from PAM
[+0.61s] DEBUG: Prompt greeter with 1 message(s

Imgur

Edited: Adding this information below:

[edson@edson-pc6540br ~]$ dmesg | grep -i error
[ 0.820975] RAS: Correctable Errors collector initialized.
[ 34.280345] lightdm-deepin-[665]: segfault at 0 ip 0000563e25b2cc87 sp 00007ffd5f686340 error 4 in lightdm-deepin-greeter[563e25b20000+99000]
[ 2898.992833] traps: KeyboardMonitor[2730] general protection ip:7f5680bddef7 sp:7f566affc810 error:0 in libc-2.29.so[7f5680bc6000+14c000]
[ 8051.450206] traps: lightdm-deepin-[11812] general protection ip:7fa71c392ef7 sp:7ffd170498e0 error:0 in libc-2.29.so[7fa71c37b000+14c000]
[edson@edson-pc6540br ~]$

If you can help me in this matter I am grateful (!)

Serial02

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the white screen with lightdm --test-mode --debug, comparing the sudo and non-sudo runs shown in the report. Inspect /var/log/lightdm/lightdm.log, the X server log, and the dmesg entries for lightdm-deepin-greeter; done means identifying and resolving the reported greeter failure without requiring a replacement greeter.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.