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

2010-01-12 Thread Jim Reisert AD1C
After re-installing Cygwin from scratch, I have determined that this
environment variable is/was causing the problem:

CYGWIN=tty

Once I removed it, I was able to create an X term from the icon in the
system tray.

- Jim

On Wed, Dec 30, 2009 at 10:07 AM, I wrote:

 I have a very strange situation.

 At work, I am running Win XP SP3.  I installed all the latest Cygwin
 (1.7.1) + Xorg updates, including startxwin.exe.  Everything works
 perfectly.

 At home, I am running Windows 7 Professional, 64-bit.  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

 I am starting the X server the same way:

    D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

 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.

 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, but is not an optimum solution (I try to have as
 few desktop icons as possible).

 There is nothing in the /var/log/Xwin log that indicates why an xterm
 would start but not open a window.

 Any ideas?


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

2010-01-02 Thread Yaakov (Cygwin/X)

On 01/01/2010 16:04, Jim Reisert AD1C wrote:

Yes, my startup folder shortcut is:

D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

As I've said before, this works properly on my XP SP3 system at work,
but not on my Windows 7 64-bit system at home.


I run Win7 64bit as well and the shortcut WJFFM.

One thing I just realized tonight is that if you use keychain(1) and 
added the command to your ~/.bash_profile (as suggested in that 
manpage), AND you use the shortcut to launch XWin without having started 
a console session first, then the login shell in which we want to launch 
startxwin will wait indefinitely for your SSH password (which you won't 
see because we use run.exe).  Trying the shortcut again while this 
occurs should work after a ~30-sec delay.


The fix for that is to test the presence of an interactive shell before 
running keychain (see bash.info, section 6.3.2):


case $- in
*i*) eval `keychain --eval ~/.ssh/id_dsa` ;;
esac

Since you mention it's your home computer that's having issues, I can 
only guess this might be it.  If you're not using keychain, then we'll 
need to see your 'cygcheck -srv' output and your /var/log/XWin.0.log (as 
plain-text attachments).



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

2010-01-02 Thread Jim Reisert AD1C

On 1/2/2010 10:01 PM, Yaakov (Cygwin/X) wrote:


Since you mention it's your home computer that's having issues, I can
only guess this might be it. If you're not using keychain, then we'll
need to see your 'cygcheck -srv' output and your /var/log/XWin.0.log (as
plain-text attachments).


Hi Yaakov,

I am not using keychain.   I disabled Microsoft Security Essentials.  I 
do not have an ~/.Xdefaults nor a ~/.startxwinrc file.


I've attached the output from cygcheck, as well as the Xwin log.  I got 
these warnings while running it:


/usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 
error 5

Access is denied.

/usr/bin/cygrunsrv: warning: OpenService failed for 'odserv': Win32 error 5
Access is denied.

/usr/bin/cygrunsrv: warning: OpenService failed for 'ose': Win32 error 5
Access is denied.

/usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5
Access is denied.

/usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5
Access is denied.

/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': 
Win32 error 5

Access is denied.

/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5
Access is denied.



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

Cygwin Configuration Diagnostics
Current System Time: Sat Jan 02 23:52:25 2010

Windows 7 Professional N Ver 6.1 Build 7600 

Running under WOW64 on AMD64

Path:   .\
D:\Home\bin
D:\Cygwin\usr\local\emacs\bin
D:\Cygwin\Bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program
Files
(x86)\QuickTime\QTSystem\
C:\Program
Files
(x86)\Common
Files\Acronis\SnapAPI\
D:\utility\DISKEE~1\
D:\WATCOM\BINNT
D:\WATCOM\BINW

Output from D:\Cygwin\bin\id.exe
UID: 1001(Jim Reisert) GID: 513(None)
545(Users) 1000(HomeUsers)513(None)

SysDir: C:\Windows\system32
WinDir: C:\Windows

CYGWIN = 'tty'
HOME = '/cygdrive/d/Home'
PWD = '/cygdrive/d/Home'
USER = 'Jim Reisert'
LIBRARY_PATH = '/usr/lib/mingw'

ALLUSERSPROFILE = 'C:\ProgramData'
APPDATA = 'C:\Users\Jim Reisert\AppData\Roaming'
CLASSPATH = '.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
CommonProgramW6432 = 'C:\Program Files\Common Files'
COMPUTERNAME = 'JJR'
COMSPEC = 'C:\Windows\system32\cmd.exe'
CVSROOT = 'F:\CVS'
CYGROOT = 'D:\Cygwin'
EDPATH = 'd:\WATCOM\EDDAT'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Users\Jim Reisert'
INCLUDE = 'd:\WATCOM\H;d:\WATCOM\H\NT'
LANG = 'en_US.ISO-8859-1'
LANG_JJR = 'C'
LC_TIME_JJR = 'C'
LOCALAPPDATA = 'C:\Users\Jim Reisert\AppData\Local'
LOCALE_JJR = 'C.UTF-8'
LOGONSERVER = '\\JJR'
NUMBER_OF_PROCESSORS = '4'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_ARCHITEW6432 = 'AMD64'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 15 Stepping 7, GenuineIntel'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '0f07'
ProgramData = 'C:\ProgramData'
PROGRAMFILES = 'C:\Program Files (x86)'
ProgramFiles(x86) = 'C:\Program Files (x86)'
ProgramW6432 = 'C:\Program Files'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
PUBLIC = 'C:\Users\Public'
QTJAVA = 'C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip'
SESSIONNAME = 'Console'
SYSTEMDRIVE = 'C:'
SYSTEMROOT = 'C:\Windows'
TEMP = '/cygdrive/c/Users/JIMREI~1/AppData/Local/Temp'
TERM = 'xterm'
TMP = '/cygdrive/c/Users/JIMREI~1/AppData/Local/Temp'
USERDOMAIN = 'JJR'
USERNAME = 'Jim Reisert'
USERPROFILE = 'C:\Users\Jim Reisert'
VS80COMNTOOLS = 'D:\Microsoft Visual Studio 8\Common7\Tools\'
WATCOM = 'd:\WATCOM'
WINDIR = 'C:\Windows'
WINDOWID = '10485797'
DISPLAY = 'localhost:0.0'
XTERM_VERSION = 'Cygwin 6.8.99.903(251)'
XTERM_LOCALE = 'en_US.ISO-8859-1'
LOGNAME = 'Jim Reisert'
XTERM_SHELL = '/bin/tcsh'
HOSTTYPE = 'i386-cygwin'
VENDOR = 'intel'
OSTYPE = 'cygwin'
MACHTYPE = 'i386'
SHLVL = '1'
GROUP = 'None'
HOST = 'JJR'
REMOTEHOST = 'JJR'
MANPATH = ':/usr/ssl/man'
CVSEDITOR = 'emacs'
G_SLICE = 'always-malloc'
DXSPIDER_ROOT = '/cygdrive/e/spider'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\D:\Cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'D:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: 1720b01b097bf4fc Path: D:\Cygwin

a:  fd  FAT  1Mb   0% CPUN   
c:  hd  NTFS 32765Mb  64% CP CS UN PA FC JJR
d:  hd  NTFS 32765Mb  25% CP CS UN PA FC Applications
e:  hd  NTFS 32765Mb  30% CP CS 

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

2010-01-01 Thread Jim Reisert AD1C

On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote:


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 ?


Same problem.  No xterm.


2) changing that .startxwinrc to run xterm?


Pop-up:  Couldn't find xterm anywhere.  I even looked in the PATH

Same when I tried run /usr/bin/xterm (couldn't find /usr/bin/xterm 
anywhere etc.)



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


No change.


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


Those fonts are already installed.

As I said, I have a desktop icon for starting an XTERM that works.  It 
only doesn't work when trying to start the xterm from ~/.startxwinrc, 
or from the system tray.


- 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

2010-01-01 Thread john

Are you executing startxwin from a login shell? I use
\path\to\cygwin\bin\run.exe /bin/bash.exe -l -c /bin/startxwin.exe
and it works for me.

