From: John Benner <benner>
Subject: DISPLAY on Alpha/OSF
Date: 1995/05/09 [thread overview]
Message-ID: <3oof1s$bn7@newshost.lanl.gov> (raw)
Is there a way to automatically set the DISPLAY variable when logging
into a remote Alpha running OSF? I log into an Alpha frequently from
a variety of other machines (SGI's) and want to avoid manually
setting the display to the machine I am logging in from. Any help would
be appreciated.
On SGI's, the following code in your .login works:
if ($?DISPLAY == 0) then
if ($?REMOTEHOST) then
setenv DISPLAY ${REMOTEHOST}:0
else
setenv DISPLAY :0
endif
endif
But it does not work on the Alpha (because $REMOTEHOST is not set).
next reply other threads:[~1995-05-09 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-09 4:00 John Benner [this message]
1995-05-09 4:00 ` DISPLAY on Alpha/OSF Dan Pop
1995-05-10 4:00 ` Mike Yankus
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox