[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XDMCP and client requirements



Bob Paige <bobman@Iname.com> writes:
> Here's a related question: Once you are running an XDMCP session on
> the client, is there any way to invoke an executable on the client
> machine?

Connect to the Xterminal from your session host.  Export a DISPLAY
variable and then merge your xauth token from the session host into
the Xterminals ~/.Xauthority file.

Here are some details:

You are sitting at Xterminal logged into session_host.

session_host$ ssh Xterminal

Xterminal$ export DISPLAY=Xterminal:0

Make sure that the DISPLAY vars value matches the FQDN listed by
`xauth list' on the session host.

I don't let my Xterminal ssh to my session host so I do the rest from
the session_host, you could do it before ssh'ing to the Xterminal if
tha suits you better or allow ssh to the session host.

session_host$ xauth extract - $DISPLAY | ssh Xterminal xauth merge -

Then you can start xclients on Xterminal and have them make use of the
X server running locally.


hth,
jereme

-- 
+--------------------------------------------------------------+
Jereme Corrado <jereme@restorative-management.com>
System Administrator
Restorative Management Corp.

gpg: 1024D/9C39E1F0



Reply to: