Answer the question
In order to leave comments, you need to log in
How to connect to ubuntu 20.04 via vnc built into a windows 10 system without disabling encryption?
Good day, I have a question with VNC connection. In ubuntu, namely 20.04, it is possible to regularly (through the system settings) connect to a computer via the VNC protocol, but none of the programs and settings in them support the ability to connect to ubuntu without additional settings for ubuntu itself. Therefore, advise a program for connecting via VNC to ubuntu with the following criteria:
1. From the ubuntu side , the password and VNC encryption will not be disabled, which interferes
2. From the windows side, you do not need to dance with a tambourine, that is, you installed the program, entered the address and off you go let's go.
What clients I've tested: UltraVNC, TurboVNC, RealVNC(VNC connect), ThinVNC and none of them could connect
What client connects: Remmina, but not on Windows.
Accordingly, third-party VNC servers are also not considered.
Answer the question
In order to leave comments, you need to log in
I can’t tell you about the built-in solution, you can try to configure UltraVNC yourself.
You can configure it by connecting to ubuntu via ssh. To do this, on ubuntu, make the following settings:
1. Sudo apt-get update
2. Sudo apt-get install ssh - Install OpenSSH (everything can connect to the terminal through the PuTTY program running on windows). The default port is 22.
a. Sudo service ssh stop|start|restart - When installed, the SSH server is automatically added to startup. Control its start, stop or restart
b. The main configuration file of the SSH server is the file /etc/ssh/sshd_config
Next, via ssh or in the linux terminal, configure UltraVNC
a. sudo apt-get remove vino - remove vino
b. sudo apt-get install x11vnc - install x11vnc
c. x11vnc –storepasswd – set a password for logging into UltraVNC, the password is written to the file /home/USERNAME/.vnc/passwd
i. go to the folder cd ~/.vnc
ii. give read permissions for all three groups to the file with the password sudo chmod +r passwd
d. create a script to automatically start x11vnc
i. cd /usr/sbin - go to the folder where we save the script
ii. sudo nano x11vnc.sh - write the following lines into it, then press ^O (save written) ^X (exit)
#!/bin/sh
description "x11vnc" start on runlevel [2345] stop on runlevel [^2345]
console log respawn respawn limit 20 5
exec /usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/ИМЯПОЛЬЗОВАТЕЛЯ/.vnc/passwd -rfbport 5900 -shared
Maybe one of these would work? VNC server autoinstallers and autotuners on linux
https://github.com/lesliesuhm/VNC-Server-AAI
https://github.com/Har-Kuun/OneClickDesktop
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question