User Tools

Site Tools


run_remotely

Multiple Computers and You Don't Want to Sync? Run Zim Remotely

Suppose you have a main Linux desktop computer on your desk in your office/lab, and you have a laptop you carry around with you and/or a desktop at home. If you don't want to sync, you can just work from one central file storage location.

First, make sure you have openssh-server and zim installed on the remote host. To avoid password prompts, create a an SSH key pair on the local host (from inside a terminal window):

ssh-keygen

Use the defaults and leave the 'passphrase' field empty. (Or learn how to use an ssh key agent.)

Install it on the remote host:

ssh-copy-id USER@REMOTE

Zim runs remotely, files stored remotely

Create a launcher on the local host with this command line:

ssh -XC USER@REMOTE zim --no-daemon


… or

Zim runs locally and accesses remote files

Install sshfs. Use your local desktop's file manager to mount ssh://USER@REMOTE/home/USER. Or mount the remote folder from a terminal:

mkdir -p ~/mnt/REMOTE
sshfs USER@REMOTE:/home/USER ~/mnt/REMOTE

Browse into the mounted path, find your Notebook's folder, and double-click the .zim file.

run_remotely.txt · Last modified: 2010/04/15 00:55 by brendan_kidwell