RE: startxwin.exe and ssh-agent

2010-02-05 Thread Timares, Brian (Harris Corp.)
Joe Warren-Meeks wrote:
I've googled extensively and searched the mail archives, but I can't
find anything which describes how to configure cygwin to use
ssh-agent.

http://mah.everybody.org/docs/ssh


Brian

--
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 doesn't open on start

2009-12-03 Thread Timares, Brian (Harris Corp.)
Linda Walsh wrote:
Timares, Brian (Patriot) wrote:
 Any other ideas?  I keep updating but so far all I can do is launch
 an Xterm manually and clean up, then everything seems fine til the
 next time I relaunch it.

   Do you have
DISPLAY=:0
set in your Windows environment?

I didn't, but I do now.

I am forced to use Outlook so I forwarded the more extensive email to my
personal account so I can edit it more easily/correctly and because my
work got pretty busy.

I reverted to 1.5 to see if that would work better, it doesn't really,
so I'll try to install 1.7 in parallel when I get a chance (I have
servers doing things now so I have to let it alone for awhile).

I do appreciate all the terrific replies--I've been on the net for
awhile and this is one of the friendliest lists I've been on.


Brian Timares
oh and then there is the 7-year-old, he is taking lots of time :)

--
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 doesn't open on start (was: checkX problems)

2009-12-02 Thread Timares, Brian (Harris Corp.)
More information as promised, after getting the new run and checkX
(run2) packages announced this morning.

$ checkX -v
run2 0.3.2

- QUOTE -
Lothar Brendel wrote:
Timares, Brian (Patriot) wrote:

 The X window showed up, but it blew up real good (the windows
 disappeared, then the X icon.  After a rebootit
 didn't launch at all.  I ran startxwin.sh from the Cygwin Bash
 Shell, and it started.

At least we're getting *somewhere* :-)

Ok, what happens when entering the two vital commands by hand in the
the 
Cygwin Bash Shell (waiting with the second until the X-icon has
appeared)?

XWin -multiwin 
xterm -display :0

Reproducible success?

I'll try again from home (I went into the office to simplify things).
Here
is what I got (sorry for the word-wrap):

vhaisbtim...@isb-timaresbrian-lt ~
$ XWin -multiwindow 
[1] 5004

vhaisbtim...@isb-timaresbrian-lt ~
$ Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.1.0 (10701000)
Build Date: 2009-11-11
- UNQUOTE -

Trying from home with the VPN active, again, it works; here is the ps
from the xterm that showed up:
vhaisbtim...@isb-timaresbrian-lt ~
$ ps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 3556   13556   35560 180490 11:11:27 /usr/bin/bash
 6020   16020   6020? 180490 11:11:28
/usr/bin/ssh-agent
I294435562944   36880 180490 11:12:07 /usr/bin/XWin
 593635565936   40600 180490 11:12:56 /usr/bin/xterm
 478059364780   18401 180490 11:12:57 /usr/bin/bash
  9324780 932   46961 180490 11:12:59 /usr/bin/ps

After quitting and destroying any processes from a DOS window, trying
startxwin.bat with echo on

First off all, nothing appeared (no X icon, no window).  Here is what ps
in a DOS window shows after running startxwin.bat:
C:\cygwin\binps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 1656   11656   16560 180490 10:57:45 /usr/bin/bash
 5516   15516   5516? 180490 10:57:47
/usr/bin/ssh-agent
I467616561656   44760 180490 10:57:47
/usr/bin/ssh-add
I2024   12024   20241 180490 11:09:16 /usr/bin/bash
 1464   11464   14642 180490 11:09:40 /usr/bin/ps

Here is the output with blank lines and REM lines removed (I added the
2nd SET DISPLAY, CYGWIN is set to tty elsewhere as well as here, I don't
know what that is at the end of the PATH):
C:\cygwin\binstartxwin.bat 
C:\cygwin\binSET DISPLAY=127.0.0.1:0.0 
C:\cygwin\binSET CYGWIN=tty tty tty 
C:\cygwin\binif defined CYGWIN_ROOT goto :OK 
C:\cygwin\binSET RUN=C:\cygwin\bin\\..\bin\run -p /usr/bin 
C:\cygwin\binSET
PATH=C:\cygwin\bin\\..\bin;C:\cygwin\bin\\..\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Personal
Communications\;C:\Program Files\IBM\Trace Facility\;C:\Program
Files\Common Files\InterSystems\Cache;C:\Program Files\Windows
Imaging\;C:\Program Files\ActivIdentity\ActivClient\;P 
C:\cygwin\binSET XAPPLRESDIR=
C:\cygwin\binSET XCMSDB=
C:\cygwin\binSET XKEYSYMDB=
C:\cygwin\binSET XNLSPATH=
C:\cygwin\binif not exist C:\cygwin\bin\\..\tmp\.X11-unix\X0 goto
CLEANUP-FINISH
C:\cygwin\binattrib -s C:\cygwin\bin\\..\tmp\.X11-unix\X0
C:\cygwin\bindel C:\cygwin\bin\\..\tmp\.X11-unix\X0
C:\cygwin\binif exist C:\cygwin\bin\\..\tmp\.X11-unix rmdir
C:\cygwin\bin\\..\tmp\.X11-unix
C:\cygwin\binSET DISPLAY=127.0.0.1:0.0
C:\cygwin\binC:\cygwin\bin\\..\bin\run -p /usr/bin bash -l -c XWin
-multiwindow -clipboard -silent-dup-error -winkill -emulate3buttons 100

C:\cygwin\binC:\cygwin\bin\\..\bin\run -p /usr/bin checkX -wait -d
127.0.0.1:0.0 -t 12
C:\cygwin\binC:\cygwin\bin\\..\bin\run -p /usr/bin xterm -e
/usr/bin/bash -l
C:\cygwin\bin

At this point I run Cygwin Bash Shell and from that window I run
startxwin.bat and it works fine, even after closing the Cygwin Bash
Shell.


Brian Timares

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