Re: Can't start xterm from Cygwin/X icon in system tray

2009-12-31 Thread dahaiou


Jim Reisert AD1C wrote:
 
 I am unable to start an xterm from the Cygwin/X icon in the system tray
 (right-click, select xterm).  Both setups have the same line in .XWinrc:
 xterm  EXEC  xterm
 As  a work-around, I created a shortcut on my desktop to start an xterm:
 D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0
 That works perfectly,

What exact command is mapped to the xterm label in the right-click tray
menu? It's configured in an init file somewhere though I can't remember the
filename right now.

Can you check whether the DISPLAY variable is set in the xterm process
started from the tray menu? If it isn't, that would explain it.


-- 
View this message in context: 
http://old.nabble.com/Can%27t-start-xterm-from-Cygwin-X-icon-in-system-tray-tp26969798p26977792.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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/



Re: Can't start xterm from Cygwin/X icon in system tray

2009-12-31 Thread Jim Reisert AD1C
On Thu, Dec 31, 2009 at 6:33 AM, dahaiou wrote:


 Jim Reisert AD1C wrote:

 I am unable to start an xterm from the Cygwin/X icon in the system tray
 (right-click, select xterm).  Both setups have the same line in .XWinrc:
         xterm      EXEC  xterm
 As  a work-around, I created a shortcut on my desktop to start an xterm:
     D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0
 That works perfectly,

 What exact command is mapped to the xterm label in the right-click tray
 menu? It's configured in an init file somewhere though I can't remember the
 filename right now.

which points to /usr/bin/xterm

 Can you check whether the DISPLAY variable is set in the xterm process
 started from the tray menu? If it isn't, that would explain it.

I tried this explicitly:

 xterm  EXEC  xterm -display localhost:0

That didn't make a difference.

One other piece of data:  I modifed ~/.XWinrc and then clicked Reload
.xwinrc from the menu in the system tray. This KILLED the X server!

- Jim


-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
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/



Re: Can't start xterm from Cygwin/X icon in system tray

2009-12-31 Thread Ken Brown

On 12/31/2009 10:53 AM, john at asyn dot org wrote:

On Thu, 31 Dec 2009, Jim Reisert AD1C wrote:

Jim Reisert AD1C wrote:


I am unable to start an xterm from the Cygwin/X icon in the system tray
(right-click, select xterm).  Both setups have the same line in .XWinrc:
 xterm  EXEC  xterm
As  a work-around, I created a shortcut on my desktop to start an xterm:
 D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0
That works perfectly,

[...]

I tried this explicitly:

  xterm  EXEC  xterm -display localhost:0

That didn't make a difference.

One other piece of data:  I modifed ~/.XWinrc and then clicked Reload
.xwinrc from the menu in the system tray. This KILLED the X server!


 I had this problem. It was happening because PATH was not being set.
 The problem went away when I used /startxwin.bat instead of
 /bin/startxwin.exe.

If PATH is not being set, then you're probably not running startxwin.exe 
from a login shell.  See


  http://cygwin.com/ml/cygwin-xfree/2009-12/msg00117.html

Ken

--
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/



Re: X11 assertion fails

2009-12-31 Thread Yaakov (Cygwin/X)

On 30/12/2009 21:20, Carl R. Crawford wrote:

I just upgraded to the latest version of X11. A program that previously
worked fine now reports the following error:

assertion ret != inval_id failed: file
/usr/src/ports/xorg/libX11/libX11-1.3.2-2/src/libX11-1.3.2/src/xcb_io.c,
line 385, function: _XAllocID
Aborted (core dumped)

How do I fix this?


Start here:


Problem reports:   http://cygwin.com/problems.html



Yaakov
Cygwin/X

--
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/



Re: xterm process exists but no window appears when XWin Server launched (current release)

2009-12-31 Thread Yaakov (Cygwin/X)

On 30/12/2009 11:52, Timares, Brian (Harris Corp.) wrote:

I checked the FAQ, looked over the XWin.0 log, looked over the cygcheck
output which shows:
Sonic Solutions burning software containing DLA component
Detected: Named process.

ZoneAlarm Personal Firewall
Detected: HKLM Registry Key, Named file.

I had rebooted since last I used the Sonic Solutions (I can remove it if
it is worth trying), the ZoneAlarm I have no control over (nor the other
security-related items).


BLODA often needs to be completely uninstalled, followed by a reboot, 
for it not to interfere.  ZA is a known troublemaker wrt Cygwin, so if 
you can't remove it, then I'm not sure that we'll be able to help.



Yaakov
Cygwin/X

--
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/



Re: Can't start xterm from Cygwin/X icon in system tray

2009-12-31 Thread Yaakov (Cygwin/X)

On 30/12/2009 11:07, Jim Reisert AD1C wrote:

I do not have a ~/.startxwinrc file.  The xterm that is supposed to be
created when the server starts doesn't start either.

The symptom is that xterm.exe is shown running in the task manager,
but there is no Xterm window on the desktop.


This sounds like it has nothing to do with startxwin.  I can't reproduce 
this, but do any of the following help:


