Re: cut and paste xfree - windows

2004-01-02 Thread Greg Freemyer
On Thu, 2004-01-01 at 13:28, Alexander Gottwald wrote:
 [EMAIL PROTECTED] wrote:
 
  Harold L Hunt II wrote :
  For all practical purposes, -clipboard does not work when using XDMCP.
  Is there any change about ?
 
 use xwinclip.
 
 
 NP: Letzte Instanz - Glockenrequiem

I saw this and the thread with Chris Green, and like Chris I still
don'know what to do.

Is there a write-up that explicitely describes the setup and use of
xwinclip with xdmcp? 

I tried:

XWin.exe -query my_server 

Use the X window to login in to my_server, launch x-term

From X-windows x-term 
# xhost 127.0.0.1
127.0.0.1 being added to access control list

From cygwin window: (the first time I tried it failed)
$ DISPLAY=:0.0 xwinclip
UnicodeSupport - Windows NT/2000/XP
GetClipboardData () failed: 

Then I tried 'DISPLAY=:0.0 xwinclip' again from cygwin window, and it
appears to be working, but not cosistently, or else I don't know what
causes the clipboard to move back and forth between Win2K and X-server.

Thanks for any help,
Greg
-- 
Greg Freemyer





Re: cut and paste xfree - windows

2004-01-02 Thread Chris Green
On Fri, Jan 02, 2004 at 02:12:10PM -0500, Greg Freemyer wrote:
 On Thu, 2004-01-01 at 13:28, Alexander Gottwald wrote:
  [EMAIL PROTECTED] wrote:
  
   Harold L Hunt II wrote :
   For all practical purposes, -clipboard does not work when using XDMCP.
   Is there any change about ?
  
  use xwinclip.
  
  
  NP: Letzte Instanz - Glockenrequiem
 
 I saw this and the thread with Chris Green, and like Chris I still
 don'know what to do.
 
 Is there a write-up that explicitely describes the setup and use of
 xwinclip with xdmcp? 
 
I have finally got it working, my start up .BAT file to run an xdmcp
connection is as follows:-

SET DISPLAY=192.168.13.25:0.0

SET REMOTE_HOST=192.168.13.1

SET CYGWIN_ROOT=\cygwin

SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%


REM Cleanup after last run.

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix

echo startxdmcp.bat - Starting on Windows NT/2000/XP

start /B XWin -query %REMOTE_HOST%
sleep 10
start /B xwinclip


That sleep between starting XWin and xwinclip seems to be necessary
but now it does seem to work reasonably reliably.  I have fixed IP
addresses for the machines on my home network so the 192.168.13.25
will always be the same for the win2k machine.

-- 
Chris Green ([EMAIL PROTECTED])


Re: cut and paste xfree - windows

2004-01-02 Thread Chris Green
On Fri, Jan 02, 2004 at 10:48:42PM +, Chris Green wrote:
 I have finally got it working, my start up .BAT file to run an xdmcp
 connection is as follows:-
 
 SET DISPLAY=192.168.13.25:0.0
 
 SET REMOTE_HOST=192.168.13.1
 
 SET CYGWIN_ROOT=\cygwin
 
 SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
 
 
 REM Cleanup after last run.
 
 if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
 attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
 del %CYGWIN_ROOT%\tmp\.X11-unix\X0
 
 :CLEANUP-FINISH
 if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
 
 echo startxdmcp.bat - Starting on Windows NT/2000/XP
 
 start /B XWin -query %REMOTE_HOST%
 sleep 10
 start /B xwinclip
 
 
 That sleep between starting XWin and xwinclip seems to be necessary
 but now it does seem to work reasonably reliably.  I have fixed IP
 addresses for the machines on my home network so the 192.168.13.25
 will always be the same for the win2k machine.
 
Plus the other little (but vitally important) bit, an /etc/X0.hosts
file containing:-

192.168.13.25

-- 
Chris Green ([EMAIL PROTECTED])


cut and paste xfree - windows

2004-01-01 Thread [EMAIL PROTECTED]
Harold L Hunt II wrote :
For all practical purposes, -clipboard does not work when using XDMCP.
Is there any change about ?


Re: cut and paste xfree - windows

2004-01-01 Thread Alexander Gottwald
[EMAIL PROTECTED] wrote:

 Harold L Hunt II wrote :
 For all practical purposes, -clipboard does not work when using XDMCP.
 Is there any change about ?

use xwinclip.


NP: Letzte Instanz - Glockenrequiem
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723