Candela Technologies Logo
Network Testing and Emulation Solutions

Automatically Start LANforge GUI

Goal: Configure LANforge to automatically start LANforge GUI on boot or login.

Follow these steps to Configure LANforge to automatically start LANforge GUI on boot or login. Requires version 5.4.1
 
  1. Quick Start
    1. Open a terminal or connect to your lanforge machine via ssh:
    2. $ cd /home/lanforge/LANforgeGUI_5.4.1
      $ cp LANforge-auto.desktop ~lanforge/.config/autostart
      $ sudo systemctl restart vncserver@:1.service
    3. If you were connected via VNC, your session will close. When you reconnect via VNC, you will see a LANforge GUI running on the desktop. This will now start again every reboot.
  2. Using desktop file manager

    1. Locate your LANforge GUI Folder by right clicking on your LANforge GUI icon screenshot
      1. Right-click your LANforge GUI icon
      2. Select Properties
    2. Your LANforge GUI directory is in the Command textbox: screenshot
    3. Using the HOME desktop icon, navigate to the LANforge GUI directory screenshot
    4. Highlight the LANforge-auto.desktop file, it might appear as LANforge client screenshot
    5. We need to show hidden directories to place this file. screenshot
      1. Using the HOME desktop icon, open your home directory and open the Edit->Prefreneces menu
      2. Select Show Hidden Files
    6. Find your .config directory screenshot
    7. Navigate to /home/lanforge/.config/autostart screenshot
    8. Copy and paste file into the autostart directory. screenshot
    9. In a terminal, issue the command: sudo systemctl restart vncserver@:1.service screenshot
    10. If you were connected via VNC, your session will close. When you reconnect via VNC, you will see a LANforge GUI running on the desktop. This will now start again every reboot.

Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1.360.380.1618
Facebook | LinkedIn | Blog