o i©¹dªã@s&ddlmZmZGdd„deeƒZdS)é)ÚPluginÚ RedHatPluginc@s$eZdZdZdZdZdZdd„ZdS)ÚTigerVNCa‰ This plugin gathers information for VNC servers provided by the tigervnc package. This is explicitly for server-side collections, not clients. By default, this plugin will capture the contents of /etc/tigervnc, which may include usernames. If usernames are sensitive information for end users of sos, consider using the `--clean` option to obfuscate these names. zTigerVNC server configurationÚtigervnc)ztigervnc-servercCsj| d¡| d¡}|ddkr.|d ¡D]}| ¡}|sq| |d¡| |d¡q| d¡dS)Nz/etc/tigervnc/z:systemctl list-units --type=service --no-legend vncserver*ÚstatusrÚoutputzvncserver -list)Ú add_copy_specÚexec_cmdÚ splitlinesÚsplitÚadd_service_statusÚ add_journalÚadd_cmd_output)ÚselfÚvncsÚservÚvnc©rú=/usr/lib/python3/dist-packages/sos/report/plugins/tigervnc.pyÚsetups ÿ zTigerVNC.setupN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú short_descÚ plugin_nameÚpackagesrrrrrrs   rN)Úsos.report.pluginsrrrrrrrÚs