From owner-freebsd-questions Fri Mar 21 4: 4:34 2003 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 0DDC437B401; Fri, 21 Mar 2003 04:04:33 -0800 (PST) Received: from famine.e-raist.com (famine.e-raist.com [65.100.40.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3974943F85; Fri, 21 Mar 2003 04:04:30 -0800 (PST) (envelope-from aburke@nullplusone.com) Received: from thebe (evrtwa1-ar10-4-40-153-150.evrtwa1.dsl-verizon.net [4.40.153.150]) (authenticated bits=0) by famine.e-raist.com (8.12.2/8.12.8) with ESMTP id h2LC4Pot043145; Fri, 21 Mar 2003 04:04:27 -0800 (PST) From: "Aaron Burke" To: "Greg 'groggy' Lehey" , Subject: RE: Remote X from another BSD Box Date: Fri, 21 Mar 2003 04:02:53 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: <20030321005450.GA28061@wantadilla.lemis.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 Wednesday, 19 March 2003 at 22:06:45 -0500, Brian McCann wrote: > > Hi all. I'd imagine this would be fairly simple since I got it to work > > from Xmanager for Windows...but I'm having difficulties. I have 2 > > boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full > > blown install of X with KDE and all kinds of stuff, the OpenBSD just has > > a basic X installed with xdm. I'd like to be able to use the OpenBSD > > box as a display for the FreeBSD box. I thought I'd just be able to ssh > > into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but > > no dice. Can someone help me out? > > The most obvious way of doing this is to start an xterm on the FreeBSD > server: > > xterm -display freebsd:0.0 & There is also an other way via xdm. But for this to work you need to uncomment the last line in /usr/X11R6/lib/X11/xdm/xdm-config. You will also want to make sure your kernel contians the line "options XSERVER" (no quotes). > > For this to work, you should: > > 1. On the FreeBSD box, modify /usr/X11R6/bin/startx. Change the line > > listen_tcp="-nolisten tcp" > > to > > listen_tcp="" Not sure that this is needed, I have never changed it. However I share x-windows using XDM. > > 2. Also on the FreeBSD box, run xhost: > > xhost openbsd Guessing that xhost is kind of like the configurations of an X server. > > This applies to any other X application as well, of course. If you enable xdm (X Display Manager) X-Windows will become an X-Server for every computer on your network. Other people know of some ways to limit this functionallity by modify which hosts your machine will listen on. And With XDM running on a server you connect to it via: From a UNIX box: "X -query other.freebsd.box" Or: "X -broadcast" Asks for any display server that is running a display manager. A list is generated on your client. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message