Bug 1255743
Summary: | Lightdm runs without -nolisten but X not listening to port 6000 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Samo Dadela <samo_dadela> |
Component: | lightdm | Assignee: | Rex Dieter <rdieter> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | christoph.wickert, rdieter |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.10.5-2.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-04 19:46:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Samo Dadela
2015-08-21 12:35:09 UTC
BTW: I have a XFCE FC (20 upgrade to 21, then 22) ... lightdm.conf also contains: [XDMCPServer] enabled=true port=177 I'm unable to export DISPLAY to my FC host because of this. BTW: Can someone change the severity to high? I found a workaround: vi /usr/bin/Xorg and add -listen, as below if [ -x "$basedir"/Xorg.wrap ]; then exec "$basedir"/Xorg.wrap "$@" -listen # exec "$basedir"/Xorg.wrap "$@" else exec "$basedir"/Xorg "$@" fi It seems that without -listen X won't listen to port 6000 (though man Xorg says nothing about either -listen or -nolisten). lightdm also does not add -listen is allow-tcp is specified. Another strange thing was that the mouse pointer became unusual unresponsive. I then changed the settings (sensitivity/acceleration) and it started working... What's even more weird is that after I reset the mouse settings to default, the mouse started to work as before the change. It persist reboots. Thanks for the excellent detective-work. Looks like lightdm assumes -listen of -nolisten is not specified, in src/x-server-local.c, else if (!server->priv->allow_tcp) g_string_append (command, " -nolisten tcp"); should be relatively easy to fix to not rely on default behavior, and add too: else if (server->priv->allow_tcp) g_string_append (command, " -listen tcp"); Thanks... Also regarding the workaround... just found that it should read: exec "$basedir"/Xorg.wrap "$@" -listen tcp (without tcp it doesn't work) Rex: Regarding Xorg -listen / -nolisten - the man pages don't document those options (or I'm looking at the wrong manpage; man Xorg). Can this bug be 'forwarded' to the xorg 'team'? It is documented, albeit indirectly. 'man Xorg' includes text: TCPIP Xorg listens on port 6000+n, where n is the display number. This connection type can be disabled with the -nolisten option (see the Xserver(1) man page for details). and 'man Xserver' includes: -nolisten trans-type disables a transport type. For example, TCP/IP connections can be disabled with -nolisten tcp. This option may be issued multiple times to disable listening to different transportv types. -listen trans-type enables a transport type. For example, TCP/IP connections can be enabled with -listen tcp. This option may be issued multiple times to enable listening to different transport types. lightdm-1.10.5-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14566 lightdm-1.10.5-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14567 Rex: Thanks again. I Didn't check man Xserver. lightdm-1.10.5-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lightdm'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14567 lightdm-1.10.5-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lightdm'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14566 lightdm-1.10.5-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. lightdm-1.10.5-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |