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

[Feature]: VNC PASSWORD #937

Open
tacal666 opened this issue Nov 30, 2024 · 1 comment
Open

[Feature]: VNC PASSWORD #937

tacal666 opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tacal666
Copy link

Is your proposal related to a problem?

is it possible to make a password to vnc access through the web port 8006 ?

Describe the solution you'd like.

vncpasswd

Describe alternatives you've considered.

vnc_passwd

Additional context

No response

@tacal666 tacal666 added the enhancement New feature or request label Nov 30, 2024
@Czj1997-02
Copy link

you can use nginx to set password

sudo apt update
apt install apache2-utils
sudo htpasswd -c /etc/nginx/.htpasswd <your username>
server {
    listen 8007;
    server_name localhost;
    location / {
        proxy_pass http://localhost:8006;
        auth_basic "Restricted Content";
        auth_basic_user_file /etc/nginx/.htpasswd;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}

then, restart

service nginx restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants