RE: Multiple XWin.exe programs loading and no xterm

2005-03-31 Thread Armbrust, Daniel C.
Because I execute the entire script twice, since the first execution doesn't 
bring up any xterms.

Still not sure what is causing it to take so long to launch the xwin.exe.

Can I set the timeout values on the xterm's with a flag?

Dan 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Cegielski
Sent: Thursday, March 31, 2005 10:38 AM
To: cygwin-xfree@cygwin.com
Subject: RE: Multiple XWin.exe programs loading and no xterm

I'm just trying to understand this even though it works for me now.  Why are
two X servers launching in the first place?

--- Alexander Gottwald [EMAIL PROTECTED] wrote:
 On Wed, 30 Mar 2005, Armbrust, Daniel C. wrote:
 
  The -kb command helped with one of my machines that was having intermittent
 difficulties in launching.
  
  
  
  On another machine, however, I always have to execute the following script
 twice before I get any Xwin windows:
  
  run XWin -multiwindow -clipboard -silent-dup-error -kb
  run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
 /usr/bin/bash -l
  run xterm -geometry 80x50-0-0 -sl 500 -sb -rightbar -e ssh -Y
 [EMAIL PROTECTED]
  
  
  The first time that I run it - Xwin.exe and two xterm.exe's appear in the
 process manager - then both xterm's disappear.  Eventually the X finally
 appears in the lower right corner.
 
 This means XWin is taking very long to startup. Maybe because of a virus
 scanner?
 The xterms will timeout after no connection to the xserver could be
 established.
 The second xserver will notice the first one and will silently exit but now
 the
 xterms can connect to the first xserver.
 
 Adding a sleep after run XWin might help by postponing the xterm startup.
 
 bye
   ago
 -- 
  [EMAIL PROTECTED] 
  http://www.gotti.org   ICQ: 126018723
 


Scott Cegielski
[EMAIL PROTECTED]





__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


RE: Multiple XWin.exe programs loading and no xterm

2005-03-30 Thread Armbrust, Daniel C.
The -kb command helped with one of my machines that was having intermittent 
difficulties in launching.



On another machine, however, I always have to execute the following script 
twice before I get any Xwin windows:


--CUT--
All of the standard startXWin.bat environment setup stuff...
--CUT--

run XWin -multiwindow -clipboard -silent-dup-error -kb
run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash 
-l
run xterm -geometry 80x50-0-0 -sl 500 -sb -rightbar -e ssh -Y [EMAIL PROTECTED]


The first time that I run it - Xwin.exe and two xterm.exe's appear in the 
process manager - then both xterm's disappear.  Eventually the X finally 
appears in the lower right corner.

Then I run the script again, and this time the xterms actually launch.

