spiceqxl.xorg.conf.example revision 1.1 1 1.1 mrg Section "Device"
2 1.1 mrg Identifier "XSPICE"
3 1.1 mrg Driver "spiceqxl"
4 1.1 mrg
5 1.1 mrg # ---- Network and security options
6 1.1 mrg
7 1.1 mrg # Do not require a client password.
8 1.1 mrg # default: False
9 1.1 mrg #Option "SpiceDisableTicketing" "False"
10 1.1 mrg
11 1.1 mrg # Set the password required to connect to the Spice server.
12 1.1 mrg #Option "SpicePassword" ""
13 1.1 mrg
14 1.1 mrg # Enable usage of SASL supported by the spice-gtk client. Not required,
15 1.1 mrg # default: False
16 1.1 mrg #Option "SpiceSasl" "False"
17 1.1 mrg
18 1.1 mrg # Use Spice's regular unencrypted port. One of SpicePort or SpiceTlsPort
19 1.1 mrg # must be specified. SpicePort can also be set through the XSPICE_PORT
20 1.1 mrg # environment variable or the --port Xspice option.
21 1.1 mrg # Specify 0 to disable the use of the regular port
22 1.1 mrg # default: 5900
23 1.1 mrg #Option "SpicePort" "5900"
24 1.1 mrg
25 1.1 mrg # Use a TLS (encrypted) port. One of SpicePort or SpiceTlsPort must be
26 1.1 mrg # specified. SpiceTlsPort can also be set through the XSPICE_TLS_PORT
27 1.1 mrg # environment variable or the --tls-port Xspice option.
28 1.1 mrg #Option "SpiceTlsPort" "5900"
29 1.1 mrg
30 1.1 mrg # Set the directory where the CA certificate, server key and server
31 1.1 mrg # certificate are searched for TLS, using the same predefined names QEMU
32 1.1 mrg # uses:
33 1.1 mrg # cacert.pem, server-key.pem, server-cert.pem
34 1.1 mrg #Option "SpiceX509Dir" ""
35 1.1 mrg
36 1.1 mrg # Set the CA certificate file location for TLS.
37 1.1 mrg #Option "SpiceCacertFile" ""
38 1.1 mrg
39 1.1 mrg # Set the server key file location for TLS.
40 1.1 mrg #Option "SpiceX509KeyFile" ""
41 1.1 mrg
42 1.1 mrg # Set the server key's password for TLS.
43 1.1 mrg #Option "SpiceX509KeyPassword" ""
44 1.1 mrg
45 1.1 mrg # Set the server certificate file location for TLS.
46 1.1 mrg #Option "SpiceX509CertFile" ""
47 1.1 mrg
48 1.1 mrg # Set the server DH file location for TLS.
49 1.1 mrg #Option "SpiceDhFile" ""
50 1.1 mrg
51 1.1 mrg # Set the TLS ciphers preference order.
52 1.1 mrg #Option "SpiceTlsCiphers" ""
53 1.1 mrg
54 1.1 mrg # Listen to a specific interface.
55 1.1 mrg # default: Listen to all (0.0.0.0).
56 1.1 mrg #Option "SpiceAddr" ""
57 1.1 mrg
58 1.1 mrg # Set to True to only listen on IPv4 interfaces.
59 1.1 mrg # default: False
60 1.1 mrg #Option "SpiceIPV4Only" "False"
61 1.1 mrg
62 1.1 mrg # Set to True to only listen on IPv6 interfaces.
63 1.1 mrg # default: False
64 1.1 mrg #Option "SpiceIPV6Only" "False"
65 1.1 mrg
66 1.1 mrg # If set, the Spice server will exit when the first client disconnects.
67 1.1 mrg # default: False
68 1.1 mrg #Option "SpiceExitOnDisconnect" "True"
69 1.1 mrg
70 1.1 mrg
71 1.1 mrg # ---- Monitor configuration options
72 1.1 mrg
73 1.1 mrg # The number of heads to allocate by default.
74 1.1 mrg # default: 4
75 1.1 mrg #Option "NumHeads" "4"
76 1.1 mrg
77 1.1 mrg
78 1.1 mrg # ---- Compression options
79 1.1 mrg
80 1.1 mrg # Set zlib glz wan compression. Options are auto, never, always.
81 1.1 mrg # default: auto
82 1.1 mrg #Option "SpiceZlibGlzWanCompression" ""
83 1.1 mrg
84 1.1 mrg # Set jpeg wan compression. Options are auto, never, always.
85 1.1 mrg # default: auto
86 1.1 mrg #Option "SpiceJpegWanCompression" ""
87 1.1 mrg
88 1.1 mrg # Set image compression. Options are off, auto_glz, auto_lz, quic, glz, lz.
89 1.1 mrg # default: auto_glz
90 1.1 mrg #Option "SpiceImageCompression" ""
91 1.1 mrg
92 1.1 mrg # If non zero, the driver will render all operations to the frame buffer,
93 1.1 mrg # and keep track of a changed rectangle list. The changed rectangles
94 1.1 mrg # will be transmitted at the rate requested (e.g. 10 frames per second).
95 1.1 mrg # This can dramatically reduce network bandwidth for some use cases.
96 1.1 mrg #Option "SpiceDeferredFPS" "10"
97 1.1 mrg
98 1.1 mrg # Set the streaming video method. Options are filter, off, all.
99 1.1 mrg # default: filter
100 1.1 mrg #Option "SpiceStreamingVideo" ""
101 1.1 mrg
102 1.1 mrg # Sets a semicolon-separated list of preferred video codecs.
103 1.1 mrg # Each takes the form encoder:codec, with spice:mjpeg being the default,
104 1.1 mrg # and other options being provided by gstreamer for the mjpeg, vp8 and h264
105 1.1 mrg # codecs.
106 1.1 mrg #Option "SpiceVideoCodecs" ""
107 1.1 mrg
108 1.1 mrg # Enable caching of images directly written with uxa->put_image.
109 1.1 mrg # default: True
110 1.1 mrg #Option "EnableImageCache" "True"
111 1.1 mrg
112 1.1 mrg # Enable caching of images created by uxa->prepare_access.
113 1.1 mrg # default: True
114 1.1 mrg #Option "EnableFallbackCache" "True"
115 1.1 mrg
116 1.1 mrg # Enable the use of off-screen surfaces.
117 1.1 mrg # default: True
118 1.1 mrg #Option "EnableSurfaces" "True"
119 1.1 mrg
120 1.1 mrg
121 1.1 mrg # ---- Xspice-specific buffer options
122 1.1 mrg
123 1.1 mrg # Buffer Size notes:
124 1.1 mrg # The following buffer sizes are used for Xspice only.
125 1.1 mrg # If you are using the DFPS mode, surface ram is not used,
126 1.1 mrg # and you can set it to 1.
127 1.1 mrg # Otherwise, the surface buffer should be at least as large
128 1.1 mrg # as the frame buffer, and probably a multiple like 8.
129 1.1 mrg # The command buffer ram should also be substantially larger
130 1.1 mrg # than the frame buffer, and note that the frame buffer occupies
131 1.1 mrg # the front of the command buffer. Hence, our default size
132 1.1 mrg # is a command buffer 7x the size of the frame buffer.
133 1.1 mrg # If you see 'Out of memory' errors in your xorg.log, you probably need
134 1.1 mrg # to increase the surface or command buffer sizes.
135 1.1 mrg
136 1.1 mrg # The amount of surface buffer ram, in megabytes, to allocate.
137 1.1 mrg # default: 128
138 1.1 mrg #Option "SurfaceBufferSize" "128"
139 1.1 mrg
140 1.1 mrg # The amount of command buffer ram, in megabytes, to allocate.
141 1.1 mrg # default: 128
142 1.1 mrg #Option "CommandBufferSize" "128"
143 1.1 mrg
144 1.1 mrg # The amount of frame buffer ram, in megabytes, to reserve
145 1.1 mrg # This is reserved out of the CommandBuffer RAM
146 1.1 mrg # This governs the maximum size the X screen can be;
147 1.1 mrg # 4 Heads at 1920x1080 require 32M of RAM
148 1.1 mrg # default: 16
149 1.1 mrg #Option "FrameBufferSize" "16"
150 1.1 mrg
151 1.1 mrg
152 1.1 mrg # ---- VDAgent options
153 1.1 mrg
154 1.1 mrg # Whether or not to accept Vdagent connections.
155 1.1 mrg # default: False
156 1.1 mrg #Option "SpiceVdagentEnabled" "False"
157 1.1 mrg
158 1.1 mrg # Default path to listen for agent virtual io connections.
159 1.1 mrg # default: /tmp/xspice-virtio"
160 1.1 mrg #Option "SpiceVdagentVirtioPath" "/tmp/xspice-virtio"
161 1.1 mrg
162 1.1 mrg # Default path to listen for agent uinput connections.
163 1.1 mrg # default: /tmp/xspice-uinput
164 1.1 mrg #Option "SpiceVdagentUinputPath" "/tmp/xspice-uinput"
165 1.1 mrg
166 1.1 mrg # Default user id to set for the Virtio and Uinput sockets.
167 1.1 mrg # Note: both uid and gid must be given for either to take effect.
168 1.1 mrg # default: 0, or none
169 1.1 mrg #Option "SpiceVdagentUid" "0"
170 1.1 mrg
171 1.1 mrg # Default group id to set for the Virtio and Uinput sockets.
172 1.1 mrg # Note: both uid and gid must be given for either to take effect.
173 1.1 mrg # default: 0, or none
174 1.1 mrg #Option "SpiceVdagentGid" "0"
175 1.1 mrg
176 1.1 mrg # Set Spice Agent Mouse - Use Agent mouse if an agent connects.
177 1.1 mrg # default: True
178 1.1 mrg #Option "SpiceAgentMouse" "True"
179 1.1 mrg
180 1.1 mrg # Set Spice Playback compression.
181 1.1 mrg # default: True
182 1.1 mrg #Option "SpicePlaybackCompression" "True"
183 1.1 mrg
184 1.1 mrg # Disable copy and paste.
185 1.1 mrg # default: False
186 1.1 mrg #Option "SpiceDisableCopyPaste" "False"
187 1.1 mrg
188 1.1 mrg # If a directory is given, any file in that directory will be read
189 1.1 mrg # for audio data to be sent to the client.
190 1.1 mrg # default: Not set.
191 1.1 mrg #Option "SpicePlaybackFIFODir" "/tmp/"
192 1.1 mrg
193 1.1 mrg # A unix domain name for a unix domain socket to communicate with
194 1.1 mrg # a spiceccid smartcard driver.
195 1.1 mrg # default: Not set.
196 1.1 mrg #Option "SpiceSmartCardFile" "/tmp/spice.pcsc.comm"
197 1.1 mrg EndSection
198 1.1 mrg
199 1.1 mrg Section "InputDevice"
200 1.1 mrg Identifier "XSPICE POINTER"
201 1.1 mrg Driver "xspice pointer"
202 1.1 mrg EndSection
203 1.1 mrg
204 1.1 mrg Section "InputDevice"
205 1.1 mrg Identifier "XSPICE KEYBOARD"
206 1.1 mrg Driver "xspice keyboard"
207 1.1 mrg EndSection
208 1.1 mrg
209 1.1 mrg Section "Monitor"
210 1.1 mrg Identifier "Configured Monitor"
211 1.1 mrg EndSection
212 1.1 mrg
213 1.1 mrg Section "Screen"
214 1.1 mrg Identifier "XSPICE Screen"
215 1.1 mrg Monitor "Configured Monitor"
216 1.1 mrg Device "XSPICE"
217 1.1 mrg DefaultDepth 24
218 1.1 mrg EndSection
219 1.1 mrg
220 1.1 mrg Section "ServerLayout"
221 1.1 mrg Identifier "XSPICE Example"
222 1.1 mrg Screen "XSPICE Screen"
223 1.1 mrg InputDevice "XSPICE KEYBOARD"
224 1.1 mrg InputDevice "XSPICE POINTER"
225 1.1 mrg EndSection
226 1.1 mrg
227 1.1 mrg # Prevent udev from loading vmmouse in a vm and crashing.
228 1.1 mrg Section "ServerFlags"
229 1.1 mrg Option "AutoAddDevices" "False"
230 1.1 mrg EndSection
231