
    -_g                     ,    d dl mZmZ  G d dee      Zy)    )PluginRedHatPluginc                   "    e Zd ZdZdZdZdZd Zy)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.
    zTigerVNC server configurationtigervnc)ztigervnc-serverc                     | j                  d       | j                  d      }|d   dk(  rS|d   j                         D ]=  }|j                         }|s| j	                  |d          | j                  |d          ? | j                  d       y )Nz/etc/tigervnc/z:systemctl list-units --type=service --no-legend vncserver*statusr   outputzvncserver -list)add_copy_specexec_cmd
splitlinessplitadd_service_statusadd_journaladd_cmd_output)selfvncsservvncs       =/usr/lib/python3/dist-packages/sos/report/plugins/tigervnc.pysetupzTigerVNC.setup   s    +, }}H
 >QX113 )jjl''A/  Q() 	-.    N)__name__
__module____qualname____doc__
short_descplugin_namepackagesr    r   r   r   r      s     1JK#H/r   r   N)sos.report.pluginsr   r   r   r    r   r   <module>r"      s    4/v| /r   