a Ö>ïhªã@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 configurationZtigervnc)ztigervnc-servercCsj| d¡| d¡}|ddkr\|d ¡D].}| ¡}|s>q,| |d¡| |d¡q,| d¡dS)Nz/etc/tigervnc/z:systemctl list-units --type=service --no-legend vncserver*ÚstatusrÚoutputzvncserver -list)Z add_copy_specZexec_cmdÚ splitlinesÚsplitZadd_service_statusZ add_journalZadd_cmd_output)ÚselfZvncsZservZvnc©r ú?/usr/lib/python3.9/site-packages/sos/report/plugins/tigervnc.pyÚsetups ÿ zTigerVNC.setupN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Z short_descZ plugin_nameZpackagesr r r r r rs  rN)Zsos.report.pluginsrrrr r r r Ú s