Try restarting the machine and see from the windows machine. Most of the times you won’t see printer there. If you restart SAMBA manually you will see it again. This happens because CUPS service is not started when samba is started while booting.

Fix for the problem “Printer not showing up until I restart SAMBA”

Give the following command.

sudo gedit /etc/init/smbd.conf &

In the smbd.conf file just after pre-start script add the following line

sleep 10

Editing smbd.conf File

Now restart and see.

File Synchronization with Unison

To regularly backup the files I’m using Unison. Actually what I hope is getting the files synced from a source to a destination location in a particular time daily.

Get the GUI version installed easily using Ubuntu Software Center.

Open Unison and in the default profile give the source location as Root 1 and destination location as Root 2.

Unison default profile

To automate Unison Backup we’ll create a scheduled task. Open the scheduled tasks app and create a new task. In the command give it like this.

unison –batch default

Editing a Scheduled Task

Here “default” is the name of the profile you created in Unison.

As I want to do the run the file sync at 10AM every day I have set fields in the advanced section as shown in the image.

Setting up Remote Access

You may need to remotely log into this server using a windows machine. For that you can install xrdp.