wineserver
Wine kernel daemon that backs each Wine prefix
TLDR
SYNOPSIS
wineserver [options]
DESCRIPTION
wineserver is a daemon that provides Wine with roughly the same services the Windows kernel provides on Windows: process and thread management, synchronization, registry, and other kernel objects shared by every wine process in a prefix.wine starts wineserver automatically, so you rarely need to launch it yourself. Explicit use is for shutting a prefix down (--kill), waiting for a clean exit (--wait), keeping the daemon alive between short-lived programs (--persistent), or debugging the server (--foreground, --debug).All Wine processes that share a WINEPREFIX talk to the same wineserver instance. Distinct prefixes are independent sessions.
PARAMETERS
-d[n], --debug[=n]
Debug level: 0 (none), 1 (normal, default if n is omitted), 2 (verbose). Output goes to stderr. wine turns on normal debugging automatically when WINEDEBUG includes +server.-f, --foreground
Stay in the foreground (useful when running under a debugger).-h, --help
Display a help message.-k[n], --kill[=n]
Kill the running wineserver for this WINEPREFIX. Sends signal n if given; otherwise SIGINT then SIGKILL.-p[n], --persistent[=n]
How long the server stays up after all clients exit, in seconds (default 3). If n is omitted, the server stays until killed.-v, --version
Display version information and exit.-w, --wait
Wait until the currently running wineserver terminates.
ENVIRONMENT
WINEPREFIX
Directory where this wineserver stores its data (default $HOME/.wine). Selects which running instance --kill and --wait affect.
FILES
~/.wine
Default prefix directory for user-specific Wine data./tmp/.wine-uid
Directory holding the server Unix socket and lock file, in a subdirectory derived from the WINEPREFIX device and inode.
INSTALL
CAVEATS
Killing wineserver aborts every Wine process in that prefix. Debug output on stderr can be large at level 2. Persistence only delays shutdown; it does not replace a running server started by wine. The instance --kill and --wait target is the one for the current WINEPREFIX, not every wineserver on the machine.
HISTORY
The original author of wineserver is Alexandre Julliard. It is the kernel-side counterpart of Wine, which began in 1993 as a Windows API implementation for Unix.
