XWin warning messages

2005-01-10 Thread Herbert Eppel
Having successfully installed Cygwin a couple of days ago, I started 
'playing' with a building simulation program called ESP-r (developed 
over many years at the University of Strathclyde in Glasgow - see 
"Software" at http://www.esru.strath.ac.uk), which I know from my 
'previous life' as a university researcher/lecturer, and which was 
recently made available in a form tailored for Cygwin.

I wonder whether someone could shed some light on the warning messages I 
get when I start up an XWin environment under Cygwin.

All I would like to know really is whether any of the messages are cause 
for concern and whether I need to take some corrective action (and if 
yes in what form).

Please be patient with me - I have been using PCs for some years now, 
and I dare say my UNIX knowledge has become somewhat rusty ;-)

Thank you.
Herbert Eppel
www.HETranslation.co.uk
**
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-8
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
/usr/X11R6/bin/X :0 -screen 0 1200 900
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits 
per pixel
winFinishScreenInitFB - Masks: f800 07e0 001f
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0407" (0407)
(--) Using preset keyboard for "German (Germany)" (407), type "4"
Rules = "xorg" Model = "pc105" Layout = "de" Variant = "(null)" Options 
= "(null)"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!
winPointerWarpCursor - Discarding first warp: 600 450
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
cat: /home/HerbertEppel/.Xauthority: No such file or directory
winDeinitMultiWindowWM - Noting shutdown in progress
xinit:  connection to X server lost.


Re: X -broadcast

2005-01-10 Thread Igor Pechtchanski
On Sun, 9 Jan 2005, Brett wrote:

> Hi,
>
> Have been using "X -broadcast" to connect to a XDM server on my network
> for months now.  However, when another user of cygwin tries, it doesn't
> work.  I've tested it on a couple different XP machines, each with
> Cygwin installed for ALL USERS.
>
> I can resolve this problem by removing the "/tmp/XWin.log" file
> manually.  It seems that this file is written by the last person to
> successfully start an X Window, and the permissions are 644.
>
> Maybe if the file was written 664, or a different file was written for
> each $LOGNAME, this problem might go away.
>
> Here is what I've come up with that works for me: a "startx" script to
> start X:
>
> -
> # startx
> rm -f /tmp/XWin.log
>
>   if [ $? -ne 0 ]; then
> echo "File could not be deleted"
> exit
>   fi
>
> X -broadcast > /dev/null 2>&1 &
> -
>
> I'd be grateful for thoughts on a better solution.

Have a separate /tmp for each user -- execute the following once for each
user account:

mount -fu "$USERPROFILE\\Local Settings\Temp" /tmp

and all of your users should be able to start X the regular way with no
interference.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


X -broadcast

2005-01-10 Thread Brett
Hi,

Have been using "X -broadcast" to connect to a XDM server on my network for 
months now.  However, when another user of cygwin tries, it doesn't work.  
I've tested it on a couple different XP machines, each with Cygwin installed 
for ALL USERS.

I can resolve this problem by removing the "/tmp/XWin.log" file manually.  It 
seems that this file is written by the last person to successfully start an X 
Window, and the permissions are 644.

Maybe if the file was written 664, or a different file was written for each 
$LOGNAME, this problem might go away.

Here is what I've come up with that works for me: a "startx" script to start X:

-
# startx
rm -f /tmp/XWin.log

  if [ $? -ne 0 ]; then
echo "File could not be deleted"
exit
  fi

X -broadcast > /dev/null 2>&1 &
-

I'd be grateful for thoughts on a better solution.



Re: Xlib: unexpected async reply

2005-01-10 Thread Mordechay Ochayon
I'm working on the local machine.
I don't use any personal firewall , VPN or somthing close to this stuff.
Thank you.
- Original Message - 
From: "Alexander Gottwald" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 10, 2005 1:43 PM
Subject: Re: Xlib: unexpected async reply


