I'm programming in UNIX, so I'm using Cygwin. But functions of IPC does not work on it, just in Cygserver. How can I install it? I'm looked in google and did not find any concrete information.

Thanks for your time :)

  • Which IPC library are you using?
    – David
    Apr 5, 2014 at 16:21
  • I don't know, I just installed the cygwin with all the devel and linus packages
    – Nelson
    Apr 5, 2014 at 18:57
  • I sorry but your question is very vague, and incomplete. Cygwin is a compatibility layer for Windows, namely so you can use fork() calls. IPC is a very general term. Have you written code on Linux/Unix and are trying to port it over to Windows? What is working where and what is not? IPC stands for Inter-Process Communication--it is a generic term, and you need to provide much more detail. Some code, and some of the actual errors would be helpful.
    – David
    Apr 5, 2014 at 19:47
  • Sorry for my question, I will elaborate more. I need to use function like semaphores, shared memory management in UNIX, and I would like to do it in the Windows with cygwin (because installing Ubuntu with Windows 8 is very difficult). But Cygwin does not support these type of function, only cygserver. The problem is that I don't know what is Cygserver, and I didn't found any precise information on the Cygwin site.
    – Nelson
    Apr 5, 2014 at 19:51
  • Well, you probably want to start here: pubs.opengroup.org/onlinepubs/009696799/mindex.html Semaphores are in here: pubs.opengroup.org/onlinepubs/009696799/basedefs/contents.html From what I found, cygserver uses XSI IPC. Perhaps you might find running a virtual machine of Ubuntu easier. Otherwise, this is well beyond me. Good luck.
    – David
    Apr 5, 2014 at 22:47

3 Answers 3


Cygserver is actually part of the base cygwin package that every Cygwin user has installed.


$ cygcheck -f /usr/sbin/cygserver

$ cygcheck -f /usr/bin/cygserver-config

So you already have it installed, but you need to configure it:

  1. Launch "Cygwin Terminal" "as Administrator"

  2. $ cygserver-config


$ cygserver-config
Generating /etc/cygserver.conf file

Warning: The following function requires administrator privileges!

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes

The service has been installed under LocalSystem account.
To start it, call `net start cygserver' or `cygrunsrv -S cygserver'.

Further configuration options are available by editing the configuration
file /etc/cygserver.conf.  Please read the inline information in that
file carefully. The best option for the start is to just leave it alone.

Basic Cygserver configuration finished. Have fun!

Note that in addition to the To start it instructions:

  1. It will automatically start at boot
  2. You can start and stop it (or disable it) under services.msc

Usage and installation of cygserver is fully explained in its own page of the Cygwin User Guide.


step1: check "cygrunsrv.exe" on your system under c:\cygwin\bin? step2 : if not see "cygrunsrv.exe" on system under c:\cygwin\bin select package 'sygrunsrv:NT/W2K service initiator' and install


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.