From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 07:14:03 2004 Return-Path: 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 5C4AE16A4CE for ; Thu, 22 Jan 2004 07:14:03 -0800 (PST) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C8143D39 for ; Thu, 22 Jan 2004 07:14:01 -0800 (PST) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.9p2/8.12.8) with ESMTP id i0MFCEG3034350; Thu, 22 Jan 2004 16:12:14 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i0MFCEZh034347; Thu, 22 Jan 2004 16:12:14 +0100 (CET) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Thu, 22 Jan 2004 16:12:14 +0100 (CET) From: Konrad Heuer To: Jonathon McKitrick In-Reply-To: <20040122145353.GB54084@dogma.freebsd-uk.eu.org> Message-ID: <20040122160400.Y29725@gwdu60.gwdg.de> References: <20040122145353.GB54084@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: remote X display X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 15:14:03 -0000 On Thu, 22 Jan 2004, Jonathon McKitrick wrote: > I have been looking all over for a concise howto for remote X on FreeBSD. I > see some that involve changing config files in the xdm directory, others use > xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. > > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? > > NOTE: Please CC me, as I am not currently subscribed. Thanks. What do exactly want to do? If you want to login into your laptop from your desktop machine, you may enter "xhost +laptop-ip-address" on your desktop system and set the DISPLAY variable in the login shell on the laptop. The latter one will then run X clients and the desktop system the X server. But if you want to use the laptop as a kind of X terminal and run your applications on the more powerful desktop system, the laptop needs to run the X server and the desktop the X clients. In that case, I suggest you should comment out the line DisplayManager.requestPort: 0 in /usr/X11R6/lib/X11/xdm/xdm-config (put a ! at the beginning of the line), run xdm on the desktop system and start the X server on the laptop by entering: X -query desktop-ip-address Best regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany