3 Ü““iªã@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útigervnc-servercCsn|jdƒ|jdƒ}|ddkr`x>|djƒD].}|jƒ}|s@q.|j|dƒ|j|dƒq.W|jdƒdS)Nz/etc/tigervnc/z:systemctl list-units --type=service --no-legend vncserver*ZstatusrÚoutputzvncserver -list)Z add_copy_specZexec_cmdÚ splitlinesÚsplitZadd_service_statusZ add_journalZadd_cmd_output)ÚselfZvncsZservZvnc©r ú/usr/lib/python3.6/tigervnc.pyÚsetups  zTigerVNC.setupN)r)Ú__name__Ú __module__Ú __qualname__Ú__doc__Z short_descZ plugin_nameZpackagesr r r r r rs  rN)Zsos.report.pluginsrrrr r r r Ú s