HomeAboutMailing ListList Chatter /0/0 34.228.30.69

UPDATE: Why I can't 'ssh -fCXY /usr/bin/gnome-terminal' ? Grrrrr....

2018-12-05 by: kitepilot@kitepilot.com
From: kitepilot@kitepilot.com
------------------------------------------------------
The STUPID terminal is starting in the local box, so now the question is:
why is it ignoring the DISPLAY variable?
Grrrrrrr...
ET 

kitepilot@kitepilot.com writes: 

> Hello all:
> This is so freaking odd that I'll explain it with a series of commands:  
> 
> There are 2 computers involved, linuxbox (Mint Tara) and wincrap (Win 7).  
> 
> In linuxbox I type:  
> 
> etroconis@ETROCONIS02-DT:~$
> ssh -fCXY localhost xclock  
> 
> And I get my banana (xclock starts)  
> 
> Then  
> 
> etroconis@ETROCONIS02-DT:~$
> ssh -fCXY localhost gnome-terminal  
> 
> and (AMAZINGLY!!!!) I get another terminal window.
> So far so good.
> Linux is B-O-R-I-N-G...  
> 
> Now we move to a cygwin shell in wincrap and I type:  
> 
> etroconis@ETROCONIS-DT:~ $
> DISPLAY=:0.0 ssh -fCXY etroconis@ETROCONIS02-DT xclock  
> 
> And (voila), predictably and reliably I again get my banana-clock,
> so FINAL ACT:  
> 
> etroconis@ETROCONIS-DT:~ $
> DISPLAY=:0.0 ssh -fCXY etroconis@ETROCONIS02-DT /usr/bin/gnome-terminal  
> 
> But nope...    8(
> My terminal never starts in the WinCrap box!  
> 
> So, In summary:
> Please look at the 2 lines together (can you tell the difference?)
> DISPLAY=:0.0 ssh -fCXY etroconis@ETROCONIS02-DT xclock
> DISPLAY=:0.0 ssh -fCXY etroconis@ETROCONIS02-DT /usr/bin/gnome-terminal  
> 
> I know that things work locally.
> I know that clock works remotely.
> I know that gnome-terminal DOES NOT works remotely.
> Does anybody have any idea why?   :(
> Thanks for reading my rant...
> ET
>