PayPal Donate

Multiclicker, remote Linux box and you

September 6th, 2010 by spyware4me

Since GUI is integral part of Multiclicker(2), it may appear to not-so-skilled Linux user that it’s impossible to use MC on a Linux server or VPS.

The opposite is true, I’ve successfully run MC2 on my Linux VPS (Debian) without any problems and with minimal effort.

Basically, there are two ways of achieving this.

Prerequisites

  • openjdk-6-jre package or compatible JRE installed on the remote box.
  • Debian box for this tutorial, other distros may use different package managers or different package names.
  • root access.
  • SSH client installed on your local system (PuTTY on Windows).
  • Minimal knowledge of terminal and SSH use.

VNC

If you are running Windows on your local machine and don’t like the idea of running another desktop manager or if you just prefer persistent sessions and don’t need encryption, VNC is the way to go.

  1. SSH to your Linux box.
  2. The Linux box must have desktop environment installed (KDE, GNOME, Xfce, …). For xfce: $ apt-get install xfce4
  3. $ apt-get install tightvncserver
  4. $ vncserver :1 -geometry 1024×768 -depth 16  (this will start vncserver at display #1 and resolution 1024×768@16bpp)
  5. Install VNC client (viewer) on your local machine. I went with TightVNC Viewer.
  6. Run the VNC client, insert either DNS or IP address or your box followed by colon and number of display (mylinuxbox.com:1) and press OK.
  7. Open a terminal emulator in your VNC session and navigate to the MC directory.
  8. $ java -jar Multiclicker2.jar OR $ java -jar Multiclicker.jar

X11 forwarding

When secure connection is a mandatory or you like complete desktop, choose this method.

  1. Windows users.
    1. Install X Server for Windows. Xming X Server is free. Run it.
    2. Run PuTTY and do everything you are used to in order to connect to your server but do not open the connection yet.
    3. Under Category: Connection->SSH->X11 tick Enable X11 forwarding.
    4. Click Open.

    Others.

    1. $ ssh -X -l <username> <box address>
    2. Enter your password.
  2. Navigate to the MC directory.
  3. $ java -jar Multiclicker2.jar OR $ java -jar Multiclicker.jar

Valid xHTMLValid CSS
RSS