Skip to content

Summary

Online License Activation with CodeMeter (Ubuntu)

User Guide: Online License Activation with CodeMeter (Ubuntu)

1. Introduction

This guide explains how to activate your software license online using CodeMeter on Ubuntu. These steps have been tested on Ubuntu systems without a graphical interface (headless mode).

Audience:
This guide is intended for users installing and activating software licenses on Linux systems and accessing GUI applications from a Mac via XQuartz (if Ubuntu Server has no GUI).

Prerequisites:

  • Access to the internet
  • Administrative privileges on Ubuntu Server
  • Mac terminal with XQuartz installed (only required if Ubuntu Server has no GUI)
  • Software license

2. Install Chromium on Ubuntu Server (Optional)

Note: This step is only required if your Ubuntu Server does not have a browser. If your server already has browser access, you can skip this step.

On Ubuntu

Install chromium

sudo apt install -y chromium-browser
sudo snap install chromium
export XAUTHORITY=$HOME/.Xauthority

On Client (MacOS)

Install XQuartz and confirm that connection permission.

  1. Enable connections from terminal

    1. In XQuartz menu → Settings... → Security
    2. Check “Allow connections from network clients”

      Allow connections

    3. Close Settings

  2. Set DISPLAY

    export DISPLAY=:0
    echo $DISPLAY
    

  3. Enable local X connection

    /opt/X11/bin/xhost + 127.0.0.1
    

    This should succeed without errors. It tells XQuartz to allow connections from local clients (your SSH X11 sessions).

  4. SSH to Ubuntu server with trusted X11 forwarding

    ssh -Y -C user@remote.server
    
    -Y = trusted X11 forwarding
    -C = optional compression

On Ubuntu

  1. Launch chromium.

    1. Check display

      echo $DISPLAY
      

      You should see something like localhost:10.0

    2. Test XQuartz

      xclock
      

      You should see a small clock appears which means the XQuartz + DISPLAY is working. If not, XQuartz isn’t running, or you need to quit and restart XQuartz.

      XClock

    3. Launch browser

      chromium &
      

      You should see chrome browser on the client.

      Chrome

3. Activate license

  1. Open a browser on your target machine where the SDK is installed.
  2. Paste the given license URI

    https://lc.codemeter.com/98255/depot/overview.php?id=<LICENSE>
    
  3. Click on Manual tab for license registration guideline

  4. Once the registeration has done. The license status is changed to 'Activated' License Activated