Here is the log file from the first launch:

 Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-1

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error 
-kb 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(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/
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
winInitMultiWindowWM - Calling pthread_mutex_lock ()
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: 0409 (0409) 
(--) Using preset keyboard for English (USA) (409), type 4
(++) XkbExtension disabled
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.


Does this shed any light on things?  

Thanks,

Dan


RE: Multiple XWin.exe programs loading and no xterm

2005-03-29 Thread Armbrust, Daniel C.
 
This happens to me all the time - I usually have to launch the X stuff 2 or 3 
times before it actually works.  

I have to manually kill off all xterm.exe, bash.exe, and other cygwin programs 
in between the launches.  I keep meaning to look into it more, but since I 
start it less than once a week, I haven't had enough incentive to dig deeper 
yet.

I just set up cygwin on another machine this week, and it suffers the same 
problem.

Dan


RE: xwin hangs at startup - no xterm display

2004-12-30 Thread Armbrust, Daniel C.
I get this quite often.. It usually takes me 3-4 cycles of launching and 
killing processes before I can get a working xterm up.

It hasn't annoyed me enough to look into it further yet - plus my version is 
outdated - I just assumed it would be fixed in a future version since it was 
such blatant error - but maybe its not as widespread as I assumed.


RE: cygwin/x symantec antivirus conflict

2004-10-05 Thread Armbrust, Daniel C.
I do see the problem with slow rendering of X-forwarded apps on one of my computers, 
and it does not have symmantec installed (it does have F-Prot antivirus installed, 
however)

I have never figured out what is wrong with it... It used to work fine, and then I did 
an update at somepoint, and the slow behavior started.

I just don't use it often enough on that computer to be inclined to troubleshoot it...

Dan 



RE: cygwin/x symantec antivirus conflict

2004-10-01 Thread Armbrust, Daniel C.
I have a corporate version of 8.1.1.323, and see no slowdowns.

I didn't have to do anything special to make it work.

(Helpful post huh?)

Dan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Tanner
Sent: Thursday, September 30, 2004 5:05 PM
To: [EMAIL PROTECTED]
Subject: Re: cygwin/x symantec antivirus conflict

Alexander Gottwald wrote:
 I'll add this to the FAQ. Does Symantec Antivirus has an option to disable
 scanning for certain programs?
 
 Try adding XWin.exe to that list.

Good idea, but no dice. I added the entire c:\cygwin\ tree to the 
Symantec exclusion list, but the slowdown is still there. There's also 
no difference if you disable network drive scanning, or something called 
Threat Tracer (the purpose of TT is Identify the source of network 
share-based virus infections on computers that are running Windows 
NT/2000/XP operating systems.)

This really sucks. I don't want to run without antivirus protection, but 
the delay is really irritating.

Is anybody using Symantec Antivirus and NOT seeing a delay? If so, what 
version of SA are you using? I have full version 9.0.0.1400, scan 
engine 1.2.0.13.


RE: How to delete old cygwin directories on W2K?

2004-07-29 Thread Armbrust, Daniel C.
If you are logged on as administrator, can you take ownership of these directories?

After you own them, you should be able to remove them.

Dan 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don V Black
Sent: Thursday, July 29, 2004 3:11 PM
To: [EMAIL PROTECTED]
Subject: How to delete old cygwin directories on W2K?

Hi -

I have a couple of backup CYGWIN directories on my hard drive
that I cannot remove even when I logon as Administrator.

I had a disk crash and was forced to restore the W2K system
onto a new harddrive.  I used the old drive (120GB) as a data
disk. The old drive contains the old CYGWIN directories which
I now cannot delete.

Windows Explorer displays the properties of these directories.
I cannot change the READ-ONLY status of the Shorcuts in
these directories.
The 'security' allows read and or execute only, no write, modify
or delete.  The owner is S-1-5-21-184423 ... 

How do I delete these directories?

  - Kind Regards,
Don

+ + + + + + + + + + + + + + + + + + + + + +
Join the Pros at your IEEE Computer Society
  http://www.IEEE-OCCS.org

Digital ChoreoGraphics   http://www.dcgfx.com
3D Visualization SoftwareDesign  Development
1-949-548-1969 [EMAIL PROTECTED]


start vs run

2004-07-23 Thread Armbrust, Daniel C.
 
At the end of my startxwin.bat script, here is how I launch my windows manger, and 
then connect up to a Fedora Core 2 machine:

start XWin -screen 0 1280 960 -clipboard -silent-dup-error
run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh -Y mir04 /bin/bash --login -c 
gnome-session


This works (though I don't understand why I need -Y now instead of -X (I've seen the 
FAQ, but apparantly it just doesn't stick with me, or I just don't get it))

However, I end up with a prompt on my windows machine for the Xwin.exe server, and it 
spits out all kinds of debugging info.

If I change the start command to run when I execute the script, the X Server 
starts - it appears in the system tray - but it never appears as a window.  I can't 
get to the any of the X clients.  When I kill the X Server (from the system tray) it 
tells me that there are clients connected, but I don't see any.

Why does changing from start to run screw this up?  How do I get rid of this debug 
window?

Thanks, 

Dan



RE: Looking for help

2004-07-20 Thread Armbrust, Daniel C.
  - export DISPLAY=:0.0  # otherwise ssh won't start X forwarding

You don't have to do this.  

The easiest way to set this up for a machine you connect to all the time is to edit 
the end of your cygwin/usr/X11R6/bin/startxwin.bat file to look like this:


scroll down past all of the comments (REM prefixed lines) where it documents all the 
options

start XWin  -multiplemonitors -clipboard
run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh MACHINEADDRESS /bin/bash --login -c 
gnome-session

This causes you to launch a local xterm, which then executes the command ssh - which 
connects to the remote server, and executed gnome-session.

Change gnome-session to startkde if you want kde instead of gnome.

Ps - I also have this line in my /home/username/.ssh/config file:
ForwardX11 yes


And then I set up my ssh keys so that I don't have to type in my password to connect 
to this machine for details.

See http://armbrust.dyndns.org:81/tips_content/ssh.html

Dan


RE: startx causing XP (Media Center Edition) blue screen?

2004-07-14 Thread Armbrust, Daniel C.
 Two questions - is it an ATI video card?

