2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
4 Service manifest for the Xvnc service, when run from inetd(1M)
6 Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
8 Permission is hereby granted, free of charge, to any person obtaining a
9 copy of this software and associated documentation files (the "Software"),
10 to deal in the Software without restriction, including without limitation
11 the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 and/or sell copies of the Software, and to permit persons to whom the
13 Software is furnished to do so, subject to the following conditions:
15 The above copyright notice and this permission notice (including the next
16 paragraph) shall be included in all copies or substantial portions of the
19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25 DEALINGS IN THE SOFTWARE.
28 <service_bundle type='manifest' name='SUNWxwplr:vnc'>
31 name='application/x11/xvnc-inetd'
35 <create_default_instance enabled='false' />
38 <service_fmri value='svc:/network/inetd:default' />
42 Set a timeout of 0 to signify to inetd that we don't want to
43 timeout this service, since the forked process is the one that
44 does the service's work. This is the case for most/all legacy
45 inetd services; for services written to take advantage of SMF
46 capabilities, the start method should fork off a process to
47 handle the request and return a success code.
52 exec='/usr/bin/Xvnc -inetd -query localhost -once securitytypes=none'
55 <method_credential user='noaccess' group='noaccess' />
60 Use inetd's built-in kill support to disable services.
69 <property_group name='inetd' type='framework'>
70 <propval name='name' type='astring' value='vnc-server' />
71 <propval name='endpoint_type' type='astring' value='stream' />
72 <propval name='proto' type='astring' value='tcp' />
73 <propval name='wait' type='boolean' value='false' />
74 <propval name='isrpc' type='boolean' value='false' />
75 <propval name='action_authorization' type='astring'
76 value='solaris.smf.manage.x11' />
77 <propval name='value_authorization' type='astring'
78 value='solaris.smf.manage.x11' />
81 <stability value='External' />
85 <loctext xml:lang='C'>
86 X server that displays to VNC viewers
90 <manpage title='Xvnc' section='1'
91 manpath='/usr/share/man' />