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