Re: Cannot display remote program on local machine.

2003-06-22 Thread Jack Tanner
monika wrote:
know how I should do this. After I connect to the remote server using 
ssh through bash, I export the display using
export DISPLAY=ip_localmachine. However, this does not give me the 
display of the remote program. What is it that I am suppose to do and I 
am not doing. I think I am making some mistake, but do not know what.
Monika,

See the user's guide (linked off xfree86.cygwin.com), section on 
displaying remote clients using telnet or ssh.

-JT



Re: Cannot display remote program on local machine.

2003-06-21 Thread Alexander Gottwald
monika wrote:

> Hi,
>
> I have installed the entire cgywin package along with XFREE86. I want to
> use it have the display of a remote program running on my local m/c.
>
> After installing, I executed startwin.bat and the XServer started. I
> think I need to start Xterm as well to set the xhost, however, I do not
> know how I should do this. After I connect to the remote server using
> ssh through bash, I export the display using
> export DISPLAY=ip_localmachine. However, this does not give me the
> display of the remote program. What is it that I am suppose to do and I
> am not doing. I think I am making some mistake, but do not know what.

you can start the xhost from the local bash prompt too.

$ DISPLAY=localhost:0.0 xhost remote_ip

or you add the remote ip address to /etc/X0.hosts. This will add the host
to the list of allowed hosts too.

The display variable is always hostname:display.0
in most cases display is 0 and you'll end up with hostname:0.0

bye
ago

NP: Terminal Choice - Castles in the sky [radioedit]
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Cannot display remote program on local machine.

2003-06-21 Thread monika
Hi,

I have installed the entire cgywin package along with XFREE86. I want to 
use it have the display of a remote program running on my local m/c.

After installing, I executed startwin.bat and the XServer started. I 
think I need to start Xterm as well to set the xhost, however, I do not 
know how I should do this. After I connect to the remote server using 
ssh through bash, I export the display using
export DISPLAY=ip_localmachine. However, this does not give me the 
display of the remote program. What is it that I am suppose to do and I 
am not doing. I think I am making some mistake, but do not know what.

Any help well appreciated.

Thanks

Monika
--
**>><<**>><<**>><<**>><<**>><<**>><<**>><<**
Monika Solanki
Software Technology Research Laboratory(STRL)
De Montfort University
Hawthorn building, H00.18
The Gateway
Leicester LE1 9BH, UK
phone: +44 (0)116 250 6170 intern: 6170
email: [EMAIL PROTECTED]
web: http://www.cse.dmu.ac.uk/~monika
**>><<**>><<**>><<**>><<**>><<**>><<**>><<**