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 Wed, 23 Aug 2006, Angelo Graziosi wrote:

> Igor Peshansky wrote:
>
> > For each user, execute "mount -u SOMEUSERSPECIFICDIR /tmp" (as "man
> > mount" would have told you).
>
> Are we sure that this works with startxwin.bat ?
>
> Some time ago I tried to mount /tmp in an user directory (I used also
> %TEMP%, i.e. C:\Doc...\%USERNAME%\..\Temp) but it did not worked with
> startxwin.bat: it tries to remove \cygwin\tmp\.X11-unix\X0 which,
> apparently, does not know about the mount.

Right.  One could rewrite startxwin.bat to do that using cmd.exe extended
syntax, but then it'd stop working on Win9x.

Alternatively, use 'rm -f' instead of 'del', and it should understand the
mount just fine.

> Instead the mount works fine if one uses startx or startxwin.sh!

Yes, because you're running from a Cygwin shell.

> But in these cases one should first start cygwin.bat and the possibility
> to start the X server from a link on the desktop is more hard.

Just put 'c:\cygwin\bin\bash --login -c /usr/X11R6/bin/startxwin.sh' in
the desktop shortcut.
HTH,
	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]