Bug 125563
Summary: | Xorg -query $HOSTNAME restarts about every 2 min | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Helmut Schlattl <helmut.schlattl> | ||||
Component: | xorg-x11 | Assignee: | Mike A. Harris <mharris> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | CC: | markmc | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-07-08 10:57:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Helmut Schlattl
2004-06-08 19:03:43 UTC
Please add the following to gdm.conf: [debug] Enable=true This should give gobs of debug info. Please redirect this info to a file, or cut and paste to a file, and attach it as a bugzilla file attachment. TIA Created attachment 101119 [details]
Output from /var/log/messages by enabling debug in gdm
gdm has been started with the "-query" option in gdm.conf.
The attachment shows the debug-output from starting the gdm and
from one restart after 90 seconds caused probably by a terminated X.
You're trying to use XDMCP on localhost to work around some other problem you were seeing. For a start change: command=/usr/X11R6/bin/X -audit 0 -query myhost back to command=/usr/X11R6/bin/X -audit 0 and try and figure out your original problem. This is your problem: > When trying to log into my machine with gdm (only host in LAN) > using the standard gdm.conf file I always got "Gtk-Warning **: > cannot open display: " Using XMCP (-query) is not the solution. Try going back to factory-gdm.conf and if that doesn't help, please give us the GDM logfile from that. O.K., I understand that it is not the usual way to start X -query myhost, but I still don't understand, why Xorg has to restart then every 90 seconds (while XFree86 didn't). Is this an intended behaviour? By the way, myhost is an alias to the LAN-IP address (192.168.0.10), so not really localhost. Anyway, I found where the Gtk-Warning came from: in my /etc/profile.d/env.csh and env.sh I redefined some time ago "DISPLAY=myhost:0.0" . I don't remember why, but I probably had a reason then. So with the standard DISPLAY variable and gdm.conf, I can log in using gdm. I find it still puzzling, that with kdm and xdm, I did not have any problems, even with the altered DISPLAY variable. What happens is that you start gdm without support for XDMCP (enable=false in the [xdmcp] section of gdm.conf), then start an X server with -query localhost. Since the gdm you started doesn't support XDMCP, the X server doesn't get any response from gdm, and after 90 seconds it gives up and resets or terminates of -once has been specified. However gdm still puts up a login box because you haven't told it it shouldn't, so you can actually log in until the X server terminates after 90 seconds. |