Julius,
You mentioned that you were using ssh to connect to the
remote server, therefore, everything is different.
SSH should proxy the X connection for you.
For instance, I'm on an LTSP workstation on my local
network. The workstation is called ws001, so when I log
into my server, the DISPLAY is 'ws001:0.0'. That works
fine for local X applications, they display just fine on
ws001.
Then, I ssh into a remote server, somewhere out
on the internet. Lets say the remote server is
called fred.abc.com.
Here is what I do:
ssh [EMAIL PROTECTED]
<supply my password>
echo $DISPLAY
It shows my DISPLAY = fred:10.0
That shows me that the ssh daemon will take care
of proxying/tunneling the X traffic back to my
machine.
Then, I run a simple X program like xeyes, and
a few seconds later, it pops up on my screen.
In my case, I'm using OpenSSH, and in the sshd_config
file on the remote server, I have 'X11Forwarding yes'
set.
The great thing about this is that you don't need any
special ports opened up on your firewall for the X traffic,
cuz it's all tunneled through SSH, which is port 22.
And, if your workstation is on a private class-c, such
as 192.168.0.0, you can still display to it from a remote
host.
And, part of the SSH process is to compress the data, which
gives better throughput on low bandwidth connections.
Hope that helps,
Jim McQuillan
[EMAIL PROTECTED]
Julius Szelagiewicz wrote:
> John,
> i actually tried it, no joy. part of the problem is the fact that
> ws is on the private network. i did change the DISPLAY and added route,
> but still nothing. i do recall that the firewall should deal with the
> redirection, but obviously, i don't know enough :-)
> julius
>
> On Mon, 7 Jan 2002, John Cuzzola wrote:
>
>
>>>Dear Folks,
>>> here is the situation: i log on to the workstation, the DISPLAY
>>>variable is correct and X apps running on the ltsp server work fine. i
>>>open terminal window, run xterm + and then ssh -X to another server. the
>>>DISPLAY var is set there to the ltsp server address, which i think is
>>>correct. the X apps run on the server i ssh to don't display on my
>>>worksation and just quietly time out. i am missing something obvious, but
>>>what? thanks, julius
>>>
>>
>>Your DISPLAY environment variable should point to the workstation you want
>>the app to display on and not the server. ie:
>>
>>export DISPLAY=ws001:0
>>
>>to have the X programs run on the server but displayed on ws001
>>
>>
>>
>>
>>
>>>
>>>_____________________________________________________________________
>>>Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
>>> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>>>For additional LTSP help, try #ltsp channel on irc.openprojects.net
>>>
>>>
>>
>
>
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.openprojects.net
>
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net