HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/tigervnc.cpython-310.pyc
o

-�_g��@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�<module>s