On Fri, 1 Jan 2010, Jim Reisert AD1C wrote:

 On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote:

  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 ?

 Same problem.  No xterm.

  2) changing that .startxwinrc to run xterm?

 Pop-up:  Couldn't find xterm anywhere.  I even looked in the PATH

 Same when I tried run /usr/bin/xterm (couldn't find /usr/bin/xterm anywhere
 etc.)

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

 No change.

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

 Those fonts are already installed.

 As I said, I have a desktop icon for starting an XTERM that works.  It only
 doesn't work when trying to start the xterm from ~/.startxwinrc, or from the
 system tray.

 - Jim




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

2010-01-01 Thread Jim Reisert AD1C

On 1/1/2010 12:41 PM, john wrote:



Are you executing startxwin from a login shell? I use
\path\to\cygwin\bin\run.exe /bin/bash.exe -l -c /bin/startxwin.exe
and it works for me.


Yes, my startup folder shortcut is:

D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

As I've said before, this works properly on my XP SP3 system at work, 
but not on my Windows 7 64-bit system at home.


- Jim




On Fri, 1 Jan 2010, Jim Reisert AD1C wrote:


On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote:


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?


Same problem.  No xterm.


2) changing that .startxwinrc to run xterm?


Pop-up:  Couldn't find xterm anywhere.  I even looked in the PATH

Same when I tried run /usr/bin/xterm (couldn't find /usr/bin/xterm anywhere
etc.)


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


No change.


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


Those fonts are already installed.

As I said, I have a desktop icon for starting an XTERM that works.  It only
doesn't work when trying to start the xterm from ~/.startxwinrc, or from the
system tray.

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



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

2009-12-30 Thread Jim Reisert AD1C
I have a very strange situation.

At work, I am running Win XP SP3.  I installed all the latest Cygwin
(1.7.1) + Xorg updates, including startxwin.exe.  Everything works
perfectly.

At home, I am running Windows 7 Professional, 64-bit.  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

I am starting the X server the same way:

D:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

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.

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, but is not an optimum solution (I try to have as
few desktop icons as possible).

There is nothing in the /var/log/Xwin log that indicates why an xterm
would start but not open a window.

Any ideas?


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

2009-02-11 Thread Ryan Stewart
  On Feb 5, 2009, at 2:30 PM, Ryan Stewart rds6...@gmail.com wrote:
 
  I had been using
  the startxwin.bat to start X in multiwindow mode, and I have a couple
  of lines in there to auto-start some xterm windows. That doesn't work
  anymore. The X server starts, but no xterms appear. When I right click
  the tray icon and go to Applications-xterm, nothing happens either


Problem solved by using the startxwin.bat in /usr/X11R6/bin. I guess
the one at /usr/bin wasn't updated because I'd modified it? The only
change I noticed was from:
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin
to:
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin

This strikes me as odd, since the upgrade instructions seem to
indicate that /usr/X11R6/bin was going away in favor of /usr/bin:
http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html

So what's the deal here? Where is startxwin.bat supposed to live now?
And how do I overcome the apparent problem of customizing it and
getting killed by updates?

A separate question: where can I find some documentation on
\cygwin\bin\run.exe? I only have a vague idea what it does and no idea
what options are available with it.

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

2009-02-09 Thread Jeffrey A Delinck
I did one thing to my startxwin.bat file to make it work. I commented out 
the set commands thus:

rem SET XAPPLRESDIR=
rem SET XCMSDB=
rem SET XKEYSYMDB=
rem SET XNLSPATH=

I am not sure if this is what really made it work because it didn't work 
with the startxwin.sh command, either. However, it might be related to a 
residual of these being defined

Jeff

Note: These view are my own and not the views of the companies I work for.


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

2009-02-09 Thread Larry Hall (Cygwin X)

Jeffrey A Delinck wrote:
I did one thing to my startxwin.bat file to make it work. I commented out 
the set commands thus:


rem SET XAPPLRESDIR=
rem SET XCMSDB=
rem SET XKEYSYMDB=
rem SET XNLSPATH=

