startxwin: cannot unlink
Mon Feb 23 06:04:00 GMT 2004
--- Igor Pechtchanski wrote:
> On Sun, 22 Feb 2004, Elvin Peterson wrote:
> > --- Chris Green <chris<at>areti<dot>co<dot>uk>
> Please configure your mail client to not quote raw
> e-mail addresses in
> replies -- they're just so much fodder for spambots.
Sorry about that. There is no option to turn it off
in webmail :-(
> > > On Sat, Feb 21, 2004 at 08:26:13PM -0800, Elvin
> Peterson wrote:
> > > > Hello,
> > > >
> > > > $ ./startxwin.sh
> > > > rm: cannot unlink `/tmp/.X11-unix/X0':
> Permission denied
> > > > rm: cannot remove directory `/tmp/.X11-unix':
> Directory not empty
> > Is there an equivalent to the Linux 'fuser'
> command for cygwin? That
> > would show what process was accessing it.
> > Thanks.
> Not in Cygwin per se, but there's a "handle" utility
> <http://www.sysinternals.com/> that will do what you
> want. Keep in mind
> that "handle" is a pure Windows program, and won't
> understand POSIX paths,
> so you'll need to convert them using "cygpath",
> handle `cygpath -w /tmp/.X11-unix/X0`
Thanks. I have a related question: does su work with
cygwin? I had to log out and log in again as
administrator to run the program. handle showed that
there were no programs using the file.
I finally solved the problem thus: log in as the user
who started X successfully last and run startxwin.sh.
This managed to start X. Then shut down X. Now X
works for all users.
Also, the -nolisten tcp is not given as an option for
XWin. Does it work?
Thanks for all the help.
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
More information about the Cygwin-xfree