1) creating a ~/.startxwinrc containing just xterm ?

2) changing that .startxwinrc to run xterm?

3) setting LANG=en_US.ISO-8859-1 ?

4) installing the font-daewoo-misc, font-isas-misc, and font-jis-misc 
packages?



Yaakov
Cygwin/X

--
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/



Keymap problem with XWin Server after upgrading to 1.7.3.0

2009-12-31 Thread Kevin Barltrop
After upgrading to 1.7.3.0, I get a fatal error dialog box, which says 
to look at /var/log/XWin.0.log. I did a reinstall of the 
xkeyboard-config package, but that hasn't helped.  the log is shown 
below.  Help!


Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.3.0 (10703000)
Build Date: 2009-12-22

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

X :0 -multiwindow

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
2009-12-31 12:39:36 _XSERVTransSocketOpenCOTSServer: Unable to open 
socket for inet6
2009-12-31 12:39:36 _XSERVTransOpen: transport open failed for 
inet6/OfficeComputer:0
2009-12-31 12:39:36 _XSERVTransMakeAllCOTSServerListeners: failed to 
open listener for inet6
2009-12-31 12:39:37 winValidateArgs - g_iNumScreens: 1 
iMaxConsecutiveScreen: 1

2009-12-31 12:39:37 (II) xorg.conf is not supported
2009-12-31 12:39:37 (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information

2009-12-31 12:39:37 winPrefsLoadPreferences: /etc/X11/system.XWinrc
2009-12-31 12:39:37 LoadPreferences: Done parsing the configuration file...
2009-12-31 12:39:37 winGetDisplay: DISPLAY=:0.0
2009-12-31 12:39:37 winDetectSupportedEngines - Windows NT/2000/XP
2009-12-31 12:39:37 winDetectSupportedEngines - DirectDraw installed
2009-12-31 12:39:37 winDetectSupportedEngines - DirectDraw4 installed
2009-12-31 12:39:37 winDetectSupportedEngines - Returning, supported 
engines 0007

2009-12-31 12:39:37 winSetEngine - Multi Window or Rootless = ShadowGDI
2009-12-31 12:39:37 winAdjustVideoModeShadowGDI - Using Windows display 
depth of 32 bits per pixel
2009-12-31 12:39:37 winAllocateFBShadowGDI - Creating DIB with width: 
1280 height: 1024 depth: 32
2009-12-31 12:39:37 winFinishScreenInitFB - Masks: 00ff ff00 
00ff
2009-12-31 12:39:37 winInitVisualsShadowGDI - Masks 00ff ff00 
00ff BPRGB 8 d 24 bpp 32

2009-12-31 12:39:37 null screen fn ReparentWindow
2009-12-31 12:39:37 null screen fn RestackWindow
2009-12-31 12:39:37 InitQueue - Calling pthread_mutex_init
2009-12-31 12:39:37 InitQueue - pthread_mutex_init returned
2009-12-31 12:39:37 InitQueue - Calling pthread_cond_init
2009-12-31 12:39:37 InitQueue - pthread_cond_init returned
2009-12-31 12:39:37 winInitMultiWindowWM - Hello
2009-12-31 12:39:37 winInitMultiWindowWM - Calling pthread_mutex_lock ()
2009-12-31 12:39:37 winMultiWindowXMsgProc - Hello
2009-12-31 12:39:37 winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
2009-12-31 12:39:37 Screen 0 added at XINERAMA coordinate (0,0).
2009-12-31 12:39:37 MIT-SHM extension disabled due to lack of kernel support
2009-12-31 12:39:37 XFree86-Bigfont extension local-client optimization 
disabled due to lack of shared memory support in the kernel
2009-12-31 12:39:37 (II) AIGLX: Loaded and initialized 
/usr/lib/dri/swrast_dri.so

2009-12-31 12:39:37 (II) GLX: Initialized DRISWRAST GL provider for screen 0
2009-12-31 12:39:37 [dix] Could not init font path element 
/usr/share/fonts/TTF/, removing from list!
2009-12-31 12:39:37 [dix] Could not init font path element 
/usr/share/fonts/OTF/, removing from list!
2009-12-31 12:39:37 [dix] Could not init font path element 
/usr/share/fonts/Type1/, removing from list!

2009-12-31 12:39:37 (EE) Error compiling keymap (server-0)
2009-12-31 12:39:37 (EE) XKB: Couldn't compile keymap
2009-12-31 12:39:37 XKB: Failed to compile keymap
2009-12-31 12:39:37 Keyboard initialization failed. This could be a 
missing or incorrect setup of xkeyboard-config.

2009-12-31 12:39:37
Fatal server error:
2009-12-31 12:39:37 Failed to activate core devices.


--
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/



Re: [ANNOUNCEMENT] Updated: xinit-1.2.0-2

2009-12-31 Thread Duane Krings
For of those of us who prefer the X window managers, I would like to request an option to this new command that starts 
the server _not_ in multiwindow mode as there is no -singlewindow or -nomultiwindow options we can send to the server as 
overrides.



--
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/