Skip to content
Search

Vino

lastmod 2024-05-20created 2022-11-096 edits

Vino is the default VNC server in Ubuntu to share your existing desktop with other users.

Installation

sudo apt install vino

Setting up VNC (Screen Sharing) to connect to an Ubuntu server from a remote shell

See Virtual Network Computing#Ubuntu 20.x VNC.

Running the vino server from the command line

Modify the "Screen Sharing" item from Ubuntu's Settings (gnome-control-center) on the command line, then run it.

Check the current settings:

gsettings list-recursively org.gnome.Vino

It will vary by setup, but the output will look something like this:

org.gnome.Vino prompt-enabled true
org.gnome.Vino require-encryption true
org.gnome.Vino use-alternative-port false
org.gnome.Vino disable-background false
org.gnome.Vino disable-xdamage false
org.gnome.Vino alternative-port uint16 5900
org.gnome.Vino icon-visibility 'client'
org.gnome.Vino authentication-methods ['none']
org.gnome.Vino network-interface ''
org.gnome.Vino notify-on-connect true
org.gnome.Vino mailto ''
org.gnome.Vino lock-screen-on-disconnect false
org.gnome.Vino use-upnp false
org.gnome.Vino vnc-password 'keyring'
org.gnome.Vino view-only false

Connect without a password:

gsettings set org.gnome.Vino enabled true
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false

You can also run a command that allows people outside the local network to access it using UPnP (if your router supports it):

gsettings set org.gnome.Vino use-upnp false

Set a password:

echo -n 'your-password' | base64
gsettings set org.gnome.Vino vnc-password '<base64-encoded-password>'

Check the status of port 5900 for VNC connections.

Then run the server:

/usr/lib/vino/vino-server

To quit, press Ctrl+C

See also

Favorite site

author Zer0 sitemap