public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* cut and paste xfree <-> windows
@ 2004-01-01 14:58 jrc
  2004-01-01 18:28 ` Alexander Gottwald
  0 siblings, 1 reply; 5+ messages in thread
From: jrc @ 2004-01-01 14:58 UTC (permalink / raw)
  To: cygwin-xfree

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cut and paste xfree <-> windows
  2004-01-01 14:58 cut and paste xfree <-> windows jrc
@ 2004-01-01 18:28 ` Alexander Gottwald
  2004-01-02 19:20   ` Greg Freemyer
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Gottwald @ 2004-01-01 18:28 UTC (permalink / raw)
  To: cygwin-xfree

jrc@chauviere.org 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
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cut and paste xfree <-> windows
  2004-01-01 18:28 ` Alexander Gottwald
@ 2004-01-02 19:20   ` Greg Freemyer
  2004-01-02 22:48     ` Chris Green
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Freemyer @ 2004-01-02 19:20 UTC (permalink / raw)
  To: cygwin-xfree

On Thu, 2004-01-01 at 13:28, Alexander Gottwald wrote:
> jrc@chauviere.org 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: 00000000

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cut and paste xfree <-> windows
  2004-01-02 19:20   ` Greg Freemyer
@ 2004-01-02 22:48     ` Chris Green
  2004-01-02 22:53       ` Chris Green
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Green @ 2004-01-02 22:48 UTC (permalink / raw)
  To: cygwin-xfree

On Fri, Jan 02, 2004 at 02:12:10PM -0500, Greg Freemyer wrote:
> On Thu, 2004-01-01 at 13:28, Alexander Gottwald wrote:
> > jrc@chauviere.org 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 (chris@areti.co.uk)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cut and paste xfree <-> windows
  2004-01-02 22:48     ` Chris Green
@ 2004-01-02 22:53       ` Chris Green
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Green @ 2004-01-02 22:53 UTC (permalink / raw)
  To: cygwin-xfree

On Fri, Jan 02, 2004 at 10:48:42PM +0000, 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 (chris@areti.co.uk)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-01-02 22:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-01 14:58 cut and paste xfree <-> windows jrc
2004-01-01 18:28 ` Alexander Gottwald
2004-01-02 19:20   ` Greg Freemyer
2004-01-02 22:48     ` Chris Green
2004-01-02 22:53       ` Chris Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).