ubuntu - tips & tricks

Install Tasktop Sync on ubuntu server 14.04

In this post I will explore how to install Tasktop Sync on a Linux headless server environment.  One of the restrictions to this, is that in order to configure Tasktop Sync, although not entirely necessary , we will need to have access to the Tasktop Sync studio which is a graphical user interface used to configure sync.

When I say this is not entirely necessary, the alternative workflow to this, which is similar to a typical development work-flow.  We could install Tasktop Sync studio on a development machine, carry out our configuration tasks then just deploy the Synchroniser.xml to the Headless server.   In the future I may post detailed instructions on how to do this.

Virtual lab setup

I have a server configured with Proxmox Virtual Environment  to create virtual servers to have to experiment and research with.  So I quickly spun up a headless ubuntu 14.04 server instance, and attached it to the network.  I also configured the server for SSH access, so I could run commands against it directly.

Open a terminal window on my ubuntu desktop ( (Ctrl + Alt + t ) and SSH to the box

VNC Server installation

With the lines above we have installed

gnome-core

GNOME is the GNU Network Object Model Environment. This project is building a complete, user-friendly desktop based entirely on free software. This desktop consists of small utilities and larger applications that share a consistent look and feel. It uses the GTK as the GUI tool-kit for all GNOME-compliant applications.

xfce4

Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.

Firefox

Mozilla Firefox is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox is available for Windows, OS X and Linux operating systems, with its mobile versions available for Android, and Firefox O

We just want to ensure no other versions of VNC have been installed on the box, in order to avoid any conflicts etc. going forward. We’ll use the Debian Package management system and grep to search for any packages with VNC.

Add VNC User

We’ll need to add a user to be able to access the server via machine.  Still using the SSH access we’ll just adduser

In order to complete the creation of a user, you’ll need to provide some further information about that user.  Complete this as much as you deem necessary , following the prompts.

We will now need to make a back up of the original configuration file because we are now going to edit it.  I will be using nano text editor that come pre-packaged with Ubuntu, but you can substitute that for any text editor of your choice.  To back up and edit your file simply:

Once the file is open edit the BaSH file as follows:

We now need to ensure that any currently executing VNC processes are not running.

The reason for this is, that we are now going to create a the start-up script for VNC server.

Save the file and now we will need to make it executable and change permissions

The next step is to edit the configuration file for the VNC Server

Edit the entries for your user

The default ports VNC will be available on is 5901 and the resolution will be set 1024X768

We will now need to  add these changes to the Boot Start of the server

Your terminal should respond with

We will now need to reboot the server for the changes to take effect

Access server via VNC

You should now be able to access the server from any VNC client, using any number of available  VNC clients.  If you are on a ubuntu Desktop you can use Remmina or you can download the xfreerdp . If you’re on a Mac then you can access the VNC connector straight from Safari

I won’t go into the specifics of connecting your server in each VNC client, but it’s import to note you will need to include the Port number 5901 in your connection, and connect via your username and password. As an example your connection string would look similar too:

Install Tasktop Sync

Now that we’ve got VNC working on our server, we can start the relatively simpler process of installing Tasktop sync ,

This will require you to download the latest Linux deployment binary files.   To obtain the download files all you need to do is email the Tasktop support email address and one of the friendly folks will forward you a link the latest file download.  You may download the file to any folder or directory of your choice.

You can then open the terminal window on your server ((Ctrl + Alt + Enter ) and navigate to the relevant directory you have downloaded the file to.

You may want to enter into root mode

Change permissions on the bin file to

The just execute the bin

This will then launch the regular installation process which you can then follow the Tasktop Sync user guide

 

 

 

 

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Latest posts by Gary Woodfine (see all)

π