* DISPLAY variable
@ 1997-08-27 18:11 Pam Woods, Systems Manager
0 siblings, 0 replies; only message in thread
From: Pam Woods, Systems Manager @ 1997-08-27 18:11 UTC (permalink / raw)
To: tru64-unix-managers
Does anyone have code that I can put in the systemwide login
for users (/etc/profile) ...so that
when people log in from a macx term or vax3100 type station or anywhere,
it will
1) Detect oh they're running xterm/dxterm/dtterm etc
2) set the DISPLAY variable to the correct thing...
Usually I get either :0 or Wed Aug 27 10:01:44 AKDT 1997 :0
If I telnet in sometimes it's correct...
this is what I currently have:
DISPLAY=`who -M am i | awk '{print $6}' | sed 's/[()]//g'`:0; export DISPLAY
doesn't seem to work alot of time...
thanks for the help. Pam
________
Pam Woods - axsymgr@uaa.alaska.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-08-27 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-27 18:11 DISPLAY variable Pam Woods, Systems Manager
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox