Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Dean Darlison <dean_darlison@spectratek.co.uk>
Subject: Re: XDM and DISPLAY
Date: 1996/04/10	[thread overview]
Message-ID: <316BCDC0.BD0@spectratek.co.uk> (raw)
In-Reply-To: 4kedlgINN3oq8@aix5.bgs.com

Richard Tomasso wrote:
> 
> I'm having this persistent problem on an Alphastation running DecUnix 3.2c
> and an XDM login.
> 
> I can't get the DISPLAY variable to set to anything but :0 when I log in.
> This is a problem since I run lots of remote sessions and applications
> which will obviously open up on the remote machine if DISPLAY is set to :0.
> 
> Basically I need to know how to "fix" XDM so it has a default DISPLAY
> setting of machine:0 instead of :0

Ignore this if I misunderstood your cry for help.
You want to login to remote machines from another machine.
In this case in your .cshrc, .tcshrc, ... you need a line :

setenv DISPLAY `~/bin/from_host`:0.0

the script from_host needs to determine the actual machine you are login in from.
eg. with perl you could examine the utmp file and extract the necessary machine name,
or with csh you could cut the relevant info from the `who` command, or .....

I'll leave the details out. If needed just ask.

Cheers,
   Dean.



  parent reply	other threads:[~1996-04-10  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-09  4:00 XDM and DISPLAY Richard Tomasso
1996-04-10  4:00 ` Gary Heffelfinger
1996-04-11  4:00   ` Chris Ulrich
1996-04-12  4:00     ` Richard Tomasso
1996-04-10  4:00 ` Dean Darlison [this message]
1996-04-12  4:00   ` Richard Tomasso
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