On Fri, 2002-08-16 at 10:26, Joseph Wright wrote:
> I am trying to get X to start when ever I launch and X app like xclock,
> but right now I just get Can't Open Display: :0.
> 
> I have tried DISPLAY=:0.0 which still gives me the same error.
> 
> I am receiving this when trying to launch xclock from the physical
> machine, but my next step is there a way I can launch xclock via telnet
> and have it show up on the physical machine and not on the remote side.


assumming the machine your are telnetting from (I'll call it local) is
running x you should be able to telnet to the remote machine and set the
DISPLAY variable to the local machine.  

export DISPLAY ip.of.local.machine:0

then starting any x app will try to connect to the X server running on
the local box.  You wil hopfully need to grant access to the remote box
with something like

xhost +ip.of.remote.machine

BTW if you were using ssh which is WAY more secure if you have the
updates you can configure it to do the X forwarding thing automatically.

Bret



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to