* XDM and DISPLAY
@ 1996-04-09 4:00 Richard Tomasso
1996-04-10 4:00 ` Dean Darlison
1996-04-10 4:00 ` Gary Heffelfinger
0 siblings, 2 replies; 6+ messages in thread
From: Richard Tomasso @ 1996-04-09 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDM and DISPLAY
1996-04-09 4:00 XDM and DISPLAY Richard Tomasso
1996-04-10 4:00 ` Dean Darlison
@ 1996-04-10 4:00 ` Gary Heffelfinger
1996-04-11 4:00 ` Chris Ulrich
1 sibling, 1 reply; 6+ messages in thread
From: Gary Heffelfinger @ 1996-04-10 4:00 UTC (permalink / raw)
Richard Tomasso (richt@aix5.bgs.com) 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
Have you modified /usr/var/X11/xdm/Xservers to include your remote X terminals?
The syntax is:
foobar:0 foreign #where foobar is the name of the X terminal.
Or am I misunderstanding?
--
Gary Heffelfinger gheff@alf.dec.com +------------- Try --------------+
Digital Equipment Corp. - eXcursion Support | http://altavista.digital.com/ |
I work for Digital but my views are my own. +--------------------------------+
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDM and DISPLAY
1996-04-09 4:00 XDM and DISPLAY Richard Tomasso
@ 1996-04-10 4:00 ` Dean Darlison
1996-04-12 4:00 ` Richard Tomasso
1996-04-10 4:00 ` Gary Heffelfinger
1 sibling, 1 reply; 6+ messages in thread
From: Dean Darlison @ 1996-04-10 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDM and DISPLAY
1996-04-10 4:00 ` Gary Heffelfinger
@ 1996-04-11 4:00 ` Chris Ulrich
1996-04-12 4:00 ` Richard Tomasso
0 siblings, 1 reply; 6+ messages in thread
From: Chris Ulrich @ 1996-04-11 4:00 UTC (permalink / raw)
In article <4kglqo$54e@usenet.pa.dec.com>,
Gary Heffelfinger <gheff@decatl.alf.dec.com> wrote:
>Richard Tomasso (richt@aix5.bgs.com) 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
>
>Have you modified /usr/var/X11/xdm/Xservers to include your remote X terminals?
>The syntax is:
>
>foobar:0 foreign #where foobar is the name of the X terminal.
>
>Or am I misunderstanding?
>
Wouldn't one do this only if they were using X11R3 or
earlier servers? The Xservers file is only for X machines
that do not support xdmcp.
The problem of not having the display set properly is
really fishy -- how does the server display the xdm login
screen in the first place if it does not have the display?
Are you sure you are not setting your display in your
.profile/.cshrc/.login whatever to :0? You could try using
the failsafe, and see if the DISPLAY gets set. Of course
with the buggy cde stuff, who knows what the heck is going
on anyhow?
chris
insom@ac.ucr.edu Riverside - where they come for
insom@math.ucr.edu the waters and stay for the air
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDM and DISPLAY
1996-04-10 4:00 ` Dean Darlison
@ 1996-04-12 4:00 ` Richard Tomasso
0 siblings, 0 replies; 6+ messages in thread
From: Richard Tomasso @ 1996-04-12 4:00 UTC (permalink / raw)
>> 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.
I think you may misunderstand what I need.
The problem is when I log in at the console, the display variable gets
set to :0, even though I have a line in my .xsession file that is supposed
to change it to machine:0 if that is the case.
I did notice that the .xsession file seems to be run before the .profile
is this normal for XDM logins?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDM and DISPLAY
1996-04-11 4:00 ` Chris Ulrich
@ 1996-04-12 4:00 ` Richard Tomasso
0 siblings, 0 replies; 6+ messages in thread
From: Richard Tomasso @ 1996-04-12 4:00 UTC (permalink / raw)
>>: 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
>>Have you modified /usr/var/X11/xdm/Xservers to include your remote X terminals?
>>The syntax is:
>>
>>foobar:0 foreign #where foobar is the name of the X terminal.
>>
>>Or am I misunderstanding?
I looked at that, but it doesn't seem to be what I need to fix. And since
my problem is when I log in at the console, I'm not sure it would matter.
> The problem of not having the display set properly is
>really fishy -- how does the server display the xdm login
>screen in the first place if it does not have the display?
Since I'm at the console, I don't think that would be a problem.
>Are you sure you are not setting your display in your
>.profile/.cshrc/.login whatever to :0? You could try using
>the failsafe, and see if the DISPLAY gets set. Of course
>with the buggy cde stuff, who knows what the heck is going on anyhow?
I don't think we're using CDE. Well, we didn't install anything to give us
CDE, so we have it only if it's on by befault.
I have nothing in my .* files to set the display to :0. In fact I check
if it is just :0 and change it to machine:0, which doesn't seem to be
working.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-04-12 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-09 4:00 XDM and DISPLAY Richard Tomasso
1996-04-10 4:00 ` Dean Darlison
1996-04-12 4:00 ` Richard Tomasso
1996-04-10 4:00 ` Gary Heffelfinger
1996-04-11 4:00 ` Chris Ulrich
1996-04-12 4:00 ` Richard Tomasso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox