Warning: No xauth data; using fake authentication data for x11 forwarding

2004-10-26 Thread kynn



When I connect from cygwin to a remote host using 'ssh -Y', I get the
warning:

  Warning: No xauth data; using fake authentication data for x11 forwarding

How can I fix this?

Thanks!

kj


xinit vs. startx

2004-10-22 Thread kynn




I start X in one of two ways from the CL on a Cygwin terminal: via
xinit or via startx.  (Needing the Cygwin terminal to do this is
something I'd like to avoid; see (3) below.)

When I start X using xinit, a large window appears that covers the
entire screen; it cannot be resized but it can be minimized, and it
behaves like a desktop (it can contain other X windows applications).
At startup this desktop window contains a single xterm, from which I
can start new X applications that live within the boundaries of the
desktop window.  If I hit control-D in this xterm, both it and the
large desktop window disappear.

In contrast, when I start using startx, I get the lone xterm,
without the large fixed-size desktop window containing it.  I can
invoke X applications from within this xterm, and these applications
live on the standard Windows desktop.

1. What exactly causes the different behavior between running xinit
and running startx?  As far as I can tell, both xinit and startx use
the directives listed in my .xinitrc file (which is identical to the
file /etc/X11/xinit/xinitrc that is installed by default with cygwin).
Does startx invoke xinit or the other way around (or none of the
above)?

2. Is there any way I can (re)set the size of the desktop-like window
produced by xinit so that it does not take up the entire screen?

3. Is there any way that I can launch startx (and thereby get a
terminal from which I can launch X applications) by clicking on some
desktop/launcher icon without first needing to bring up a
(non-X-capable) Cygwin terminal?

Thanks!

kj


Re: xwin produces flickery gray screen; cut/paste

2004-10-13 Thread kynn


[EMAIL PROTECTED] wrote:

  On Tue, 12 Oct 2004 [EMAIL PROTECTED] wrote:

   Hi!  I just installed Cygwin, including X, on my Windows2000
   workstation.  When I execute xwin, I get an awful-looking window, with
   horizontal gray lines flickering annoyingly across the screen, which
   is pretty much entirely taken up by this window.  There's a big black
   X in the middle of the screen.  How do I fix this?
   
   I got better results when I started X using startx.  The only problem
   with this option is that I don't seem to have any form of
   cut-and-paste.  The first few lines sent to the screen after I execute
   startx are
   
 Welcome to the XWin X Server
 Vendor: The Cygwin/X Project
 Release: 6.7.0.0-12
   
 Contact: [EMAIL PROTECTED]
   
 XWin was started with the following command line:
   
 X :0 -multiwindow -clipboard
   
   The mention of -clipboard above gave me the hope that cut  paste
   would be possible, but I have not gotten it to work, neither between X
   applications, nor between an X application and a Windows application.
   Do I need to do anything special to get cut  paste to work?

  Cut and paste in X is done in different ways depending on the application.
  In most cases (xterm, mozilla and others) it is sufficient to mark text 
  to cut it and click the middle mouse button to paste it.

Thanks.  I'm aware of that, but still it doesn't work.

kj

 


xwin produces flickery gray screen; cut/paste

2004-10-12 Thread kynn




Hi!  I just installed Cygwin, including X, on my Windows2000
workstation.  When I execute xwin, I get an awful-looking window, with
horizontal gray lines flickering annoyingly across the screen, which
is pretty much entirely taken up by this window.  There's a big black
X in the middle of the screen.  How do I fix this?

I got better results when I started X using startx.  The only problem
with this option is that I don't seem to have any form of
cut-and-paste.  The first few lines sent to the screen after I execute
startx are

  Welcome to the XWin X Server
  Vendor: The Cygwin/X Project
  Release: 6.7.0.0-12

  Contact: [EMAIL PROTECTED]

  XWin was started with the following command line:

  X :0 -multiwindow -clipboard

The mention of -clipboard above gave me the hope that cut  paste
would be possible, but I have not gotten it to work, neither between X
applications, nor between an X application and a Windows application.
Do I need to do anything special to get cut  paste to work?

Thanks!

kynn