Vnc
Ubuntu-to-Ubuntu
tightvnc
Solid but more work.
Installation
- Server install:
apt install tightvncserver vncserver # enter pwd # optionally enter pwd for read-only sharing # note the result, eg: New 'X' desktop is melange:2 # in this case, vnc desktop is running on desktop 2, because 1 was already running 'regular' X
- Update the server config:
cd ~/.vnc cp xstartup xstartup.orig emacs -nw xstartup # and replace with: #!/bin/bash xrdb $HOME/.Xresources /usr/bin/i3 & vncserver -localhost # only allow connections from localhost; we will use ssh tunnel
vino & remina
Using the "Ubuntu way", everything is supposed to be brought together under [mh-ubuntu-settings] Ubuntu Settings > Sharing. (but it's crap, read on...)
The packages it needs underneath are:
sudo apt-get install vino # VNC server; RESTART GNOME after installation sudo apt-get install remina # VNC client
Ubuntu screwed the pooch on vino-server config, wtf you idiots. It's just some fucking app with no systemd support. Well fuck if I'm jumping hoops when the next LTS release is weeks away. Fuck you ubuntu. Just run the god damned thing directly
# allow local connections gsettings set org.gnome.Vino network-interface lo # see all settings gsettings list-keys org.gnome.Vino # run the fucker /usr/lib/vino/vino-server &
Consider other VNC servers instead that allow startup on boot?