Re: Running Cygwin on multi-user Windows XP - A fix

2006-01-20 Thread Tom Legbandt
This alone does not solve the problem.  The error appears 
/*incorrectly*/ to be associated with the command line:


X:0 -multiwindow -clipboard

and in the /tmp/XWin  file (log file), the last lines contain:

~snip~
winClipbaordProc - XOpenDisplay () returned and successfully opened the 
display.

WinProcSetSelectionOwner - Clipboard not yet started, aborting.
WinProcSetSelectionOwner - Clipboard not yet started, aborting.
WinMultiWindowXMsgProcErrorHandler - ERROR:  BadWindow (invalid window 
parameter)
WinMultiWindowXMsgProcErrorHandler - ERROR:  BadWindow (invalid window 
parameter)
WinMultiWindowXMsgProcErrorHandler - ERROR:  BadWindow (invalid window 
parameter)

winClipboardProc - Call to select () failed: -1. Bailing.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!
~end snip~

But the real problem is that the file extension for cygwin/tmp/XWin is 
missing (or is .txt) upon installation.
Why this works under an administrative account is puzzling to me.  When 
the file is renamed as cygwin/tmp/XWin.*log*, in addition to the change 
to startxwin.bat noted below, the program launches correctly.


/Tom


Syloke J Soong wrote:

google:
cygwin xp non-administrator account

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


Archived Thread from Paul Griffith was:

This problem has been solved in the mailing archive. Here is snip from
my modified startxwin.bat file.

---snip

REM
REM Cleanup after last run.
REM

REM Mount local user %TEMP% as /tmp
mount -f -u -t %TEMP% /tmp

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

---snip-

The solution is to mount the users own tmp directory as /tmp for
CygwinX.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] Behalf Of Tom Legbandt

Sent: Thu, January 19, 2006 2:40 PM
To: cygwin-xfree@cygwin.com
Subject: Running Cygwin on multi-user Windows XP


Cygwin when installed on Windows XP multi user machines will only run 
under the account in which it in installed.  In addition, the account 
must have administrative rights, which is totally unacceptable.


What do I have to do to get it to run on non-administrative accounts 
that were not the account under which it was installed?


/Tom



--
Tom Legbandt
NOAA-CREST Center
The City College of New York
Electrical Engineering Dept.
140th and Convent Ave.
New York, NY  10031
(212) 650-8274  -  (tel)
(212) 650-5459  -  (msg)
(212) 650-5491  -  (fax)



--
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: Running Cygwin on multi-user Windows XP

2006-01-19 Thread Soong, SylokeJ
google:
cygwin xp non-administrator account

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


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tom Legbandt
Sent: Thu, January 19, 2006 2:40 PM
To: cygwin-xfree@cygwin.com
Subject: Running Cygwin on multi-user Windows XP


Cygwin when installed on Windows XP multi user machines will only run 
under the account in which it in installed.  In addition, the account 
must have administrative rights, which is totally unacceptable.

What do I have to do to get it to run on non-administrative accounts 
that were not the account under which it was installed?

/Tom

-- 
Tom Legbandt
NOAA-CREST Center
The City College of New York
Electrical Engineering Dept.
140th and Convent Ave.
New York, NY  10031
(212) 650-8274  -  (tel)
(212) 650-5459  -  (msg)
(212) 650-5491  -  (fax)



--
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:   http://x.cygwin.com/docs/faq/



RE: Running Cygwin on multi-user Windows XP

2006-01-19 Thread Angelo Graziosi

Soong, SylokeJ wrote:

 google:
 cygwin xp non-administrator account

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


I think that 

   REM Mount local user %TEMP% as /tmp
   mount -f -u -t %TEMP% /tmp

should not work is statxwin.bat is started from a link on desktop or
clicking on it frome Resource Explorer.


%CYGWIN_ROOT%\tmpis  c:\cygwin\tmp and not %TEMP%,i.e.

C:\DOCUME~1\'user'~1\IMPOST~1\Temp


It could work only if statxwin.bat is started from a bash shell
(Cygwin.bat) 

The solution 'to mount the users own tmp directory as /tmp' should work in
an environment that knows what means 'mount', '/tmp' (like CYGWIN).


Best regards,

   Angelo.


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