This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: running CygwinX with a limited user account
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 23 Aug 2006 08:27:37 -0400 (EDT)
- Subject: Re: running CygwinX with a limited user account
- References: <Pine.OSF.4.21.0608231012150.18394-100000@ax0rm1.roma1.infn.it>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
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/