From owner-freebsd-questions Sun Aug 18 5: 0:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 652C437B400 for ; Sun, 18 Aug 2002 05:00:21 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D5F143E70 for ; Sun, 18 Aug 2002 05:00:19 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7IC07QI002904; Sun, 18 Aug 2002 13:00:07 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7IC016S002903; Sun, 18 Aug 2002 13:00:01 +0100 (BST) Date: Sun, 18 Aug 2002 13:00:01 +0100 From: Matthew Seaman To: mattb Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: CDE like login Message-ID: <20020818120001.GD2079@happy-idiot-talk.infracaninophi> References: <063501c2465d$9604b930$2afececd@TCOOPER> <3D5F0B99.5060906@houston.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D5F0B99.5060906@houston.rr.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 17, 2002 at 09:51:05PM -0500, mattb wrote: > I have multiple solaris, hp-ux, openvms and bsd boxens and I was > wondering if there was a CDE like login which would allow me to connect > to my other machines X servers? In solaris and HP-UX I can select which > server I wish to connect to simply by choosing one from a drop down > menu. Thanks. xdm(1) supports XDMCP logins to remote machines, but that functionality is turned off in the default install. Assuming you have xdm(1) configured on your BSD boxes so you can get a local X session, you need to modify some configuration files in /usr/X11R6/lib/X11/xdm: i) Xservers -- Take out any '-nolisten tcp' flags in this file --- you're going to be making a great deal of use of ports 6000--6063. This may or may not be a good thing, depending on your paranoia level, as that's a lot of snoopable, unencrypted traffic. ii) Xaccess -- this controls both which hosts are allowed to remotely log into this machine, and which machines will be listed as choices to log into. Again, a sufficiently paranoid sysadmin will be getting twitchy here: it's very convenient to make the chooser broadcast for suitable machines on the network, but you'ld better be sure that doesn't include any undesireables. Given that you're OK with that, simply uncomment the two lines like so: * #any host can get a login window * CHOOSER BROADCAST #any indirect host can get a chooser iii) xdm-config -- comment out the last line to make xdm(1) listen for XDMCP or Chooser requests on UDP port 177: !DisplayManager.requestPort: 0 iv) Xresources -- optionally, customize the look of the Chooser window, and other parts of the xdm login system. Do a Ctrl-Alt-Backspace to restart the X server, and away you go. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message