Cygwin for all users

Paul Griffith paulg@cs.yorku.ca
Wed Apr 13 13:43:00 GMT 2005


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




More information about the Cygwin-xfree mailing list