Restarting Vino-Server from CLI
As is often the case, I am posting this here just as much for myself as I am for others Googling this problem… Sometimes Vino-Server on Ubuntu can be flaky, preventing me from logging in, even though it is showing as running. I recently stumbled onto a helpful thread at UbuntuForums that assisted me… Using the following, you should be able to get Vino back to behaving…
you@machine-name:
$ export DISPLAY=:0.0 you@machine-name:$ /usr/lib/vino/vino-server &
I find this particularly useful when I am able to SSH in, but can’t VNC… Hope this helps someone! -Matt