Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 19:49:52 -0400
From:      Robert Withrow <bwithrow@baynetworks.com>
To:        questions@freebsd.org, Lowell Gilbert <lowell@world.std.com>
Cc:        "Withrow, Robert (W.) [BAY:BL60:430]" <bwithrow@BayNetworks.COM>
Subject:   Re: 4.0REL XDM logins fail 
Message-ID:  <200004142352.TAA12484@pobox.engeast.BayNetworks.COM>
In-Reply-To: Message from Lowell Gilbert <lowell@world.std.com>  of "14 Apr 2000 13:14:32 EDT." <rd6pursy58n.fsf@world.std.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
It turns out that this problem is due, apparently, to the
X servers not being built to support XDM-AUTHORIZATION-1.

Ted Faber <faber@ISI.EDU> figured this out, and I posted a patch
to hackers that works around this problem that hopefully will make 
it into the errata.  Here it is:

*** xdm-config.orig     Thu Apr 13 16:37:35 2000
--- xdm-config  Fri Apr 14 19:31:07 2000
***************
*** 10,16 ****
--- 10,18 ----
  ! X terminals will be configured that way, so by default
  ! use authorization only for local displays :0, :1, etc.
  DisplayManager._0.authorize:  true
+ DisplayManager._0.authName:   MIT-MAGIC-COOKIE-1
  DisplayManager._1.authorize:  true
+ DisplayManager._1.authName:   MIT-MAGIC-COOKIE-1
  ! The following three resources set up display :0 as the console.
  DisplayManager._0.setup:      /usr/X11R6/lib/X11/xdm/Xsetup_0
  DisplayManager._0.startup:    /usr/X11R6/lib/X11/xdm/GiveConsole

Hope this helps the other users who had this problem.

Note:  Someone else posted the suggestion to simply turn off authorization
for the disply.  I would recommend against that, not only for the
obvious security reasons, but also because that will cause other software
(like Tk) to fail in certain operations.  The above patch does not
suffer from those problems.

Thanks!

-- 
Robert Withrow -- (+1 978 288 8256)
BWithrow@BayNetworks.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004142352.TAA12484>