Console/SSH/X: How to tell?

Marc Lanctot lanctot-yfeSBMgouQgsA/PxXw9srA at public.gmane.org
Fri Jun 19 20:14:09 UTC 2009


On Fri, 19 Jun 2009 16:04:21 -0400
Dave Germiquet <davegermiquet-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:

> If you log in using the -X option of ssh, wouldn't that still give you
> a $DISPLAY.
> 

Maybe, but I don't always login with -X.. in fact most times I don't.
I'm sure there is a clean/nice way to do this; I'll try a Unix shell
forum and post anything useful that comes of it.

Marc

-- 
Any code of your own that you haven't looked at for six or more months
might as well have been written by someone else.
  -- Eagleson's law
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list