SUMMARY : DISPLAY setting in profile

From: Vaddadi, Sridhar (svaddadi@road-inc.com)
Date: Mon Aug 12 2002 - 16:28:48 EDT


Thanks to all who responded.

General consensus is to use "who" command and process output to get source
hostname.

Sample:

DISPLAY=`who am i | cut -d"(" -f2- | cut -d")" -f1`; export DISPLAY

Thanks again to all the Managers....

Sridhar Vaddadi

> -----Original Message-----
> From: Vaddadi, Sridhar
> Sent: Friday, August 09, 2002 2:53 PM
> To: 'sunmanagers@sunmanagers.org'
> Subject: DISPLAY setting in profile
>
> Hi Managers,
>
> Mostly a basic question ...
>
> How should I specify DISPLAY variable in profile script so that when
> I connect through telnet it sets to source address (system from which I am
> running telnet) ???
>
> Thanks in advance for your help !!!
>
> Sridhar Vaddadi
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:45 EDT