ThinkNIC: ssh not setting $DISPLAY ?

ThinkNIC: ssh not setting $DISPLAY ?

Post by Vincent F » Fri, 02 Feb 2001 08:15:50



I picked up one of these little toys and while it does have
an ssh client, it does not seem to set the DISPLAY variable
on the remote machine as I am used to. Any fixes for this?

--
        "Who needs horror movies when we have Microsoft"?
         -- Christine Comaford, PC Week, 27/9/95

 
 
 

ThinkNIC: ssh not setting $DISPLAY ?

Post by f.. » Sat, 03 Feb 2001 04:53:22


: I picked up one of these little toys and while it does have
: an ssh client, it does not seem to set the DISPLAY variable
: on the remote machine as I am used to. Any fixes for this?

I wasn't aware that anyone did.  But, just seems like you need to add
to your .login, .profile, .bashrc or whatever file a test to see where
you came from and set DISPLAY as you wish.  #SSH_CLIENT should be
set to the IP address (and port numbers) where you came from.

ON a sorta-related subject, anyone doing anything embedded with those
boxes?  I'm Editorial Director of Embedded Linux Journal and I am
looking for some interesting articles.
--
Phil Hughes, SSC, Inc. P.O. Box 55549, Seattle, WA 98155  (206)PUBS-REF

Quote:>>> Publishers of pocket references for UNIX, C, ..., Linux Journal <<<


SSC/Linux Journal web site: http://www.ssc.com/

 
 
 

ThinkNIC: ssh not setting $DISPLAY ?

Post by Vincent F » Sat, 03 Feb 2001 07:10:58




>: I picked up one of these little toys and while it does have
>: an ssh client, it does not seem to set the DISPLAY variable
>: on the remote machine as I am used to. Any fixes for this?
>I wasn't aware that anyone did.  But, just seems like you need to add
>to your .login, .profile, .bashrc or whatever file a test to see where
>you came from and set DISPLAY as you wish.  #SSH_CLIENT should be
>set to the IP address (and port numbers) where you came from.

Umm, this is not really what I was thinking of.

Sure, I can set the DISPLAY to nic:0.0 but then I am going
over a plain TCP connection, whereas what I want to be doing is
going backwards through the ssh tunnel as is normal. I think we
found it in looking around on the CD. Looks like X11 Forwarding
is turned off by default in their ssh_config file for openssh.

We copied the ThinkNIC CD, modified the config file, and are
burning a new CD right now to test it out.

Quote:>ON a sorta-related subject, anyone doing anything embedded with those
>boxes?  I'm Editorial Director of Embedded Linux Journal and I am >looking for some interesting articles.

What kind of articles? I was thinking of hacking one up for
the usual purposes of car MP player:

Upgrade memory.
Replace CDROM with largish CompactFlash (Have a 64meg CF around)
Have on CF a copy of my SlackWare 7 that boots and unspools into RAM.

So on boot it would do the typical Paul Moody embedded thing of
booting into RAM and runs from there.

--
        "Who needs horror movies when we have Microsoft"?
         -- Christine Comaford, PC Week, 27/9/95

 
 
 

ThinkNIC: ssh not setting $DISPLAY ?

Post by Dennis Beirn » Sat, 03 Feb 2001 16:20:16


The January and February 2001 issues of Linux Journal had a two part
article there was a section on using X apps over an SSH connection. I
haven't tried it yet, so I don't know [or understand] how it works. I'm a
Linux hobbyist playing on a home network so SSH isn't mission critical.

The second article [which contains the remote X references] can be found
here on the LJ Interactive site, but you need to be a member to login.

http://interactive.linuxjournal.com/Magazines/LJ82/4413.html

Good Luck,

Crash

Quote:>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<


regarding Re: ThinkNIC: ssh not setting $DISPLAY ?:


> >: I picked up one of these little toys and while it does have
> >: an ssh client, it does not seem to set the DISPLAY variable
> >: on the remote machine as I am used to. Any fixes for this?
> >I wasn't aware that anyone did.  But, just seems like you need to add
> >to your .login, .profile, .bashrc or whatever file a test to see where
> >you came from and set DISPLAY as you wish.  #SSH_CLIENT should be
> >set to the IP address (and port numbers) where you came from.
> Umm, this is not really what I was thinking of.
> Sure, I can set the DISPLAY to nic:0.0 but then I am going
> over a plain TCP connection, whereas what I want to be doing is
> going backwards through the ssh tunnel as is normal. I think we
> found it in looking around on the CD. Looks like X11 Forwarding
> is turned off by default in their ssh_config file for openssh.
> We copied the ThinkNIC CD, modified the config file, and are
> burning a new CD right now to test it out.
> >ON a sorta-related subject, anyone doing anything embedded with those
> >boxes?  I'm Editorial Director of Embedded Linux Journal and I am
>looking for some interesting articles.
> What kind of articles? I was thinking of hacking one up for
> the usual purposes of car MP player:
> Upgrade memory.
> Replace CDROM with largish CompactFlash (Have a 64meg CF around)
> Have on CF a copy of my SlackWare 7 that boots and unspools into RAM.
> So on boot it would do the typical Paul Moody embedded thing of
> booting into RAM and runs from there.
> --
>       "Who needs horror movies when we have Microsoft"?
>        -- Christine Comaford, PC Week, 27/9/95

 
 
 

ThinkNIC: ssh not setting $DISPLAY ?

Post by Dennis Beirn » Sat, 03 Feb 2001 16:22:39


Quote:>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<


regarding Re: ThinkNIC: ssh not setting $DISPLAY ?:
> The January and February 2001 issues of Linux Journal had a two part
> article there was a section on using X apps over an SSH connection. I
> haven't tried it yet, so I don't know [or understand] how it works. I'm a
> Linux hobbyist playing on a home network so SSH isn't mission critical.
> The second article [which contains the remote X references] can be found
> here on the LJ Interactive site, but you need to be a member to login.
> http://interactive.linuxjournal.com/Magazines/LJ82/4413.html
> Good Luck,
> Crash
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

> regarding Re: ThinkNIC: ssh not setting $DISPLAY ?:


> > >: I picked up one of these little toys and while it does have
> > >: an ssh client, it does not seem to set the DISPLAY variable
> > >: on the remote machine as I am used to. Any fixes for this?
> > >I wasn't aware that anyone did.  But, just seems like you need to add
> > >to your .login, .profile, .bashrc or whatever file a test to see where
> > >you came from and set DISPLAY as you wish.  #SSH_CLIENT should be
> > >set to the IP address (and port numbers) where you came from.
> > Umm, this is not really what I was thinking of.
> > Sure, I can set the DISPLAY to nic:0.0 but then I am going
> > over a plain TCP connection, whereas what I want to be doing is
> > going backwards through the ssh tunnel as is normal. I think we
> > found it in looking around on the CD. Looks like X11 Forwarding
> > is turned off by default in their ssh_config file for openssh.
> > We copied the ThinkNIC CD, modified the config file, and are
> > burning a new CD right now to test it out.
> > >ON a sorta-related subject, anyone doing anything embedded with those
> > >boxes?  I'm Editorial Director of Embedded Linux Journal and I am
> >looking for some interesting articles.
> > What kind of articles? I was thinking of hacking one up for
> > the usual purposes of car MP player:
> > Upgrade memory.
> > Replace CDROM with largish CompactFlash (Have a 64meg CF around)
> > Have on CF a copy of my SlackWare 7 that boots and unspools into RAM.
> > So on boot it would do the typical Paul Moody embedded thing of
> > booting into RAM and runs from there.
> > --
> >       "Who needs horror movies when we have Microsoft"?
> >        -- Christine Comaford, PC Week, 27/9/95

 
 
 

ThinkNIC: ssh not setting $DISPLAY ?

Post by Pavel Tkatchou » Thu, 15 Feb 2001 11:34:05


Quote:>ON a sorta-related subject, anyone doing anything embedded with those
>boxes?  I'm Editorial Director of Embedded Linux Journal and I am
>looking for some interesting articles.

I'm evaluating this toy to see if we can use it instead of our current
hardware
for POS system, not ready for article yet though.