What, is it this problem you are trying to solve:
#!/bin/sh
h=$1 # hostname
scp $h:.Xauthority . || xhost +$h
while /bin/true
do
X -query $h
done
Your
> - remote: the server is local and management is remote
line is the same as your "foreign" or "xdmcp" line from what
I can see.
Regards,
/Karl
-----------------------------------------------------------------------
Karl Hammar Aspö Data [EMAIL PROTECTED]
Lilla Aspö 2340 +46 173 140 57 Networks
S-742 94 Östhammar +46 70 511 97 84 Computers
Sweden Consulting
-----------------------------------------------------------------------
From: Alexander Perry <[EMAIL PROTECTED]>
Subject: Re: Prepackaged indirected X terminal
Date: Sat, 25 Nov 2000 23:25:17 -0800
>
> From: Karl Hammar <[EMAIL PROTECTED]>
> > $ man Xserver | sed -n -e '288,340p'
>
> Yes, I know.
>
> From: Alexander Perry <[EMAIL PROTECTED]>
> > [...]
> > I can do it by disabling it in xdm and putting a line in the
> > inittab, but the authentication stuff is a pain and I'm
> > assuming there must be a better way of setting it all up.
>
> xdm (for example) supports
> - local: the server is local and the management is local
> - foreign: the server is remote and we need to kick it
> - xdmcp: the server is remote and it will come to us
>
> I was wondering whether there was a way to request
> - remote: the server is local and management is remote
> I'd like xdm to deal with monitoring and restarting the
> server, yet not try to take control of that display.
>
> Alex.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]