Re: Problems using startxwin.bat

2008-02-11 Thread ohaya



[EMAIL PROTECTED] wrote:

I've been a subscriber to this list for some time, but I believe this is my 
first
post.  I'm a college professor who uses Cygwin in a small PC lab.  I can start
an X server just fine (I'm an Administrator under Windows on these machines)
but my students cannot.  I've already read the FAQ.  Here are the specifics:



Hi,

Sorry for the late post, but I think that I had this problem, and used 
the info in this post to resolve it:


http://www.cygwin.com/ml/cygwin-xfree/2005-02/msg9.html

Hope that that helps!

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/



Problem with X (disappears) and Sun Directory Server Console

2008-01-27 Thread ohaya

Hi,

I'm new here, but I'm trying to use Cygwin X to access the 
administration console for Sun Directory Server 6.1.  I run 
startxwin.bat, get the xterm window, run xhost + and then SSH to the 
server, export DISPLAY, and start the console using a command called 
startconsole.  This causes the console GUI to appear but when I type 
in my username/password, everything, including the original xterm window 
disappears.


I've tried access the admin console using Hummingbird Exceed, and that 
seems to work fine.  This problem only occurs when I use Cygwin X.


The XWin.log file has the following in it after this happens:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 
_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II) 
XF86Config is not supported (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per 
pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 
depth: 16 winInitVisualsShadowGDI - Masks f800 07e0 001f 
BPRGB 6 d 16 bpp 16 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 winInitMultiWindowWM - Calling 
pthread_mutex_lock () 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 (--) 3 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 
winInitClipboard () winProcEstablishConnection - winInitClipboard 
returned. winClipboardProc - Hello DetectUnicodeSupport - Windows 
NT/2000/XP winInitMultiWindowWM - pthread_mutex_unlock () returned. 
winMultiWindowXMsgProc - pthread_mutex_lock () returned. 
winClipboardProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - 
DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () 
returned. winMultiWindowXMsgProc - 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. winProcSetSelectionOwner - 
Clipboard not yet started, aborting. winProcSetSelectionOwner - 
Clipboard not yet started, aborting. winMultiWindowXMsgProcErrorHandler 
- ERROR: BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter 
attributes) winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch 
(invalid parameter attributes) winMultiWindowXMsgProcErrorHandler - 
ERROR: BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter 
attributes) winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch 
(invalid parameter attributes) winMultiWindowXMsgProcErrorHandler - 
ERROR: BadMatch (invalid parameter attributes) winClipboardProc - 
winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting 
main loop. winClipboardProc - XDestroyWindow succeeded. 
winMultiWindowXMsgProcIOErrorHandler! winInitMultiWindowXMsgProc - 
Caught IO Error. Exiting. FreeFontPath: FPE 
/usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. 
(II) XF86Config is not supported (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information


Does anyone know what might be causing this problem, and also how to fix it?

Thanks,
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: Problem with X (disappears) and Sun Directory Server Console

2008-01-27 Thread ohaya

Jose,

When you say create a new account, which account did you mean?

FYI, both myself and two other colleagues tried this, each with our own 
Windows accounts and accounts on the Linux machine where Sun DS is on, 
and all 3 of us (so far) have had this problem.


Jim


jose isaias cabrera wrote:


I don't know if it is the same or not, but I had a similar problem with 
a Gentoo server.  I tried everything, but once I recreated the account, 
I was able to connect.  Try creating a new account and give it a try.  
Just a thought...


thanks,

jic

ohaya wrote,


Hi,

I'm new here, but I'm trying to use Cygwin X to access the 
administration console for Sun Directory Server 6.1.  I run 
startxwin.bat, get the xterm window, run xhost + and then SSH to the 
server, export DISPLAY, and start the console using a command called 
startconsole.  This causes the console GUI to appear but when I type 
in my username/password, everything, including the original xterm 
window disappears.


I've tried access the admin console using Hummingbird Exceed, and that 
seems to work fine.  This problem only occurs when I use Cygwin X.


The XWin.log file has the following in it after this happens:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 
_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II) 
XF86Config is not supported (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits 
per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 
height: 768 depth: 16 winInitVisualsShadowGDI - Masks f800 
07e0 001f BPRGB 6 d 16 bpp 16 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 
winInitMultiWindowWM - Calling pthread_mutex_lock () 
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 (--) 3 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 winInitClipboard () 
winProcEstablishConnection - winInitClipboard returned. 
winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP 
winInitMultiWindowWM - pthread_mutex_unlock () returned. 
winMultiWindowXMsgProc - pthread_mutex_lock () returned. 
winClipboardProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - 
DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () 
returned. winMultiWindowXMsgProc - 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. 
winProcSetSelectionOwner - Clipboard not yet started, aborting. 
winProcSetSelectionOwner - Clipboard not yet started, aborting. 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: 
BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: 
BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: 
BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winClipboardProc - 
winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting 
main loop. winClipboardProc - XDestroyWindow succeeded. 
winMultiWindowXMsgProcIOErrorHandler! winInitMultiWindowXMsgProc - 
Caught IO Error. Exiting. FreeFontPath: FPE 
/usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. 
(II) XF86Config is not supported (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information


Does anyone know what might be causing this problem, and also how to 
fix it?


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






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ

Re: Problem with X (disappears) and Sun Directory Server Console

2008-01-27 Thread ohaya

Jose,

It doesn't seem that that would be the problem in our case, since, as I 
mentioned in original message, if I use Hummingbird Exceed as my X 
server (with logging into the server with Sun DS as the same Linux 
account), it works perfectly.


That Xwin.log that I included in my msg seems to indicate that it's 
having a problem with starting the Clipboard.  Would that cause this 
problem, and if so, how to fix it?


Jim



jose isaias cabrera wrote:


Sorry about that.  I created the account at linux server which I wanted 
to connect to.



- Original Message - From: ohaya [EMAIL PROTECTED]
To: cygwin-xfree@cygwin.com
Sent: Sunday, January 27, 2008 7:29 PM
Subject: Re: Problem with X (disappears) and Sun Directory Server Console



Jose,

When you say create a new account, which account did you mean?

FYI, both myself and two other colleagues tried this, each with our 
own Windows accounts and accounts on the Linux machine where Sun DS is 
on, and all 3 of us (so far) have had this problem.


Jim


jose isaias cabrera wrote:



I don't know if it is the same or not, but I had a similar problem 
with a Gentoo server.  I tried everything, but once I recreated the 
account, I was able to connect.  Try creating a new account and give 
it a try.  Just a thought...


thanks,

jic

ohaya wrote,


Hi,

I'm new here, but I'm trying to use Cygwin X to access the 
administration console for Sun Directory Server 6.1.  I run 
startxwin.bat, get the xterm window, run xhost + and then SSH to 
the server, export DISPLAY, and start the console using a command 
called startconsole.  This causes the console GUI to appear but 
when I type in my username/password, everything, including the 
original xterm window disappears.


I've tried access the admin console using Hummingbird Exceed, and 
that seems to work fine.  This problem only occurs when I use Cygwin X.


The XWin.log file has the following in it after this happens:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 
_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II) 
XF86Config is not supported (II) See 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits 
per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 
height: 768 depth: 16 winInitVisualsShadowGDI - Masks f800 
07e0 001f BPRGB 6 d 16 bpp 16 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 
winInitMultiWindowWM - Calling pthread_mutex_lock () 
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 (--) 3 
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 winInitClipboard () 
winProcEstablishConnection - winInitClipboard returned. 
winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP 
winInitMultiWindowWM - pthread_mutex_unlock () returned. 
winMultiWindowXMsgProc - pthread_mutex_lock () returned. 
winClipboardProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - 
DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock 
() returned. winMultiWindowXMsgProc - 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. 
winProcSetSelectionOwner - Clipboard not yet started, aborting. 
winProcSetSelectionOwner - Clipboard not yet started, aborting. 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: 
BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: 
BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: 
BadMatch (invalid parameter attributes) 
winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid 
parameter attributes) winClipboardProc - 
winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, 
exiting main loop. winClipboardProc - XDestroyWindow succeeded. 
winMultiWindowXMsgProcIOErrorHandler