I am not sure if this is what really made it work because it didn't work 
with the startxwin.sh command, either. However, it might be related to a 
residual of these being defined


Known issue.  See the FAQ entry:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-i-cant-type-anything


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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

2009-02-06 Thread Ryan Stewart
On Thu, Feb 5, 2009 at 9:59 PM, Dan Moulding dmoulding at gmail dot com wrote:
  On Feb 5, 2009, at 2:30 PM, Ryan Stewart rds6...@gmail.com wrote:
 
  I had been using
  the startxwin.bat to start X in multiwindow mode, and I have a couple
  of lines in there to auto-start some xterm windows. That doesn't work
  anymore. The X server starts, but no xterms appear. When I right click
  the tray icon and go to Applications-xterm, nothing happens either

 What happens if you run xterm from a bash shell started from Cygwin.bat?
 I'm thinking it might give you an error message that may hint at the
 cause of the problem.

Interesting. Restarting the computer seems to have made some
difference. I can now start xterm normally in every case except when I
start X using startxwin.bat. When I start it that way, I *can* start
xterm from a separate bash shell, as you suggested--and there are no
errors--but I still can't start it using the tray icon, and the xterms
I've set up to start in startxwin.bat don't start, either. Those
xterms in the batch file are my main concern.

The batch file starts X like this:
%RUN% XWin -multiwindow -clipboard -silent-dup-error

where RUN=\cygwin\bin\run -p /usr/bin

Then I have lines like this:
%RUN% xterm
%RUN% xterm -e /usr/bin/bash -l

Neither of them work, but starting a cygwin shell and running the
corresponding command from there, i.e. without the %RUN% in front,
does work.

These commands worked before I got an unrequested update yesterday.

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



can't start xterm

2009-02-05 Thread Ryan Stewart
Yet again, I seem to have inadvertently gotten an update to cygwin X,
and now I'm having trouble getting xterm to start. I had been using
the startxwin.bat to start X in multiwindow mode, and I have a couple
of lines in there to auto-start some xterm windows. That doesn't work
anymore. The X server starts, but no xterms appear. When I right click
the tray icon and go to Applications-xterm, nothing happens either.
Same deal if I run XWin.exe or XWin -multiwindow manually. If I
run Cygwin.bat to get the cygwin shell, then run startx, I get the
Cygwin/X:0.0 blue root window with a login xterm and various,
square icon things in three of the corners. I'm not sure exactly
what this is, but it's the only place that I can currently get new
xterm windows to open, either by using Applications-xterm from the
tray icon or by running xterm from the existing terminal.

How can I get back to running X in multiwindow mode so I can have
several xterm windows?

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

2009-02-05 Thread Dan Moulding

On Feb 5, 2009, at 2:30 PM, Ryan Stewart rds6...@gmail.com wrote:


I had been using
the startxwin.bat to start X in multiwindow mode, and I have a couple
of lines in there to auto-start some xterm windows. That doesn't work
anymore. The X server starts, but no xterms appear. When I right click
the tray icon and go to Applications-xterm, nothing happens either


What happens if you run xterm from a bash shell started from  
Cygwin.bat? I'm thinking it might give you an error message that may  
hint at the cause of the problem.


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



can't start xterm

2002-01-09 Thread jari timonen

My xterm (and some other applications) won't start.
Windows just hang and i must end xterm task. Twm and
Xclock seems working OK. I have Win98 with 1.1.8
cygwin and latest XFree86. 

--jari

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



RE: can't start xterm

2002-01-09 Thread Suhaib Siddiqi

update you Cygwin, please.

Suhaib

 -Original Message-
 From: jari timonen [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 09, 2002 10:59 AM
 To: [EMAIL PROTECTED]
 Subject: can't start xterm
 
 
 My xterm (and some other applications) won't start.
 Windows just hang and i must end xterm task. Twm and
 Xclock seems working OK. I have Win98 with 1.1.8
 cygwin and latest XFree86. 
 
 --jari
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail! 
 http://promo.yahoo.com/videomail/