Bug 2614
| Summary: | GDM logins do NOT show up in utmp | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Chris Evans <chris> |
| Component: | gdm | Assignee: | Havoc Pennington <hp> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | CC: | bob_b, chris, lcantey, malicki.1, mkp, sh1 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-02-04 21:47:03 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: | |||
|
Description
Chris Evans
1999-05-06 21:31:54 UTC
*** Bug 2655 has been marked as a duplicate of this bug. *** Hi Install RH6.0, choose to "launch X by default" during the install. When you boot the new system, GNOME pops up with a login dialog. So far so good. Now switch to a virtual console and type startx -- -query 127.0.0.1 :1 This command starts X but FAILS to get to a login screen! This is quite serious :-) Note, if I change /etc/X11/prefdm so it points to "xdm", the above command works fine. Another note: when using gdm, traffic sent to the XDMCP port queues up and is never read. The port should either be fixed, or disabled- if it isn't used it's a security concern :-) ------- Additional Comments From johnsonm 05/10/99 18:47 ------- The workaround for now is to enable debugging by changing Enable=0 to Enable=1 in the [debug] section of /etc/X11/gdm/gdm.conf. This is most certainly a workaround and not a bugfix... The workaround does not fix the fact that it listens when not configured to do xdmcp. ------- Additional Comments From 08/24/99 10:31 ------- A little extra info: GDM will respond to XDMCP requests when they are DIRECT or QUERY requests (sent to the specified host). It fails when the requests are of type BROADCAST. *** Bug 3080 has been marked as a duplicate of this bug. *** xdm writes utmp/wtmp entries during login/logout in GiveConsole and TakeConsole like so: GiveConsole:/usr/X11R6/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \ TakeConsole:/usr/X11R6/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \ But gdm doesn't, so when I log in via gdm, I can see "0 users".. this isn't a really big deal, but is it possible that it could be fixed to track logins/logouts via gdm? ------- Additional Comments From malicki.1 05/26/99 22:59 ------- This can be fixed by the following, could you please include in next release? mkdir /etc/X11/gdm/{Pre,Post}Session cp /etc/X11/xdm/GiveConsole /etc/X11/gdm/PreSession/Default cp /etc/X11/xdm/TakeConsole /etc/X11/gdm/PostSession/Default ------- Additional Comments From jturner 05/27/99 10:34 ------- This issue has been forwarded to a developer for further review ------- Additional Comments From johnsonm 07/12/99 16:57 ------- Added mkp to CC so that he can evaluate this change for the next version of gdm. assign to mkj for now, since he is currently the gdm point man. While the X supplied sessreg works fine for local displays, it does not handle pseudo-ttys gracefully. I will probably end up writing a small sessreg clone for gdm. *** Bug 7130 has been marked as a duplicate of this bug. *** Patched to fix this. |