Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logic to determine if vncserver is TigerVNC #32

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

cmd-ntrf
Copy link
Contributor

@cmd-ntrf cmd-ntrf commented May 9, 2023

The extension currently looks first is the executable vncserver is available in PATH. If it is, this what the extension will use and otherwise the extension the tigervnc bundled with the package.

The arguments (i.e.: vnc_args) provided to vncserver executable are also determined based on wether the executable comes from the system or the package bundle. However, it is possible that the vncserver provided by the system is also TigerVNC and that it could benefits from the same arguments as when using the bundled vncserver.

This PR splits that logic in two. First, we determine if vncserver can be provided by the system, then we determine if vncserver is TigerVNC or something else. Determining if vncserver is TigerVNC is a simple matter of looking for a string inside the perl script that is vncserver.

@welcome
Copy link

welcome bot commented May 9, 2023

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@github-actions
Copy link

github-actions bot commented May 9, 2023

Binder 👈 Launch a binder notebook on this branch for commit 8285929

@github-actions
Copy link

github-actions bot commented May 9, 2023

Binder 👈 Launch a binder notebook on this branch for commit 990faf9

@consideRatio consideRatio merged commit b4dbd68 into jupyterhub:main Jun 2, 2023
@consideRatio
Copy link
Member

Wieee nice @cmd-ntrf!!! ❤️ 🎉 thank you soo much for super clear PR and relevant comments to help with long term maintenance!!!

@yuvipanda yuvipanda added the enhancement New feature or request label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants