RE: Problem with basic startx and xterm - no cursor or focus

2012-05-29 Thread Senseney, Justin (NIH/CIT) [E]

>This seems to be a fairly fundamental problem, and the placement of the xterm 
>determines whether the entire X.org session is usable or not. >Does anyone 
>know anything about this problem?

I will only mention that while I am unable to recover from this same problem 
(rebase/reinstalling/different versions has no effect), installing cygwin and 
the latest stable packages does not reproduce this problem on other machines.  

-Justin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Problem with basic startx and xterm - no cursor or focus

2012-05-29 Thread Patrick Hogan
Hi list,

A slightly more pared-down version of a question I've posed previously.

>From a new Cygwin install on Windows 7 running 1024x768 resolution,
compare the result of the following two commands run from a Cygwin
terminal:

startx /usr/bin/xterm -- -logfile broken.log

startx /usr/bin/xterm -geometry 80x50+494+51 -- -logfile works.log

The first command produces a single unmanaged xterm. No X11 cursor is
visible and the xterm is unable to receive input focus. It is not
possible to anticipate where the cursor ought to be and give the xterm
focus. Unusable.

The second command produces a single unmanaged xterm. The X11 cursor
is visible and the xterm is able to receive input focus. Works as
expected.

This seems to be a fairly fundamental problem, and the placement of
the xterm determines whether the entire X.org session is usable or
not. Does anyone know anything about this problem?

Regards,

Patrick


broken.log
Description: Binary data


works.log
Description: Binary data


cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

ISO: steps to start Windows PuTTY while using Cygwin/X x authentication

2012-05-29 Thread Larry W. Virden
Platform is Windows 7 64 bit, using cygwin/x 1.11.1-1 and started with:

/usr/bin/X :0 -multiwindow -clipboard -silent-dup-error -auth
/home/user/.Xauthority -auth /home/user/.serverauth.780

Once this starts up, the user is able to start mintty, xterm, etc, can
start ssh -Y otherserver and have x applications there display back,
etc.

However, we have not yet figured out how to set up PuTTY 0.60 (32 bit
version) so that it works .

I have tried setting Connection > SSH > X11 to enable X11 forwarding
and MIT-Magic-Cookie-1.
I start a window and it opens.
I get this error message:
Xlib: connection to "localhost:12.0" refused by server
Xlib: No protocol specified

/usr/openwin/bin/xset:  unable to open display "localhost:12.0"

No x apps start there.

Since PuTTY is started from a start menu normally, it's my guesstimate
that the putty session doesn't have the x authentication cookie.

However, there doesn't seem to me to be a simple way to set that up.
Trying to get an xauth cookie and import it into a different window is
non-trivial, even for an expert.

Surely there is some way to configure things so that this combination
works. I've been performing web searches looking for information, so
far to no avail.

Has anyone a reference, white paper, sample code, etc. to demonstrate
how to set this up?

Thank you very much.

--
Tcl - The glue of a new generation.   http://wiki.tcl.tk/
Larry W. Virden
http://www.facebook.com/lvirden/
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/