blob: ae0e19f9ed571cf371303967b3678cb999657523 [file] [log] [blame]
Alexandre Julliard79b387d2005-09-27 10:56:47 +00001.\" -*- nroff -*-
Alexandre Julliard12a74992005-10-06 16:10:01 +00002.TH WINESERVER 1 "October 2005" "@PACKAGE_STRING@" "Windows on Unix"
Alexandre Julliard79b387d2005-09-27 10:56:47 +00003.SH NAME
4wineserver \- the Wine server
5.SH SYNOPSIS
6.BI wineserver\ [options]
7.SH DESCRIPTION
8.B wineserver
9is a daemon process that provides to Wine roughly the same services
10that the Windows kernel provides on Windows.
11.PP
12.B wineserver
13is normally launched automatically when starting \fBwine(1)\fR, so you
14shouldn't have to worry about it. In some cases however, it can be
15useful to start \fBwineserver\fR explicitly with different options, as
16explained below.
17.SH OPTIONS
18.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060019.BI \-d [n] ,\ --debug [=n]
Alexandre Julliard79b387d2005-09-27 10:56:47 +000020Set the debug level to
21.I n.
220 means no debugging information, 1 is the normal level, and 2 is for
23extra verbose debugging. If
24.I n
25is not specified, the default is 1. The debug output will be sent to
26stderr. \fBwine(1)\fR will automatically set the debug level when
27starting \fBwineserver\fR if the +server option is set in the
28WINEDEBUG variable.
29.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060030.B \-f, --foreground
Alexandre Julliard79b387d2005-09-27 10:56:47 +000031Make the server remain in the foreground for easier debugging, for
32instance when running it under a debugger.
33.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060034.B \-h, --help
Alexandre Julliard79b387d2005-09-27 10:56:47 +000035Display a help message.
36.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060037.BI \-k [n] ,\ --kill [=n]
Alexandre Julliard79b387d2005-09-27 10:56:47 +000038Kill the currently running
39.B wineserver,
40optionally by sending signal \fIn\fR. If no signal is specified, sends
41a SIGINT first and then a SIGKILL. The instance of \fBwineserver\fR
42that is killed is selected based on the WINEPREFIX environment
43variable.
44.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060045.BI \-p [n] ,\ --persistent [=n]
Alexandre Julliard79b387d2005-09-27 10:56:47 +000046Specify the \fBwineserver\fR persistence delay, i.e. the amount of
47time that the server will keep running when all client processes have
48terminated. This avoids the cost of shutting down and starting again
49when programs are launched in quick succession. The timeout \fIn\fR is
50in seconds, the default value is 3 seconds. If \fIn\fR is not
51specified, the server stays around forever.
52.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060053.B \-v, --version
Alexandre Julliard79b387d2005-09-27 10:56:47 +000054Display version information and exit.
55.TP
Vitaliy Margolen67daa7f2008-05-21 17:58:58 -060056.B \-w, --wait
Alexandre Julliard79b387d2005-09-27 10:56:47 +000057Wait until the currently running
58.B wineserver
59terminates.
60.SH ENVIRONMENT VARIABLES
61.TP
62.I WINEPREFIX
63If set, the content of this variable is taken as the name of the directory where
64.B wineserver
65stores its data (the default is \fI$HOME/.wine\fR). All
66.B wine
67processes using the same
68.B wineserver
69(i.e.: same user) share certain things like registry, shared memory
70and kernel objects.
71By setting
72.I WINEPREFIX
73to different values for different Wine processes, it is possible to
74run a number of truly independent Wine sessions.
75.TP
76.I WINESERVER
77Specifies the path and name of the
78.B wineserver
79binary that will be launched automatically by \fBwine\fR. If not set,
80\fBwine\fR will try to load
81.I @bindir@/wineserver,
82and if this doesn't exist it will then look for a file named
83\fIwineserver\fR in the path and in a few other likely locations.
84.SH FILES
85.TP
86.B ~/.wine
87Directory containing user specific data managed by
88.B wine.
89.TP
90.BI /tmp/.wine- uid
91The directory containing the server Unix socket and the lock
92file. These files are created in a subdirectory generated from the
93WINEPREFIX directory device and inode numbers.
94.SH AUTHORS
95The original author of
96.B wineserver
97is Alexandre Julliard. Many other people have contributed new features
98and bug fixes. Please check the file Changelog in the Wine
99distribution for the complete details.
100.SH BUGS
101If you find a bug, please submit a bug report at
102.UR http://bugs.winehq.org
103.B http://bugs.winehq.org.
104.UE
105.SH AVAILABILITY
106.B wineserver
107is part of the Wine distribution, which is available through WineHQ,
108the Wine development headquarters, at
109.UR http://www.winehq.org/
110.B http://www.winehq.org/.
111.UE
112.SH "SEE ALSO"
113.BR wine (1).