Possible to use clipboard with remote/xdm connection?

Harold L Hunt II huntharo@msu.edu
Fri Jan 2 19:20:00 GMT 2004


Chris Green wrote:

> On Fri, Jan 02, 2004 at 01:28:22PM -0500, Harold L Hunt II wrote:
> 
>>>It's of little use to be able to allow xwinclip to run on the win2k
>>>system by executing something on the Linux system.  One wants a means
>>>to do it from the X startup script.
>>
>>Sure, one wants to, but there is not a way to do it.  Patches are welcome.
>>
> 
> So are we now saying that what I want to do is impossible?

Umm... I'm not sure what you want to do.  It is not currently possible 
to pre-authenticate xwinclip via xhost from a script run on your Windows 
machine, but it is possible to use the X hosts file like Alexander 
suggested, or to run xhost on the remote machine after logging in.

So, if you want to do the first item, then you would need to try to 
design a change to the X security system and provide a patch that 
implements it.  It would be difficult to design such a change without 
opening up security holes that do not currently exist; or, it may not be 
possible.

> I thought people were initially saying that although the '-clipboard'
> parameter to Xwin wouldn't work when using xdmcp the separate xwinclip
> executable should work OK.  However it would now seem that it's
> actually impossible to execute xwinclip in the situation where one has
> am xdmcp connection to a remote computer.

No, it is not impossible.  Alexander told you how to use xwinclip (run 
xhost on the remote machine once you have logged in), but you did not 
believe him that it worked so you didn't try it.  Remember who is asking 
for help here and who is helping... we are telling you how to do it, you 
just need to try it.

> I'm not complaining (much!), but I am rather confused.  :-)

It's okay.  You'll figure it out.

Harold



More information about the Cygwin-xfree mailing list