This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/msg00009.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: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com]On <mailto:cygwin-xfree-owner@cygwin.com%5DOn> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]