Bug 3824 - gdm doesn't set complete Xauthority
gdm doesn't set complete Xauthority
Product: Red Hat Linux
Classification: Retired
Component: gdm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Depends On:
  Show dependency treegraph
Reported: 1999-06-30 08:36 EDT by glenn
Modified: 2008-05-01 11:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-10-29 10:39:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description glenn 1999-06-30 08:36:59 EDT
After login, the command

	xauth list

prints only

loki/unix:0  MIT-MAGIC-COOKIE-1

i.e., authority is only being set for Unix domain sockets.
It should also create an entry for AF_INET domain sockets,
so applications running on a remote machine can display
locally.  In other words, there should also be an entry
that looks like

loki:0  MIT-MAGIC-COOKIE-1  203b164a0376210828697c55024a003d

The the Xauthority can be set on a remote machine in the
standard way:
loki:0  MIT-MAGIC-COOKIE-1  203b164a0376210828697c55024a003d
	xauth extract loki:0 - | rsh remote xauth merge -

and the display variable set

	export DISPLAY=loki:0

on the remote machine, and X applications can be started.

Both xdm and kdm work properly; gdm represents a step
backwords in this respect.

The easy fix is to use kdm or xdm instead of gdm; simply

	cd /etc/X11
	rm prefdm
	ln -s ../../usr/bin/kdm prefdm
Comment 1 glenn 1999-06-30 08:41:59 EDT
This bug is listed on the Gnome bug list as #1396, entitled
"gdm does not create TCP xauth cookie"
Comment 2 Jay Turner 1999-06-30 09:04:59 EDT
This issue has been forwarded to a developer for further action.
Comment 3 Elliot Lee 1999-08-31 20:49:59 EDT
Add mkp to Cc list.

Assign to mkj for now.
Comment 4 Elliot Lee 1999-10-29 10:39:59 EDT
Please try the gdm included in RHL 6.1.

Note You need to log in before you can comment on or make changes to this bug.