How to Fix LocalWP Failing to Launch on Fedora and Wayland-Based Linux
LocalWP, a popular local WordPress development tool, fails to open on Fedora 44 and other modern Wayland-based Linux distributions due to three known causes: corrupted JSON cache files, Electron's incompatibility with the Wayland display server, and GPU acceleration issues. When launched, the app's Node.js backend initializes successfully but no graphical window appears, sometimes accompanied by a JSON syntax error. The fix involves deleting malformed configuration and cache files from the ~/.config/Local/ directory and launching the app with specific Electron flags such as --disable-gpu and --ozone-platform=wayland. Users can make the fix permanent by editing the app's desktop launcher file to include these flags, eliminating the need to run terminal commands on every launch. An additional port-binding fix using setcap is available for those encountering Router Mode errors when running sites on standard HTTP ports.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in