SSH forwarding of X question

Bart Silverstrim bsilver at chrononomicon.com
Wed Jul 18 20:08:22 UTC 2007


Brian Fahrlander wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bart Silverstrim wrote:
>> Here's a silly question.
>>
>> I thought that because of locality of reference, I thought that if I 
>> were on one computer and logged into another and launched an X 
>> application and went to print, it would use the other system's printer. 
>>   Instead, I'm getting my local one...why?
>>
>> I am on one computer in my physically local network (for example, 
>> Superman).  I want to log into a system in another network named 
>> Spider-Man.  Both are running Ubuntu 7.04.
>>
>> ssh -X -C myusername at spider-man-network.com
>>
>> I log in, execute mozilla-firefox.  After a pause, firefox pops up.  go 
>> to a web page.  Go to file->print.  The printers available to 
>> Spider-Man, I get the printers installed on Superman here.
>>
>> Any explanation?
> 
>    The machine you're on is the print-system's default location?

The machine I'm on and the machine I'm ssh'ing into are in two totally 
separate networks.  The other side is actually going from this internal 
network into the Internet and then to a soho-router with portforwarding 
to an internal system.

>    Here I have 5 machines, the one main machine (without a head) has all
> the services, and sits next to a printer.  When I run things on other
> workstations, it uses the  _remote_ system's default printer...which is
> the same for every workstation.

Don't know...both "superman" and "spiderman" are plain old' Ubuntu 
workstations.  No designation of a print server.  The printers set up on 
Superman are TCP/IP printers and the remote system also has TCP/IP 
printers, but they're two different printers.






More information about the ubuntu-users mailing list