> Hey guys, > > Total newbie here in relation to not only cygwin & cygwin/X but also to > UNIX... I'm a total windows slave. > > Anyway I've been given the delightful task of trying to configure cygwin > and > cygwin/X server for use on our systems. But I've run into a wall. Well > actually quite a few really but I'll get to the point of the first one... > > How do I enable cygwin/X server as a service on Windows 2k & XP? I've > read > the help files and FAQ but although it said to use the cygserver-config > script I'm at a lost as to how to do that. > > All I need for the moment is the ability to start the server first. The > rest I'll ask about later (if people are kind)
You may want to be a bit more specific about what you're trying to do. As others have said, if you want to run X-based applications in Windows, you need to use startxwin to start X. I've created an entry in my Startup folder that runs X for me. From there, I can run X-based applications. X runs in user space rather than as a server application. The way typical X-windows users see things is that program that runs under startxwin is the client application, not the server. Server applications for X-Windows are running programs (like xterm, emacs, etc.). This may seem like a role reversal, but there's a reason for that - the program producing the information is the server and the program displaying it is the client. So, if I want to display an xterm on my.host.com, I can do that by telling xterm -display my.host.com:0. That will cause xterm to serve itself to the X client on my.host.com instance 0. If the client allows the server to display information, the window will appear. If not, the server will get a rejection notice. If the client rejects, the user can tell the client to accept connections by using "xhost +my.other.host.com". For more information, see... man xterm man xhost I hope this helps. -- 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/