tech:notes_vnc
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_vnc [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:notes_vnc [2026/06/30 21:56] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes VNC | ||
| + | |||
| + | Voir aussi : | ||
| + | * [ssvnc](http:// | ||
| + | * xdmcp (Autre protocole) | ||
| + | |||
| + | Alternatives : | ||
| + | * < | ||
| + | |||
| + | |||
| + | ## Client TightVNC | ||
| + | |||
| + | Install sur Debian | ||
| + | ~~~bash | ||
| + | apt-get install xtightvncviewer | ||
| + | ~~~ | ||
| + | |||
| + | Enable / Disable full screen \ | ||
| + | Ctrl + Alt + Shift + F | ||
| + | |||
| + | |||
| + | ## Client SSVNC (TightVNC over SSH SSL/TLS) | ||
| + | |||
| + | Exemple de conf VNC over SSH | ||
| + | |||
| + | | | | | ||
| + | | ------------------ | --------------------- | | ||
| + | | VNC Host Display | ||
| + | | Proxy/ | ||
| + | | Remote SSH Command | ssh juan@127.0.0.1 | ||
| + | | Use SSH | ✓ | | ||
| + | |||
| + | |||
| + | `profiles/ | ||
| + | ~~~ini | ||
| + | [connection] | ||
| + | host=process@192.168.10.4 | ||
| + | port=5900 | ||
| + | proxyhost= | ||
| + | proxyport= | ||
| + | disp=process@192.168.10.4 | ||
| + | |||
| + | [options] | ||
| + | use_ssh=1 | ||
| + | use_ssl=0 | ||
| + | ~~~ | ||
| + | |||
| + | **Notes : ** l' | ||
| + | |||
| + | |||
| + | ## Serveur TightVNC | ||
| + | |||
| + | Install | ||
| + | ~~~bash | ||
| + | sudo apt-get install tightvncserver | ||
| + | ~~~ | ||
| + | |||
| + | Lancer le serveur | ||
| + | ~~~bash | ||
| + | tightvncserver | ||
| + | ~~~ | ||
| + | |||
| + | Au premier lancement, les fichiers suivants serons crées : | ||
| + | * ~/ | ||
| + | * ~/ | ||
| + | |||
| + | Arrêt du serveur | ||
| + | ~~~bash | ||
| + | vncserver -kill :1 | ||
| + | ~~~ | ||
| + | |||
| + | Le serveur est-il démarré | ||
| + | ~~~bash | ||
| + | ps -ef | grep Xtightvnc | ||
| + | ~~~ | ||
| + | |||
| + | Voir logs : | ||
| + | * ~/ | ||
| + | * ~/ | ||
| + | |||
| + | ### Wayland | ||
| + | |||
| + | Voir VNC [[Notes Wayland]] | ||
| + | |||
| + | ### Pb | ||
| + | |||
| + | #### Erreur : Oh no! Something has gone wrong | ||
| + | https:// | ||
| + | |||
| + | Le problème viendrait de libfltk | ||
| + | |||
| + | #### vnc Failed to recv data from socket | ||
| + | |||
| + | Sur Ultra VNC cocher - **Multi viewer connections** - **Disconnect all existing connections** | ||
| + | |||
| + | #### Xlib: extension " | ||
| + | |||
| + | Cela peut venir si vous lancer un server VNC sous Wayland | ||
| + | |||
| + | Une solution est de désactiver Wayland | ||
| + | Voir Désactiver Wayland et repasser à Xorg [[Notes Wayland]] | ||
| + | |||
| + | ## Serveur x11vnc | ||
| + | |||
| + | Voir https:// | ||
| + | |||
| + | ~~~bash | ||
| + | x11vnc -storepasswd P@ssw0rd ~/ | ||
| + | ~~~ | ||
| + | |||
| + | Exemple | ||
| + | ~~~bash | ||
| + | #x11vnc -noxrecord -noxfixes -noxdamage -display :0 -usepw -forever | ||
| + | x11vnc -noxrecord -noxfixes -noxdamage -usepw -forever -viewonly -no6 -noipv6 -notruecolor -nolookup -nodragging -nevershared | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | -viewonly | ||
| + | -tightfilexfer | ||
| + | -ultrafilexfer | ||
| + | -nopw | ||
| + | -unixpw | ||
| + | ~~~ | ||
| + | |||
| + | Le fichier si existe sera automatiquement exécuté : \ | ||
| + | `$HOME/ | ||
| + | |||
| + | `~/ | ||
| + | ~~~ini | ||
| + | [Desktop Entry] | ||
| + | Type=Application | ||
| + | Name=x11vnc | ||
| + | Exec=x11vnc -noxrecord -noxfixes -noxdamage -usepw -forever -viewonly -no6 -noipv6 -notruecolor -nolookup -nodragging -nevershared -tightfilexfer -listen localhost | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Sécurité | ||
| + | |||
| + | Vous pouvez ajouté l' | ||
| + | |||
| + | |||
| + | ### Pb pas de pavé numérique | ||
| + | |||
| + | Solution : supprimer l' | ||
| + | |||
