Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pyvirtualdisplay/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pyvirtualdisplay/__pycache__/xvnc.cpython-311.pyc

�

�܋f}��Z�ddlZddlmZeje��ZdZGd�de��ZdS)�N)�AbstractDisplay�Xvncc	�8�eZdZdZdddddddgd	f	d
�Zd�Zd�ZdS)
�XvncDisplayz
    Xvnc wrapper
    )ii��blackFiN�
Tc
��||_||_||_||_||_tj|t||||	���dS)au
        :param bgcolor: 'black' or 'white'
        :param rfbport: Specifies the TCP port on which Xvnc listens for connections from viewers
        (the protocol used in VNC is called RFB - "remote framebuffer").
        The default is 5900 plus the display number.
        :param rfbauth: Specifies the file containing the password used to authenticate viewers.
        )�	use_xauth�retries�
extra_args�manage_global_envN)�_size�_color_depth�_bgcolor�_rfbport�_rfbauthr�__init__�PROGRAM)
�self�size�color_depth�bgcolorr�rfbport�rfbauthrr
rs
          �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyvirtualdisplay/xvnc.pyrzXvncDisplay.__init__s^��&��
�'�����
���
���
�� �����!�/�
	
�	
�	
�	
�	
�	
�c��dS)N�)r�helptexts  r�_check_flagszXvncDisplay._check_flags1s���rc	�H�tdt|j��dd|jd|jdfzdt|j��g}|jr|dt|j��gz
}n|dd	gz
}|jr|d
t|j��gz
}n||jgz
}|S)Nz-depthz	-geometryz%dx%dr�z-rfbportz-rfbauthz-SecurityTypes�Nonez
-displayfd)	r�strrrrr�_has_displayfd�	_pipe_wfd�new_display_var)r�cmds  r�_cmdzXvncDisplay._cmd4s�������!�"�"���t�z�!�}�d�j��m�4�4����
���
���=�	.��J��D�M� 2� 2�3�3�C�C�
�$�f�-�-�C���	*��L�#�d�n�"5�"5�6�6�C�C��D�(�)�)�C��
r)�__name__�
__module__�__qualname__�__doc__rr!r*rrrrr
sn����������������� 
� 
� 
� 
�D
�
�
�����rr)�logging� pyvirtualdisplay.abstractdisplayr�	getLoggerr+�logrrrrr�<module>r3su������<�<�<�<�<�<��g���!�!��
��@�@�@�@�@�/�@�@�@�@�@r

Hacked By AnonymousFox1.0, Coded By AnonymousFox