And when you say newest drivers - is that the newest drivers from Microsoft, or the 
newest drivers direct from your vendor?  Or maybe media center edition doesn't let you 
install any drivers unless they are Microsoft approved?

In my experience, windows provided drivers are quite outdated - and in the case of ATI 
- their drivers in the past have not been worth 2 cents.  I was happy when they 
finally released a build of the drivers that didn't bluescreen my machine once a 
day  


RE: Updated: XFree86-xserv-4.3.0-31

2004-01-05 Thread Armbrust, Daniel C.
I just upgraded my install, and now it reports a missing dll file (cygcygipc-2.dll).  
Should the installer handle this automatically?



RE: Updated: XFree86-xserv-4.3.0-31

2004-01-05 Thread Armbrust, Daniel C.
Yeah, it had been a couple of months I usually try to avoid upgrading it unless 
there is a new feature I want (if its not broke)

I had to track down three missing dll files, but now the cut and paste upgrades are 
working great.

Thanks for your work yet again, Harold.

This was about the only thing on my it would be nice if it was fixed list For my 
uses of cygwin anyway.

Dan


-Original Message-
From: Harold L Hunt II [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 05, 2004 1:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Updated: XFree86-xserv-4.3.0-31


Daniel,

Armbrust, Daniel C. wrote:

 I just upgraded my install, and now it reports a missing dll file (cygcygipc-2.dll). 
  Should the installer handle this automatically?

You must have been going for a very long time before upgrading.  Yes, 
the cygipc package is a dependency of the X packages, but if you upgrade 
from an old version that did not require it, then it might not be 
automatically selected for installation.  The solution is to manually 
select the cygipc package.

Harold


RE: Proper attribution of patches

2003-12-23 Thread Armbrust, Daniel C.
Thomas, as a casual observer of your behavior in respect to Harold, your last name 
would describe you better if it were shortened to Dick.

Here is a Quote from Mr. Dickeys webpage where he is whining about not getting credit 
for patches he wrote:

This is a collection of some of the patches which I have made to GNU programs. I have 
submitted these patches to the appropriate maintainers, but received no 
acknowledgment. That is, they were ignored. In a few other cases, I have seen my 
changes incorporated without credit, but that is another matter. The former 
(nonexistent or non-responsive maintainers) are preferable to the latter (egotistical 
plagiarists).

And now, he is the one trying to claim credit for others work.

Very adult of you.  Thomas, you wouldn't let Harold commit patches.  Now that he has 
moved the project, you are stealing his (and in this case) other peoples patches.  Why 
don't you people grow up?

Harold, thank you for continuing the work you do, and for putting up with these 
egotistical jerks in XFree86 land.

Dan


-Original Message-
From: Thomas Dickey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 23, 2003 1:58 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Proper attribution of patches


On Tue, 23 Dec 2003, Harold L Hunt II wrote:

 Thomas Dickey wrote:

  On Tue, 23 Dec 2003, Harold L Hunt II wrote:
 
 
 Your commit didn't mention this either.
 
 Our change log is in our release notes, where the changes were
 attributed to Ralf Habacker:
 
 
  tsk, tsk: the actual commit on the code change bears only your name.
 
  A casual reader of that commit (and of this thread) would gain the false
  impression that you did the work.
 
  Try to make a point the next time you choose to waste my time.

 You put *your* name in the change log message, making an active claim
 that you did the work.

get to the point.  or is logic beyond your capabilities?  All you can
focus on is that I didn't put _your_ name on the change.  A shame.
But given your previous behavior, entirely expected.

Your so-called announcement was followup email to the _same_ people
who had been able to watch the discussion of the problem.  That's
not an announcement.

hmm - no overall changelog entry for the project, no webpage giving
project news.  Just a mailing list (subscription-only ;-).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


RE: Proper attribution of patches

2003-12-23 Thread Armbrust, Daniel C.
Wow, your still so pissed off about being wrong, now you are attacking all of Harold's 
friends.  Boy, you're a big powerful man.  Let me bow before you.

#1.  I do not know Harold.  All I know about him is what I have learned by following 
this list for about a year.
#2.  I don't know you.  All I know about you is what you are posting to this list.
#3.  I don't need to defend my current opinion.  It is correct.  The only reason you 
are still posting like a 10 year old is because you know it is correct.  If my opinion 
is wrong, why don't you actually respond to the points that I and others have made, 
instead of trying to insult more people?
#4.  My past postings addressed the same issue.  The XFree86 people tend to behave 
like spoiled brat 10 years olds, fighting Harold every way that they can, while he 
continues to remain civil and present facts to support his issue, while the person on 
the other side ignores the facts and calls him names.
#5.  I have taken a small part in many other opensource projects (mostly under the 
jakarta umbrella) and I have never seen someone be as disrespectful and unhelpful as 
you (except for a couple of others on the XFree86 list, the last time they attacked 
Harold).  Maybe someone can enlighten me as to the history of the project 
administrators of XFree86 becoming the enemies of the project?  I would almost think 
they are on Microsofts payroll.

