From owner-freebsd-questions Sun Nov 26 6: 6: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-1.sjc (mail-1.sjc.telocity.net [216.227.56.41]) by hub.freebsd.org (Postfix) with ESMTP id 3E7C437B479 for ; Sun, 26 Nov 2000 06:05:53 -0800 (PST) Received: from zoso (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-1.sjc (8.9.3/8.9.3) with SMTP id GAA01378; Sun, 26 Nov 2000 06:04:25 -0800 (PST) From: "Otter" To: "Joe McGuckin" , Subject: RE: XDM & FreeBSD ? Date: Sun, 26 Nov 2000 09:09:44 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200011260733.eAQ7XH135321@monk.via.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joe, That all depends on your versions of FreeBSD and XFree86. In 4.2-RELEASE and using XF86-4.0.1_8 (I'd guess 3.3.6 to be about the same requirements), the only thing you need to do is edit /etc/ttys (assuming you want xdm to start at boot, otherwise, just type "xdm" at the prompt). Anything prior to that, I've found also requires a tweak of xdm-config. I use wdm, but it works just the same for setup (xdm/wdm/kdm/etc). In /etc/ttys, change the one line to look like mine: ttyv8 "/usr/X11R6/bin/wdm -nodaemon" xterm on secure Of course, you'll need to reinit/reboot to get that to take effect. If it still doesn't work, modify /etc/X11/xdm/xdm-config (or wherever it might be) to look like: DisplayManager.errorLogFile: /var/log/xdm-errors DisplayManager.pidFile: /var/run/xdm-pid DisplayManager.keyFile: /usr/X11R6/lib/X11/xdm/xdm-keys DisplayManager.servers: /usr/X11R6/lib/X11/xdm/Xservers DisplayManager.accessFile: /usr/X11R6/lib/X11/xdm/Xaccess DisplayManager.willing: su -fm nobody -c /usr/X11R6/lib/X11/xdm/Xwilling ! All displays should use authorization, but we cannot be sure ! X terminals will be configured that way, so by default ! use authorization only for local displays :0, :1, etc. DisplayManager._0.authorize: true DisplayManager._1.authorize: true ! 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 DisplayManager._0.reset: /usr/X11R6/lib/X11/xdm/TakeConsole ! DisplayManager*resources: /usr/X11R6/lib/X11/xdm/Xresources DisplayManager*session: /usr/X11R6/lib/X11/xdm/Xsession DisplayManager*authComplain: false ! SECURITY: do not listen for XDMCP or Chooser requests ! Comment out this line if you want to manage X terminals with xdm DisplayManager.requestPort: 0 As I recall, I think there was only one line to change to get it to work. I put all my values up so that you could compare them to yours. Hope this helps. Feel free to email me with any other questions you might have, but this is all it took to get it working... -Otter }-----Original Message----- }From: owner-freebsd-questions@FreeBSD.ORG }[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Joe McGuckin }Sent: Sunday, November 26, 2000 2:33 AM }To: questions@FreeBSD.ORG }Subject: XDM & FreeBSD ? } } }Is there a document (advice is welcome also) that explains }how to get }XDM working with FreeBSD? A sample config would be greatly }appreciated. } }Thanks! } } Joe } } } }-- } }Joe McGuckin } }ViaNet Communications }994 San Antonio Road }Palo Alto, CA 94303 } }Phone: 650-969-2203 }Cell: 650-207-0372 }Fax: 650-969-2124 } } }To Unsubscribe: send mail to majordomo@FreeBSD.org }with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message