Re: New to Cygwin - Problems with Cygwin NFS

2005-07-07 Thread ohaya
Hi,

I was just looking in /var/log/nfsd.log under Cygwin, and I am seeing
lots of errors:

auth_clnt.c 352 : Unable to seteuid(1000):  no such process

Jim



ohaya wrote:
 
 Hi,
 
 I've been trying to configure Cygwin NFS running on a Windows 2003
 Server machine (machine: testwin2k3) to export directories so that I can
 eventually use these directories as home directories on Solaris
 machines.
 
 I got Cygwin and Cygwin NFS installed, and somewhat working, but am
 having problems with the uids of files being created on the NFS
 directories.
 
 On my test Solaris system, I have a test user, jim1, with uid=1000 and
 gid=1000.  In Cygwin NFS, I have /etc/exports configured to export
 /hometest/jim1 to machine with IP address 192.168.0.201 (for now):
 
 /hometest/jim1  192.168.0.201(rw,...)
 
 I was finally able to get su - jim1 on the Solaris machine to work,
 and I can see that it has indeed mounted the directory that I exported
 from Cygwin NFS.
 
 However, if I try to create a file after su - jim1, the uid on the
 file is set to nobody (uid=18?).  The gid seems to be ok, it's just the
 uid on the files that seems to be wrong.
 
 I've tried to add a map_static=/etc/nfs/server.map-jim1:
 
 /hometest/jim1  192.168.0.201(rw,map_static=/etc/nfs/server.map-jim1)
 
  where the /etc/nfs/server.map-jim1 file has:
 
 uid 18  1000
 gid 10001000
 uid 10001000
 gid 10001000
 
 but, to no avail.
 
 I've also tried setting anonuid=1000,anongid=1000, but got the same
 results.
 
 I've restarted the 3 Cygwin services in between each server.map and
 exports change, but no matter what I've tried :(...
 
 Can anyone tell me how I can get Cygwin NFS to set the uid on the files
 properly, to uid=1000?
 
 Thanks in advance,
 Jim

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: New to Cygwin - Problems with Cygwin NFS

