You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 16.04中GNS3已安装却找不到启动入口,重装提示已更新该怎么办?

Troubleshooting GNS3 Not Showing Up in Ubuntu 16.04 App Menu

Hey there, let's work through this issue step by step—I've dealt with similar desktop app shortcut problems on Ubuntu before, so here's what you can try:

Step 1: Verify if GNS3 actually runs via terminal

First, let's confirm the installation is functional beyond just the package manager saying it's installed. Open a terminal and run:

gns3
  • If GNS3 launches successfully, the problem is only with the app menu/desktop shortcut—skip to Step 2.
  • If you get errors like "command not found" or missing dependencies, move to Step 3 to fix the installation itself.

Step 2: Restore or create the missing app menu shortcut

If GNS3 runs from the terminal but doesn't appear in your app list, we need to fix the .desktop entry file:

  1. Check if the shortcut file exists:
    Run this command to look for it in common locations:

    ls /usr/share/applications/gns3.desktop ~/.local/share/applications/gns3.desktop
    
    • If the file exists, it might be untrusted or have incorrect permissions. Fix that with:
      sudo chmod +x /usr/share/applications/gns3.desktop
      
      Then refresh the app list and log out/in to apply changes:
      update-desktop-database /usr/share/applications/
      
  2. If the .desktop file doesn't exist, create it manually:
    Open a text editor with sudo privileges:

    sudo nano /usr/share/applications/gns3.desktop
    

    Paste this content into the file:

    [Desktop Entry]
    Name=GNS3
    Comment=Graphical Network Simulator 3
    Exec=gns3
    Icon=/usr/share/pixmaps/gns3.png
    Terminal=false
    Type=Application
    Categories=Network;Education;Development;
    

    Save the file (press Ctrl+O, hit Enter, then Ctrl+X), then make it executable:

    sudo chmod +x /usr/share/applications/gns3.desktop
    

    Finally, refresh the app list:

    update-desktop-database /usr/share/applications/
    

    Check your app menu again—GNS3 should now appear.

Step 3: Fix broken installation if GNS3 won't launch from terminal

If running gns3 throws errors, let's do a clean reinstall:

  1. Fully remove the existing GNS3 installation and residual files:

    sudo apt remove --purge gns3 gns3-server gns3-gui
    sudo apt autoremove
    sudo apt clean
    
  2. Reinstall using the official GNS3 repository (critical for Ubuntu 16.04 compatibility):
    First add the PPA:

    sudo add-apt-repository ppa:gns3/ppa
    sudo apt update
    

    Then install the full GNS3 suite:

    sudo apt install gns3-gui gns3-server
    

    During installation, you'll be asked to allow non-root users to use tools like Wireshark or ubridge—make sure to select "Yes" for these prompts to avoid permission issues later.

  3. After reinstalling, launch GNS3 via terminal again with gns3. If it runs, the app menu shortcut should now work too.


内容的提问来源于stack exchange,提问作者user2904033

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 07:32:05