You are continuing to act like a complete schmuck.

Apologies to everyone else that continues to be annoyed by this pissing match.  I'm 
going to start enjoying the holidays now, so I'm done posting for a while :)

Dan



-Original Message-
From: Thomas Dickey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 23, 2003 5:49 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: RE: Proper attribution of patches


On Tue, 23 Dec 2003, Armbrust, Daniel C. wrote:

I've seen your postings before, and have no use for your opinions.
(that seems to be a common trait of Harold's friends - I don't have to
address each one of them).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


RE: Cygwin/XFree86 - No longer associated with XFree86.org

2003-10-28 Thread Armbrust, Daniel C.
Harold, 

I have been lurking on this list for a while now.  I don't know much about XFree86, or 
the politics, or any history.  But I read the threads that led up to your decision.  I 
applaud you.  You asked for something completely reasonable, and (pardon the language) 
David Dawes came off as a complete jackass.  

I have worked with Jakarta Ant, the Eclipse Project, and Jakarta Lucene to varying 
degrees.  And I have never seen someone on any of those mailing lists get treated like 
you were.  And, as an example of a well functioning open source project, when someone 
new came to lucene, he turned in some quality patches over the course of about a 
month.  About the equivalent to what I see you commit on this mailing list in a week.  
And they made him a full fledged committer.  No problems, no insults, no lie detector 
tests.  They voted, and it was done.

That it how it is supposed to work.  

The XFree86 organization looks like it is being run by a bunch of power hungry fools.

Thanks for all of your time and work, 

Dan


Issues with Launching remote X apps

2003-08-14 Thread Armbrust, Daniel C.
I'm trying to setup my startxwin.bat script in such a way that it logs in to a remote 
linux machine, and starts kde, with one click.

I'm there, except for the launching of kde part.

Here are (what I think are) the important commands from the script:

start XWin -screen 0 1280 960 -clipboard
run xsetroot -solid aquamarine4
run /usr/X11R6/bin/xHost.exe +
run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh -f mir01startkde



But for some reason, when it executes 'startkde' it seems to do so without having 
loaded my environment variables, etc first.  I get lots of errors, and it dies.

If I make the last line in the .bat file this instead:
run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh mir01

The ssh connection works correctly, and then if I type in 'startkde' everything runs 
great. 

What am I doing wrong with the ssh command?

Thanks, 

Dan


RE: Issues with Launching remote X apps

2003-08-14 Thread Armbrust, Daniel C.
Beautiful.  Works like a charm.  Thanks a lot!

Dan


-Original Message-
From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 11:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Issues with Launching remote X apps


On Thu, 14 Aug 2003, Armbrust, Daniel C. wrote:

 I'm trying to setup my startxwin.bat script in such a way that it logs
 in to a remote linux machine, and starts kde, with one click.

 I'm there, except for the launching of kde part.

 Here are (what I think are) the important commands from the script:

 start XWin -screen 0 1280 960 -clipboard
 run xsetroot -solid aquamarine4
 run /usr/X11R6/bin/xHost.exe +
 run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh -f mir01startkde

 But for some reason, when it executes 'startkde' it seems to do so
 without having loaded my environment variables, etc first.  I get lots
 of errors, and it dies.

 If I make the last line in the .bat file this instead:
 run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh mir01

 The ssh connection works correctly, and then if I type in 'startkde'
 everything runs great.

 What am I doing wrong with the ssh command?

 Thanks,
 Dan

Dan,

ssh has two modes of operation: a remote shell, and a remote login.  When
you supply a script to execute, it acts as a remote shell.  When you don't
(i.e., your second case), it acts as a remote login, executing all
login/rc scripts.  Apparently, you need to execute your login/rc scripts
to set up the environment to run kde.  If your login shell is bash, try
forcing a login by running

run xterm -geometry 80x24+0+0 -sb -leftbar -e ssh -f mir01 /bin/bash --login -c 
startkde

(I'm assuming the lack of space in the above command is a typo).  If your
login shell is something else, you'll need to find out which flag to pass
to it to force a login shell (for tcsh it's '-l' IIRC).
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton