[vox-tech] ssh with X11 remote

ME vox-tech@lists.lugod.org
Tue, 25 May 2004 11:51:44 -0700 (PDT)


Bill Kendrick said:
> On Tue, May 25, 2004 at 11:16:15AM -0700, ME wrote:
>> Dang, I have lots 's of typos...
>>
>> Another thing too.. If you find you do not remember the DISPLAY
>> information on the target machine, and it is running Linux, you can
>> utilized a nifty "/proc technique" to assist you. (Let's assume it is
>> PID
>> 6667.) Then you can find the env vars of that shell as started with
>> this:
>>
>> $ grep "DISPLAY" /proc/6667/environ | strip | less
>
> strip?  Do you mean strings? :)

Doh! Yep, strings. Good catch!