From: Todd on
On 03/07/2010 03:20 PM, Todd wrote:
> Problem: after I exit firefox, my calling line from my host does not
> terminate.


Hi All,

Yipee! Figured it out! It is the "-t" option. From
the man page:

-t Force pseudo-tty allocation

And it exits all on its own (Good Dog!).
New run line:
$ ssh -l todd -t -X 192.168.255.185 /usr/bin/firefox --no-remote

Thank to everyone for all the help -- it made me read the man page.
Special thanks to Dave who got me on the track of escape characters
and pseudo terminals.

-T
From: LEE Sau Dan on

Todd> Tried exit, quit, logoff, bad words. No joy. The only thing
Todd> I found that worked is <ctrl><C>.

Didn't Ctrl-Z work?


Todd> Is there something in the run string I could do that tells it
Todd> to quit when firefox quits?

ssh -f


But why not leave that terminal leave alone, which you can use at any
time to start other X-clients or do other things on that machines?
Virtual terminals are cheap!



--
Lee Sau Dan §õ¦u´° ~{@nJX6X~}

E-mail: danlee(a)informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

--- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: Chris Davies on
Todd <todd(a)invalid.com> wrote:
> I have been playing with "ssh -X". In my test, I fire up Firefox
> on my FC12 guest.

> $ ssh -X 192.168.255.185 /usr/bin/firefox -no-remote
> todd(a)192.168.255.185's password:
> Killed by signal 2.

> What am I missing?

The -f flag, perhaps.

ssh -f -X 192.168.255.185 /usr/bin/firefox -no-remote

Chris
From: Todd on
On 03/08/2010 12:09 PM, Chris Davies wrote:
> Todd<todd(a)invalid.com> wrote:
>> I have been playing with "ssh -X". In my test, I fire up Firefox
>> on my FC12 guest.
>
>> $ ssh -X 192.168.255.185 /usr/bin/firefox -no-remote
>> todd(a)192.168.255.185's password:
>> Killed by signal 2.
>
>> What am I missing?
>
> The -f flag, perhaps.
>
> ssh -f -X 192.168.255.185 /usr/bin/firefox -no-remote
>
> Chris


Hi Chris,

The "-t" flag did exactly what I wanted. Thank you
for the suggestion!

Many thanks,
-T
From: Todd on
On 03/08/2010 07:50 AM, LEE Sau Dan wrote:
>
> Todd> Tried exit, quit, logoff, bad words. No joy. The only thing
> Todd> I found that worked is<ctrl><C>.
>
> Didn't Ctrl-Z work?

Did not try it. I also did not want to put it into the back
ground. Jst wanted it to exit.

>
>
> Todd> Is there something in the run string I could do that tells it
> Todd> to quit when firefox quits?
>
> ssh -f
>
>
> But why not leave that terminal leave alone, which you can use at any
> time to start other X-clients or do other things on that machines?
> Virtual terminals are cheap!


Hi Lee,

The "-t" flag did exactly what I wanted. What
I was after was an icon on my program launcher
that started the program automatically and exited
when the program exited. That way the user would be
none the wiser.

And, oh boy does it run slick!

Thank you for the suggestion.

Many thanks,
-T