Re: Cygwin's RUN command and Windows Vista Beta 2

2006-06-06 Thread Christopher Faylor
On Tue, Jun 06, 2006 at 08:22:02PM -0400, Chuck McDevitt wrote:
>The RUN commands that comes with Cygwin-X
>(\cygwin\usr\X11R6\bin\run.exe) has a problem on Windows Vista Beta 2.
>
>When I tried running Xwin.exe and ssh.exe using that RUN command on
>Vista, it caused a blue-screen crash of the OS.

Clarification: This isn't a problem on Windows Vista Beta 2, it is
a problem *with* Windows Vista Beta 2.

cgf

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



Cygwin's RUN command and Windows Vista Beta 2

2006-06-06 Thread Chuck McDevitt
The RUN commands that comes with Cygwin-X
(\cygwin\usr\X11R6\bin\run.exe) has a problem on Windows Vista Beta 2.

When I tried running Xwin.exe and ssh.exe using that RUN command on
Vista, it caused a blue-screen crash of the OS.

Changing my scripts to use the Windows command-shell START Command
instead of the run command stopped the crash from happening, but of
course doesn't create the window "hidden".

I'd guess there is some parameter being passed to CreateProcess that
didn't used to matter on XP, but now matters to Vista, and is set wrong.



--
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 launch X-windows from domain power

2006-06-06 Thread Mister Fred Ma

I would like to keep the permissions for the nonadministrator
restricted.  However, I used "find... | xargs chmod ..." to mirror the
"group" permissions to "other".  After that, startxwin.bat and
startxwin.sh work if I remove /tmp/.X11-unix and /tmp/XWin.log, which
were left behind from running X-windows from the administrator
account.  Note that startxwin.{sh,bat} did not work on the first try.
It took a few repeated tries.  Possibly because files were created in
the 1st few tries.  Maybe the presence of those hypothesized files
placated some error-trapping code.

Thanks for the suggestions.

Fred


-Original Message-

"Charli Li"  wrote:

Have you tried using startxwin.sh from the Cygwin command line?
---
What you said about the privileges, you mentioned /usr/tmp.  That is
just a temporary files dir.  Instead you want to make the cygwin
install dir accessible to all users, so you should:
* Right click on on cygwin folder, hit properties
* Security > Add
* Select Everything in the list and hit add
* Hit OK twice.  If any dialogs appear, just hit OK.

Charli

-Original Message-

Hello,

I installed Cygwin & Cygwin/X as an administrator; it is a local
account on a Windows XP machine.  It runs fine when I'm logged on as
administrator.  I doesn't work when I run startxwin.bat as a power
user (a domain user accuont).  Cygwin was installed for all users, and
everything else seems to work for all uasers..I get the following
error:

   A fatal error has occurred and Cygwin/X will now exit.
   Please open /tmp/XWin.log for more information.

   Vendor: The Cygwin/X Project
   Release: 6.8.2.0-4
   Contact: cygwin-xfree@cygwin.com
   XWin was started with the following comand-line:
   /usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error

I noticed that /tmp was owned by the administrator, so I made it
read-write-executable by all.  This didn't help.  I've included
/tmp/XWin.log below.  Thanks for any suggestions.

Fred
--
   /tmp/XWin.log
--
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact:  cygwin-xfree@cygwin.com

XWin was started with the following command line:

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

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 960
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
(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/X11
R6/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:
960 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
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - 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"
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winProcEstablishConnection - Hello
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully
opened the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully
opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully
opened the display.
winDeinitMultiWindowWM - Noting shutdown in progress
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped
WM_QUIT message, exiting main loop.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!

--
Unsubscribe info:  http://cygw

X root window resize problem

2006-06-06 Thread Benton, Kevin
I don't know if anyone has reported this yet, however, I noticed that
when I start X at 1280x768, then switch to my off-laptop monitor that's
set to 1280x1024, X doesn't seem to want to display xterm terminal
output outside the 1024x768 range.  I know that if I restart X at this
larger window size, everything works fine, but it's really annoying to
have to do this.  I'm running Cygwin-X dated 2004/03/25, though I know I
downloaded it about 5 months ago.

Does anyone have any suggestions on how to fix this so I don't have to
restart X every time I increase my display resolution from initial
startup?

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
AMD - ECSD Software Validation and Tools
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.



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



connect 192.41.11.39 port 6000: Connection refused

2006-06-06 Thread ton winter
Hello,
Have downloaded cygwin with X and have succesfuuly
connected to RH AS 4 using XDMCP -great!
Cannot seem to bring up an xterm tho.

$ ssh -Y -l root 192.41.11.50
[EMAIL PROTECTED]'s password:
Warning: No xauth data; using fake authentication data
for X11 forwarding.
Last login: Tue Jun  6 10:46:07 2006 from laptop
[EMAIL PROTECTED] ~]# echo $DISPLAY
localhost:10.0
[EMAIL PROTECTED] ~]# xterm
connect 192.41.11.39 port 6000: Connection refused
X connection to localhost:10.0 broken (explicit kill
or server shutdown).
[EMAIL PROTECTED] ~]#
A netstat on my XP laptop, from where I am running
cygwin, reveals that it is not listening on port 6000.
Also I did wonder if I should do an xhost + in the
cygwin window but I cant:
$ xhost +
xhost:  unable to open display "192.41.11.39:0.0"

Where I am going wrong?

TIA

Ton



___

Now you can scan emails quickly with a reading pane.
Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html



___ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The 
Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html

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