On Sat, Jan 25, 2003 at 01:05:45PM -0500, David Banning wrote:
> 
> I am trying to run an xterm remotely (over the web).
> 
> I understand the IP address must be entered using the xhost command.
> 
> 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.
> 
> 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=:0
# xhost +the.ip.address.or.hostname

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc

Attachment: msg16702/pgp00000.pgp
Description: PGP signature

Reply via email to