X11VNC: Difference between revisions
Jump to navigation
Jump to search
Line 43: | Line 43: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://just.graphica.com.au/tips/ubuntu-and-remote-gnome-desktop/ X11vnc » Ubuntu and Remote Gnome Desktop] | |||
* [https://support.starlabs.systems/kb/guides/change-display-manager X11vnc » LightDM » Change Display Manager] | * [https://support.starlabs.systems/kb/guides/change-display-manager X11vnc » LightDM » Change Display Manager] | ||
* [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-22-04 Install and Configure VNC on Ubuntu 22.04] | * [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-22-04 Install and Configure VNC on Ubuntu 22.04] |
Revision as of 10:16, 1 December 2023
sudo apt update
sudo apt install lightdm
sudo init 6
sudo apt install x11vnc
sudo mkdir -p /etc/x11vnc/x11pass
sudo x11vnc -storepasswd /etc/x11vnc/x11pass/${USER}
sudo cat /etc/x11vnc/x11pass/${USER}
sudo tee /lib/systemd/system/x11vnc.service >/dev/null <<'EOF'
[Unit]
Description=x11vnc service
After=display-manager.service network.target syslog.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -forever -display :0 -auth guess -passwd my-password
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now x11vnc.service
sudo journalctl -xeu x11vnc.service
Playground
cat /etc/X11/default-display-manager sudo dpkg-reconfigure lightdm sudo dpkg-reconfigure gdm3 ls -lah /etc/lightdm/ ls -lah /etc/gdm3/
References
| ||