x11vnc server installation on Ubuntu 16.04 Xenial Xerus

Here is a short step by step guide for installing x11vnc server on Ubuntu 16.04 Xenial Xerus. I prefer this to Vino that comes pre-installed because Vino doesn’t play well with Windows. If you are back and forth between Linux and Windows x11vnc server works really well.

Disclaimer:
I’m a Linux n00b. I’m enjoying playing with Linux but my background is in Windows. I’m putting this up for my own benefit so I can find it later and hopefully it may benefit someone else. If there are any corrections or suggestions to make this instruction more complete, please send me some feedback in the comments section. I’ve included the links to the places from where I’ve gathered this information.

Links:
https://help.ubuntu.com/community/VNC/Servers
http://manpages.ubuntu.com/manpages/trusty/man1/x11vnc.1.html

First, install x11vnc.

Then create a password for the user to login with.

To run from the terminal you would run the following:

All of the options are listed on the man page: - http://manpages.ubuntu.com/manpages/trusty/man1/x11vnc.1.html

I’d like it to start automatically though. To do this in Ubuntu 16.04 you would do the following:

Then copy and paste the following, making sure to change the USERNAME in file path for the rfbauth parameter.

Then start the service.

Now you should be able to login via VNC from you’re favourite VNC client. On that note, I’ve found that mobaXterm is a great VNC/SSH remoting tool for joining from Windows clients to Linux clients.

Hope this helps!

Installing NixNote2 Beta 7 on Ubuntu 16.04 Xenial Xerus

After a little trial and error here is a brief instruction on how to install Nixnote2 Beta 7 on Ubuntu 16.04 Xenial Xerus. NixNote is not in software repositories for Ubuntu. You can however download it from the Sourceforge page. This is a workaround until a patch is released. There is a bug filed for this already.

I tried installing Nixnote 2 beta 7 on Ubuntu 16.04 using the Deb package and that didn’t seem to work. I also tried to download the tar.gz file and run the install via the install.sh script and that didn’t work either.But, by luck, I found that doing both actually seems to work.

Go to https://sourceforge.net/projects/nevernote/files/NixNote2%20-%20Beta%207/ and download both the tar.gz and the deb file for the relevant architecture you’re trying to install.

Download them to your downloads folder. Change directories to the download folder.

Run the following first, which will install the dependencies.

This will error.

Then run the following in the terminal:

The -f fixes the broken dependencies. This is what it says on the man page for apt-get about the -f switch.

At this stage, nixnote2 still doesn’t run. This is where the tar.gz file comes in handy.

Extract the zipped file.

Change directory to nixnote2

Run the install script.

Press Alt + F2 and type nixnote2 and then press enter.

Then it should open.

Links:

https://sourceforge.net/projects/nevernote/files/NixNote2%20-%20Beta%207/
http://linux.die.net/man/8/apt-get
http://www.omgubuntu.co.uk/2016/04/ubuntu-16-04-deb-software-install-error
http://tutorialforlinux.com/2016/05/16/how-to-install-nixnote-2-on-ubuntu-16-04-xenial-32-64bit-linuxgnu/
https://sourceforge.net/p/nevernote/bugs/251/