2005-07-07 Thread ohaya


Larry Hall wrote:
 
 At 02:17 AM 7/7/2005, you wrote:
 
 Reformatted top post
 
 ohaya wrote:
 
  Hi,
 
  I've been trying to configure Cygwin NFS running on a Windows 2003
  Server machine (machine: testwin2k3) to export directories so that I can
  eventually use these directories as home directories on Solaris
  machines.
 
  I got Cygwin and Cygwin NFS installed, and somewhat working, but am
  having problems with the uids of files being created on the NFS
  directories.
 
 snip
 
  However, if I try to create a file after su - jim1, the uid on the
  file is set to nobody (uid=18?).
 
 UID 18 on Windows maps to the SYSTEM user.  I'm guessing that you're running
 the services as SYSTEM then.
 
 The gid seems to be ok, it's just the
  uid on the files that seems to be wrong.
 
  I've tried to add a map_static=/etc/nfs/server.map-jim1:
 
  /hometest/jim1  192.168.0.201(rw,map_static=/etc/nfs/server.map-jim1)
 
   where the /etc/nfs/server.map-jim1 file has:
 
  uid 18  1000
  gid 10001000
  uid 10001000
  gid 10001000
 
  but, to no avail.
 
  I've also tried setting anonuid=1000,anongid=1000, but got the same
  results.
 
 
 I would think this should work fine, with the caveat below.
 
 
 I was just looking in /var/log/nfsd.log under Cygwin, and I am seeing
 lots of errors:
 
 auth_clnt.c 352 : Unable to seteuid(1000):  no such process
 
 Wouldn't this be an indication of the known problem on W2K3 that
 SYSTEM does not have permissions to change user contexts?  See
 '/usr/share/doc/Cygwin/openssh.README' for some solution details.
 


Larry,

I'll take a look at that document.

Thanks,
Jim

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



New to Cygwin - Problems with Cygwin NFS

2005-07-06 Thread ohaya
Hi,

I've been trying to configure Cygwin NFS running on a Windows 2003
Server machine (machine: testwin2k3) to export directories so that I can
eventually use these directories as home directories on Solaris
machines.

I got Cygwin and Cygwin NFS installed, and somewhat working, but am
having problems with the uids of files being created on the NFS
directories.

On my test Solaris system, I have a test user, jim1, with uid=1000 and
gid=1000.  In Cygwin NFS, I have /etc/exports configured to export
/hometest/jim1 to machine with IP address 192.168.0.201 (for now):

/hometest/jim1  192.168.0.201(rw,...)

I was finally able to get su - jim1 on the Solaris machine to work,
and I can see that it has indeed mounted the directory that I exported
from Cygwin NFS.

However, if I try to create a file after su - jim1, the uid on the
file is set to nobody (uid=18?).  The gid seems to be ok, it's just the
uid on the files that seems to be wrong.

I've tried to add a map_static=/etc/nfs/server.map-jim1:

/hometest/jim1  192.168.0.201(rw,map_static=/etc/nfs/server.map-jim1)

 where the /etc/nfs/server.map-jim1 file has:

uid 18  1000
gid 10001000
uid 10001000
gid 10001000

but, to no avail.

I've also tried setting anonuid=1000,anongid=1000, but got the same
results.

I've restarted the 3 Cygwin services in between each server.map and
exports change, but no matter what I've tried :(...

Can anyone tell me how I can get Cygwin NFS to set the uid on the files
properly, to uid=1000?

Thanks in advance,
Jim

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/