SSH forwarding of X question
Marnes
mmmaaarrrnnneeesss at gmail.com
Wed Jul 18 20:44:10 UTC 2007
To me, it work as follows.
If I run a firefox in remote machine and there is not a firefox
running in local machine, ok, it runs remotely (and use remote
printer).
But if I run a firefox in remote machine and there is already a
firefox in local machine (with the same user and the ssh done by same
user), the remote firefox is open as a new windows of the local
running firefox (and use local printer).
So, when I really want to it runs remotely, I need to close all
instances of firefox running in the local machine, or use a different
username to login in remote machine (I created a different user
specially to do this).
Maybe it be your problem too.
I don't know how to prevent it. If someone knows, tell me please.
TIA
On 7/18/07, Bart Silverstrim <bsilver at chrononomicon.com> wrote:
> 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.
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list