On Mon, 10 Jan 2005, Mordechay Ochayon wrote:
Not likely.
I took the HD from this machine , and connect it to a machine with a 
similar
hardware and still I'm getting the same error.
network does not only involve the cables but the drivers and some software
like VPN, firewalls and stuff too.
bye
ago
--
[EMAIL PROTECTED]
http://www.gotti.org   ICQ: 126018723



Re: Xlib: unexpected async reply

2005-01-10 Thread Alexander Gottwald
On Mon, 10 Jan 2005, Mordechay Ochayon wrote:

> Not likely.
> 
> I took the HD from this machine , and connect it to a machine with a similar 
> hardware and still I'm getting the same error.

network does not only involve the cables but the drivers and some software
like VPN, firewalls and stuff too.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Xlib: unexpected async reply

2005-01-10 Thread Mordechay Ochayon
Not likely.
I took the HD from this machine , and connect it to a machine with a similar 
hardware and still I'm getting the same error.

Any help?
- Original Message - 
From: "Alexander Gottwald" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 10, 2005 11:38 AM
Subject: Re: Xlib: unexpected async reply


On Mon, 10 Jan 2005, Mordechay Ochayon wrote:
Hi.
When I try to run Xterm , I'm getting this error message :
Xlib: unexpected async reply (sequence 0x61)!
X Error of failed request:  BadLength (poly request too large or internal
Xlib l
ength error)
  Major opcode of failed request:  41 (X_WarpPointer)
  Serial number of failed request:  98
  Current serial number in output stream:  97
And the apps is freezing , and i need to kill it brutally.
Anyone know this issue ??
I had never heard of such problems. Maybe it's a problem with your network
environment.
bye
ago
--
[EMAIL PROTECTED]
http://www.gotti.org   ICQ: 126018723



Re: keyhook is not letting win key or alt-tab in

2005-01-10 Thread Alexander Gottwald
On Sun, 9 Jan 2005, Nachiketa Sahoo wrote:

> This email is just a reminder for "ago".
> 
> The keyhook option should let the keys like win, alt-tab and menu into
> the X session, to the x apps. But, it's not happening.
> 
> I am using 6.8.1.0-8 version of Xwin. And I started the XWin using the
> following command from the cygwin bash prompt.
> 
> XWin.exe -multiwindow -clipboard -keyhook &
> 
> Checked the key strokes with xev
> 
> Win is not going through, the start menu pops up :P
> Alt+tab doesn't go through, alt makes xev dump some symbols, but, tab
> doesn't do anything.
> menu surprisingly works. I mean sends some event in, xev dumps something :P

Current status is:

keyhook dos not work properly in multiwindow mode and does only work for 
alt-tab.
I'm not sure why the windows keys are disabled but I think it is because of a
problem with proper integeration into the modifier mask.

I hope the first problem is not too hard. But the windows keys may require a 
lot 
of work.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Xlib: unexpected async reply

2005-01-10 Thread Alexander Gottwald
On Mon, 10 Jan 2005, Mordechay Ochayon wrote:

> Hi.
> 
> When I try to run Xterm , I'm getting this error message :
> 
> Xlib: unexpected async reply (sequence 0x61)!
> X Error of failed request:  BadLength (poly request too large or internal 
> Xlib l
> ength error)
>   Major opcode of failed request:  41 (X_WarpPointer)
>   Serial number of failed request:  98
>   Current serial number in output stream:  97
> 
> And the apps is freezing , and i need to kill it brutally.
> 
> Anyone know this issue ??

I had never heard of such problems. Maybe it's a problem with your network
environment.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Xlib: unexpected async reply

2005-01-10 Thread Mordechay Ochayon
Hi.
When I try to run Xterm , I'm getting this error message :
Xlib: unexpected async reply (sequence 0x61)!
X Error of failed request:  BadLength (poly request too large or internal 
Xlib l
ength error)
 Major opcode of failed request:  41 (X_WarpPointer)
 Serial number of failed request:  98
 Current serial number in output stream:  97

And the apps is freezing , and i need to kill it brutally.
Anyone know this issue ??
10x alot.