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

kitepilot at kitepilot.com kitepilot at kitepilot.com
Wed Dec 5 08:03:47 MST 2018


The STUPID terminal is starting in the local box, so now the question is:
why is it ignoring the DISPLAY variable?
Grrrrrrr...
ET 

kitepilot at 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 at ETROCONIS02-DT:~$
> ssh -fCXY localhost xclock  
> 
> And I get my banana (xclock starts)  
> 
> Then  
> 
> etroconis at 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 at ETROCONIS-DT:~ $
> DISPLAY=:0.0 ssh -fCXY etroconis at ETROCONIS02-DT xclock  
> 
> And (voila), predictably and reliably I again get my banana-clock,
> so FINAL ACT:  
> 
> etroconis at ETROCONIS-DT:~ $
> DISPLAY=:0.0 ssh -fCXY etroconis at 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 at ETROCONIS02-DT xclock
> DISPLAY=:0.0 ssh -fCXY etroconis at 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
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list