[OpenIndiana-discuss] Desktop Painpoints

Rolf M. Dietze rmd at orbit.in-berlin.de
Wed Feb 5 14:20:48 UTC 2025



>> On the OI box with 30 xdmcp called x-sessions, if one user runs over the
>> max-lwps boundary, all x-sessions of all 30 users get killed in that
>> case.
>>
>
> That's not right. Are you running xdm as an SMF service?
it is, manifest as follows:

<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">

<service_bundle type='manifest' name='xdm'>

<service
     name='application/graphical-login/xdm'
     type='service'
     version='1'>

         <dependency
             name='filesystem'
             grouping='require_all'
             restart_on='none'
             type='service'>
                 <service_fmri value='svc:/system/filesystem/local'/>
         </dependency>

         <dependency name='multi-user'
             grouping='require_all'
             restart_on='error'
             type='service'>
                 <service_fmri value='svc:/milestone/multi-user:default'/>
         </dependency>

         <dependency
             name='sysconfig'
             grouping='require_all'
             restart_on='none'
             type='service'>
                 <service_fmri value='svc:/milestone/sysconfig'/>
         </dependency>

         <dependency
             name='fc-cache'
             grouping='require_all'
             restart_on='none'
             type='service'>
                 <service_fmri value='svc:/application/font/fc-cache'/>
         </dependency>

         <dependency
             name='utmpx'
             grouping='require_all'
             restart_on='none'
             type='service'>
                 <service_fmri value='svc:/system/utmp'/>
         </dependency>

         <dependency
             name='x11-init'
             grouping='require_all'
             restart_on='none'
             type='service'>
                 <service_fmri value='svc:/application/x11/x11-init'/>
         </dependency>

         <exec_method
             type='method'
             name='start'
             exec='/usr/sbin/xdm'
             timeout_seconds='60' />

         <exec_method
             type='method'
             name='stop'
             exec=':kill'
             timeout_seconds='60' />

         <instance name='default' enabled='false' />
         <stability value='Unstable' />
         <template>
                 <common_name>
                         <loctext xml:lang='C'>
                                 X display manager
                         </loctext>
                 </common_name>
                 <documentation>
                         <manpage title='xdm' section='1'
                                 manpath='/usr/share/man' />
                 </documentation>
         </template>
</service>
</service_bundle>

>
> Looking at the SMF manifest is oi-userland, it doesn't have any ignore_error
> properties set, so if that's being used then SMF will spot the error (any
> error)
> and restart xdm and all its children. Fixing the manifest ought to be easy
> enough.
>

>> so, adding to the wishlist:)
>>   - please put back the libraries needed for sunray on OI
>>   - sparc port of OI (why was sparc removed anyway?)
>>
>
> SPARC was removed from illumos because it didn't work, wasn't tested, kept
> being broken unintentionally, and was generally getting in the way. But
> that's not
> relevant, as there are still active ports of both OpenIndiana and Tribblix
> for
> SPARC (and I'm using xdm on my T4).
>
> https://illumos.topicbox.com/groups/sparc

That is http://www.tribblix.org/download.html#sparc ?

I will give that a try, thanks for the info

/Rolf




More information about the openindiana-discuss mailing list