From owner-freebsd-questions Sun Feb 24 15:14:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 7481437B400 for ; Sun, 24 Feb 2002 15:14:32 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g1ONEQT10319; Mon, 25 Feb 2002 12:14:26 +1300 (NZDT) (envelope-from jonc) Date: Mon, 25 Feb 2002 12:14:26 +1300 From: Jonathan Chen To: Alain Fabry Cc: freebsd-questions@FreeBSD.ORG Subject: Re: XDM on xserver (on windows2000 machine) Message-ID: <20020225121426.B10241@grimoire.chen.org.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from alainfabry@hotmail.com on Sun, Feb 24, 2002 at 10:34:08PM +0100 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 Sun, Feb 24, 2002 at 10:34:08PM +0100, Alain Fabry wrote: > > I have a win2000 system running xwinpro allowing xdmcp. This system is connected via the network to a FreeBSD box. I only have one monitor. > When I start an xsession on the win2k machine, telnet to the FreeBSD box, do a 'setenv DISPLAY win2k:0.0' and 'xdm', I get the login screen on my xsession. > > Question: > What do I have to add to the ttys file to make this automatically start xdm via the network to this win2k system? > > Does the following look correct? > /ttyp0 /usr/X11R6/bin/xdm -nodeamon xterm on secure No. On my box, there's a line that looks like this: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure That's the one you should change. If you only 1 monitor and none on the FreeBSD host, you also have to tweak /etc/X11/xdm/Xservers and comment out the: :0 local /usr/X11R6/bin/X so that xdm doesn't attempt to start an Xserver on the FreeBSD host when it starts up. -- Jonathan Chen ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message