Greeter and other clients cannot connect to X server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Unassigned | ||
1.2 |
Fix Released
|
High
|
Unassigned | ||
1.4 |
Fix Released
|
High
|
Unassigned | ||
1.8 |
Fix Released
|
High
|
Unassigned | ||
Arch Linux |
New
|
Undecided
|
Unassigned | ||
Suse |
Fix Released
|
Medium
|
Bug Description
There are a number of number of reports of where lightdm 1.8.3 in openSUSE 13.1 successfully starts an X server but clients such as tools run as root from the greeter-
This also seems to be a race condition as it does not occur for every time and for some more frequently than others. I'm also not sure whether this is a problem with lightdm, X, the openSUSE display manager init script or if systemd is interfering. However, since it doesn't seem to happen with other display managers I have the suspicion lightdm is at fault.
As requested the xauthority files were checked but they do not seem to be corrupt.
Related branches
- Robert Ancell: Approve
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/x-authority.c (+1/-0)
Changed in suse: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
no longer affects: | lightdm (Arch Linux) |
Changed in lightdm: | |
status: | New → Fix Committed |
importance: | Undecided → High |
no longer affects: | lightdm/1.6 |
Changed in lightdm: | |
milestone: | none → 1.9.12 |
status: | Fix Committed → Fix Released |
Changed in suse: | |
status: | Confirmed → Fix Released |
Sometimes, just after booting up, the graphical session does not start. It is a text display (in alt-f7) that ends in:
[ OK ] Reached target Graphical Interface
Photo available on request.
I add logs, including lightdm logs.
2013-10- 19T13:49: 07.284318+ 02:00 Minas-Tirith systemd[1]: Starting Graphical Interface. ******* ******* ******* ******* ** 19T13:49: 07.285038+ 02:00 Minas-Tirith systemd[1]: Reached target Graphical Interface. 19T13:49: 07.285868+ 02:00 Minas-Tirith systemd[1]: Starting Stop Read-Ahead Data Collection 10s After Completed Startup. 19T13:49: 07.286646+ 02:00 Minas-Tirith systemd[1]: Started Stop Read-Ahead Data Collection 10s After Completed Startup. 19T13:49: 07.287345+ 02:00 Minas-Tirith systemd[1]: Starting Update UTMP about System Runlevel Changes... 19T13:49: 07.288083+ 02:00 Minas-Tirith systemd[1]: Started Update UTMP about System Runlevel Changes. 19T13:49: 07.290187+ 02:00 Minas-Tirith systemd[1]: Startup finished in 6.182s (kernel) + 13.267s (userspace) = 19.450s. 19T13:49: 07.401875+ 02:00 Minas-Tirith dbus[544]: [system] Activating via systemd: service name='org. freedesktop. Accounts' daemon. service' 19T13:49: 07.414638+ 02:00 Minas-Tirith systemd[1]: Starting Accounts Service... 19T13:49: 07.446238+ 02:00 Minas-Tirith accounts- daemon[ 957]: started daemon version 0.6.34 19T13:49: 07.448784+ 02:00 Minas-Tirith dbus[544]: [system] Successfully activated service 'org.freedeskto p.Accounts' 19T13:49: 07.449306+ 02:00 Minas-Tirith systemd[1]: Started Accounts Service. 19T13:49: 07.490808+ 02:00 Minas-Tirith xdm[551]: No protocol specified 19T13:49: 07.491487+ 02:00 Minas-Tirith xdm[551]: Error opening display! ******* ******* ******* ******* ** 19T13:49: 07.494617+ 02:00 Minas-Tirith xdm[551]: No protocol specified 19T13:49: 07.495044+ 02:00 Minas-Tirith xdm[551]: /usr/bin/xrdb: Resource temporarily unavailable 19T13:49: 07.495408+ 02:00 Minas-Tirith xdm[551]: /usr/bin/xrdb: Can't open display ':0' 19T13:49: 07.498385+ 02:00 Minas-Tirith xdm[551]: No protocol specified 19T13:49: 07.498826+ 02:00 Minas-Tirith xdm[551]: /usr/bin/xmodmap: unable to open display ':0' 19T13:49: 07.544358+ 02:00 Minas-Tirith lightdm: pam_unix( lightdm- greeter: session) : session opened for user lightdm by (uid=0)
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
unit='accounts-
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
Failure.
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
2013-10-
To recover, I issue init 3, init 5.
Machine is a laptop, compaq presario CQ61-330SS. Video is Intel GM45.