Hello, I'm new to Cygwin. I need it in my home lan to manage scanning from a Windows XP notebook to a Linux print and scan server. I need to start the server's xsane on the notebook via ssh with one mouse click.
It works. I use a copy of the startxwin.bat adding "-e ssh ... xsane" to the line "run xterm ...". No other differences. The dos window opens for a second, closes, then the xterm opens, at last xsane. When I close xsane, the xterm closes, too, and all seems to be done. As I wish it to be. But the X server stays running, its logo lingers in the systray. I have to shut it by a series of 3 clicks. No alt-f4. If I don't do so, I get another X server the next time I start my xsane batch. There's some cleaning up mechanism at the start of startxwin.bat, but it doesn't seem to be helpful. How can I check for a running X server, so my batch doesn't start a new one? Or how can I close the X server at the close of the batch? I haven't found any faq or documentation item to answer my question. Please be forgiving if I haven't looked for the terms proper. Greetings Volker -- Volker Lenhardt E-Mail: [EMAIL PROTECTED]