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 CygwinX with a limited user account


On Tue, 22 Aug 2006, J Jude wrote:

> JJ> > In the long run, the Cygwin/X11 distribution should work for limited
> JJ> > users out-of-the-box.
>
> IP> I don't think Cygwin/X was ever designed to run by multiple users
> IP> simultaneously.
>
> We're not talking about simultaneously.  In the simple case, we're
> talking about a user logging in as administrator to do some system
> task, then logging out and logging in to a limited user account for
> other tasks.

I understood that.  I was debating with myself whether to expand on what I
said or not -- guess I should have.  By "simultaneously" I meant "from the
same installation" (yes, I know, poor choice of words).

Actually, I believe the only thing that's messing it up is /tmp/XWin.log
(which is a Cygwin/X invention -- Linux creates a display-specific file in
/var/log instead).  The socket is actually already display-specific, and
the only thing wrong with it is that Cygwin/X chooses display :0 by
default, and that clashes with the socket (it's debatable whether it
should try to find the next available display number or not).
Theoretically, Cygwin/X should also clean up the socket after itself.
Neither a display-specific log file nor socket cleanup happen in Cygwin/X.

I suppose someone has to do it, and patches would be welcome upstream, but
we are currently missing a Cygwin/X maintainer, so it's unlikely that
anything will be done about this until we get one.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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