SSH forwarding of X question

Brian Fahrlander brian at fahrlander.net
Wed Jul 18 19:25:01 UTC 2007


-----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?

   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.

   There are arguments you can pass, for example, to "lp" to print
elsewhere (assuming the machine spooling the print jobs is another Linux
box...)

   I'm guessing the machine you're on has the default printer?

- --
 ------------------------------------------------------------------------
 Brian Fahrländer                 Christian, Conservative, and Technomad
 Evansville, IN                              http://Fahrlander.net/brian
 ICQ: 5119262                         AOL/Yahoo/GoogleTalk: WheelDweller
 ------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnmkN6PLtRzZbdhYRAi7kAJ9h9/wZRWjVSnO/ldvQbNKD1KtLFACdHKLW
8T0d5/wH7RhEXPv0PM1wooY=
=5C0Y
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list