wineserver − the Wine server


wineserver [options]


wineserver is a daemon process that provides to Wine roughly the same services that the Windows kernel provides on Windows.

wineserver is normally launched automatically when starting wine(1), so you shouldn’t have to worry about it. In some cases however, it can be useful to start wineserver explicitly with different options, as explained below.


−d[n], --debug[=n]

Set the debug level to n. 0 means no debugging information, 1 is the normal level, and 2 is for extra verbose debugging. If n is not specified, the default is 1. The debug output will be sent to stderr. wine(1) will automatically enable normal level debugging when starting wineserver if the +server option is set in the WINEDEBUG variable.

−f, --foreground

Make the server remain in the foreground for easier debugging, for instance when running it under a debugger.

−h, --help

Display a help message.

−k[n], --kill[=n]

Kill the currently running wineserver, optionally by sending signal n. If no signal is specified, sends a SIGINT first and then a SIGKILL. The instance of wineserver that is killed is selected based on the WINEPREFIX environment variable.

−p[n], --persistent[=n]

Specify the wineserver persistence delay, i.e. the amount of time that the server will keep running when all client processes have terminated. This avoids the cost of shutting down and starting again when programs are launched in quick succession. The timeout n is in seconds, the default value is 3 seconds. If n is not specified, the server stays around forever.

−v, --version

Display version information and exit.

−w, --wait

Wait until the currently running wineserver terminates.



If set, the content of this variable is taken as the name of the directory where wineserver stores its data (the default is $HOME/.wine). All wine processes using the same wineserver (i.e.: same user) share certain things like registry, shared memory and kernel objects. By setting WINEPREFIX to different values for different Wine processes, it is possible to run a number of truly independent Wine sessions.


Specifies the path and name of the wineserver binary that will be launched automatically by wine. If not set, wine will try to load /usr/bin/wineserver, and if this doesn’t exist it will then look for a file named wineserver in the path and in a few other likely locations.



Directory containing user specific data managed by wine.


Directory containing the server Unix socket and the lock file. These files are created in a subdirectory generated from the WINEPREFIX directory device and inode numbers.


The original author of wineserver is Alexandre Julliard. Many other people have contributed new features and bug fixes. For a complete list, see the git commit logs.


Bugs can be reported on the ("") Wine bug tracker.


wineserver is part of the Wine distribution, which is available through WineHQ, the ("") Wine development headquarters.


("") Wine documentation and support.

More Linux Commands

mvinnwstr(3ncurses) - get a string of wchar_t characters fro
These routines return a string of wchar_t characters in wstr, extracted starting at the current cursor position in the named window. Attributes are stripped fro

XGetMotionEvents(3) - send events and pointer motion history
The XSendEvent function identifies the destination window, determines which clients should receive the specified events, and ignores any active grabs. This func

mq_open.3 - mq_open(3) - open a message queue - Linux manual page.......
mq_open() creates a new POSIX message queue or opens an existing queue. The queue is identified by name. For details of the construction of name, see mq_overvie

gnutls_certificate_free_crls(3) - API function (Man Page)...
This function will delete all the CRLs associated with the given credentials. REPORTING BUGS Report bugs to <>. GnuTLS home page: http://www.g

ExtUtils::Command(3pm) - utilities to replace common UNIX co
The module is used to replace common UNIX commands. In all cases the functions work from @ARGV rather than taking arguments. This makes them easier to deal with

Xvfb(1) - virtual framebuffer X server for X Version 11.....
Xvfb is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory. The pr

This function can be used to set a callback to retrieve the username and password for client SRP authentication. The callbacks function form is: int (*callback)

memory(n) - Control Tcl memory debugging capabilities.......
The memory command gives the Tcl developer control of Tcls memory debugging capabilities. The memory command has several suboptions, which are described below.

XkbResizeKeyType(3) - Change the number of levels in a key t
XkbResizeKeyType changes the type specified by xkb->map->types[type_ndx], and reallocates the symbols and actions bound to all keys that use the type, if necess

getw(3) - input and output of words (ints) - Linux man page
getw() reads a word (that is, an int) from stream. Its provided for compatibility with SVr4. We recommend you use fread(3) instead. putw() writes the word w (th

aconnect(1) - ALSA sequencer connection manager (Man Page)
aconnect is a utility to connect and disconnect two existing ports on ALSA sequencer system. The ports with the arbitrary subscription permission, such as creat

partx(8) - tell the Linux kernel about the presence and numb
Given a device or disk-image, partx tries to parse the partition table and list its contents. It optionally adds or removes partitions. The disk argument is opt

We can't live, work or learn in freedom unless the software we use is free.