From owner-freebsd-questions Sat Jan 25 11:16:59 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 235A537B401 for ; Sat, 25 Jan 2003 11:16:58 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA1E43F18 for ; Sat, 25 Jan 2003 11:16:57 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18cVnQ-0001t7-00 for questions@freebsd.org; Sat, 25 Jan 2003 11:16:52 -0800 Date: Sat, 25 Jan 2003 11:16:52 -0800 From: Nathan Kinkade To: questions@freebsd.org Subject: Re: xhost command problem Message-ID: <20030125191651.GC2440@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: Nathan Kinkade , questions@freebsd.org References: <20030125130545.A19012@skytrackercanada.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: <20030125130545.A19012@skytrackercanada.com> User-Agent: Mutt/1.4i 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 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 25, 2003 at 01:05:45PM -0500, David Banning wrote: >=20 > I am trying to run an xterm remotely (over the web). >=20 > I understand the IP address must be entered using the xhost command. >=20 > My problem is that the xhost command wants X running on the main terminal, > but main terminal is using an ascii screen only. > The xhost command gives an error stating that the command > must be run from X on the main terminal. >=20 > Is there another way I can maybe bypass the xhost command and > register the IP address in the same place that xhost does? What is the exact error you are getting? If you are working from a console, make sure that your DISPLAY environment variable is set, and that you export it. Assuming X is running on display 0 try (and that you are using bash): # export DISPLAY=3D:0 # xhost +the.ip.address.or.hostname Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+MuKjWZYS9EJQoEwRAoy4AKCAEuLKDtQCui3LIrccqKTaAdnqmgCcCIw+ xcMYUf7ZnEYisyuJqhb1kn4= =IbBh -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message