This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Cygwin for all users
- From: Paul Griffith <paulg at cs dot yorku dot ca>
- To: cygwin-xfree at cygwin dot com, nasundar at vt dot edu
- Date: Wed, 13 Apr 2005 09:42:51 -0400
- Subject: Re: Cygwin for all users
- References: <42716660@zathras>
- Reply-to: cygwin-xfree at cygwin dot com
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 (system variable %TEMP% or
%TMP% directory as /tmp for CygwinX.
This is what I do in a WinXP Lab and no issues.
Enjoy
Paul
On Tue, Apr 12, 2005 at 05:22:52PM -0400, Sundar Narayan wrote:
> Hi,
>
> I tried installing Cygwin for all users on my Windows machine but it didn't
> work. I am able to start the x window application only when I log in and not
> when other users log in to the Windows machine. Can you tell me what is wrong?
> or do I need to make any kind of changes after installing or before? I am
> making sure that the "All Users" box is checked before the installation starts
> but it still doesn't work.
>
> Thanks much
>
> -Sundar
>
> VTExCCL
> 103 Randolph Hall
> Virginia Tech
> Blacksburg VA 24060
> Phone - 540-231-1776(work)
> 540-557-7739(cell)
>