[Termius] Termius launches and immediately crashes citing a segmentation fault. Running on Debian with Wayland

T
t7ash
4 months ago In Termius
Termius launches and immediately crashes citing a segmentation fault. Running on Debian with Wayland

Comments

user
avatar
48 Points 5 Followers
Henry Adams

Henry breaks software for a living to ensure quality. He’s a big puzzle fanatic...

View Profile
4 months ago

Hi there! I understand that Termius is crashing immediately with a segmentation fault on your Debian system running Wayland. Let's try to get to the bottom of this.

Segmentation faults typically relate to memory access violations, often triggered by compatibility issues with the display server—in your case, Wayland. This is a common scenario with some apps originally designed for X11 (the older Linux graphical system).

To start, let's try these steps:

1. Run Termius under XWayland:
Since Wayland sometimes causes compatibility issues, you can try running Termius with XWayland emulation, which allows X11 apps to run on Wayland. You can do this by launching Termius from the terminal with this command:
bash<br> GDK_BACKEND=x11 termius<br>
or
bash<br> QT_QPA_PLATFORM=xcb termius<br>
depending on how the app is built (GTK or Qt). This tells the app to use the X11 backend instead of Wayland.

2. Check for missing dependencies or libraries:
Sometimes segmentation faults occur because libraries Termius depends on are missing or mismatched. You can run:
bash<br> ldd $(which termius) <br>
to check for any missing shared libraries and address those if found.

3. Update Termius and your system:
Ensure both your Debian system and Termius app are fully updated. Sometimes bugs that cause crashes are fixed in newer versions.

4. Try launching with debug info:
If the problem persists, launch Termius from terminal and collect the full error details. Running:
bash<br> termius --no-sandbox <br>
can sometimes avoid crashes related to sandboxing policies which affect Wayland.

If the above doesn’t resolve the segmentation fault, consider temporarily switching to an Xorg session (instead of Wayland) for Termius use, as some users of other apps report segmentation faults under Wayland that go away when using X11 sessions1.

Could you please try the first step of running with the X11 backend and see if Termius stays up? If you get any output or logs in the terminal when it crashes, that would be very helpful too.

Are you comfortable trying these? I’m here to guide you through any step!

Leave a comment